| 1 |
/* |
| 2 |
=========================================================================== |
| 3 |
Copyright (C) 2006 Dmn_clown (aka: Bob Isaac ([email protected])) |
| 4 |
|
| 5 |
This file is part of Open Arena and is based upon Mr. Elusive's fuzzy logic |
| 6 |
system found in Quake 3 Arena. |
| 7 |
|
| 8 |
Open Arena is free software; you can redistribute it |
| 9 |
and/or modify it under the terms of the GNU General Public License as |
| 10 |
published by the Free Software Foundation; either version 2 of the License, |
| 11 |
or (at your option) any later version. |
| 12 |
|
| 13 |
Open Arena is distributed in the hope that it will be |
| 14 |
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 16 |
GNU General Public License for more details. |
| 17 |
|
| 18 |
You should have received a copy of the GNU General Public License |
| 19 |
along with Foobar; if not, write to the Free Software |
| 20 |
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 21 |
=========================================================================== |
| 22 |
*/ |
| 23 |
|
| 24 |
#include "syn.h" |
| 25 |
|
| 26 |
|
| 27 |
CONTEXT_NEARBYITEM |
| 28 |
{ |
| 29 |
|
| 30 |
[("red armor", 0), ("red armour", 0)] |
| 31 |
[("yellow armor", 0), ("yellow armour", 0)] |
| 32 |
[("Mega Health", 0), ("mh", 0)] |
| 33 |
|
| 34 |
[("Shotgun", 1), ("shot gun", 0.5), ("boom stick", 0.7), ("scatter gun", 0.3)] |
| 35 |
[("Machinegun", 1), ("machine gun", 0.5), ("pop gun", 0.3)] |
| 36 |
[("Grenade Launcher", 1), ("little bertha", 0.5)] |
| 37 |
[("Rocket Launcher", 1), ("big bertha", 0.5)] |
| 38 |
[("Lightning Gun", 1), ("buzz gun", 0.2)] |
| 39 |
[("Plasma Gun", 1), ("plasmatic 5000", 0.3), ("blue balls of doom", 0.2)] |
| 40 |
[("Railgun", 1), ("sniper rifle", 0.5), ("camping tool", 0.2)] |
| 41 |
[("BFG10K", 1), ("bfg", 0.1), ("crowd control", 0.4)] |
| 42 |
[("Nailgun", 1), ("house framer", 0.1), ("nail shooter", 0.5)] |
| 43 |
[("Prox Launcher", 1), ("mine spewer", 0.2), ("mine layer", 0.5)] |
| 44 |
[("Chaingun", 1), ("chain gun", 0.5), ("big pop gun", 0.4)] |
| 45 |
|
| 46 |
[("Quad Damage", 1), ("quad", 0.7)] |
| 47 |
[("Regeneration", 1), ("regen", 0.6)] |
| 48 |
[("Battle Suit", 1), ("b suit", 0.3)] |
| 49 |
[("Invisibility", 1), ("invis", 0.7)] |
| 50 |
[("Invulnerability", 1), ("invincibility", 0.5), ("globe of protection", 0.1)] |
| 51 |
[("Kamikaze", 1), ("globe of death", 0.5)] |
| 52 |
[("Neutral Obelisk", 1), ("center obelisk", 0.1), ("skull spawner", 0.5)] |
| 53 |
} |
| 54 |
|
| 55 |
|
| 56 |
CONTEXT_CTFREDTEAM |
| 57 |
{ |
| 58 |
[("Red Flag", 0), ("our base", 0), ("our flag", 0), ("red base", 0), ("base", 0)] |
| 59 |
[("Blue Flag", 0), ("enemy base", 0), ("blue base", 0), ("enemy flag", 0), ("their flag", 0), ("their base",0)] |
| 60 |
} |
| 61 |
|
| 62 |
CONTEXT_CTFBLUETEAM |
| 63 |
{ |
| 64 |
[("Red Flag", 0), ("enemy flag", 0), ("red base", 0), ("enemy base", 0), ("their flag", 0), ("their base",0)] |
| 65 |
[("Blue Flag", 0), ("our base", 0), ("our flag", 0), ("blue base", 0), ("base", 0)] |
| 66 |
} |
| 67 |
|
| 68 |
CONTEXT_OBELISKREDTEAM |
| 69 |
{ |
| 70 |
[("Red Obelisk", 0), ("our base", 0), ("red base", 0), ("base", 0), ("our obelisk", 0)] |
| 71 |
[("Blue Obelisk", 0), ("enemy base", 0), ("blue base", 0), ("enemy obelisk", 0), ("their base", 0), ("their obelisk", 0)] |
| 72 |
} |
| 73 |
|
| 74 |
CONTEXT_OBELISKBLUETEAM |
| 75 |
{ |
| 76 |
[("Red Obelisk", 0), ("red base", 0), ("enemy base", 0), ("enemy obelisk", 0), ("their base", 0), ("their obelisk", 0)] |
| 77 |
[("Blue Obelisk", 0), ("our base", 0), ("blue base", 0), ("base", 0), ("our obelisk", 0)] |
| 78 |
} |
| 79 |
|
| 80 |
|
| 81 |
CONTEXT_HARVESTERREDTEAM |
| 82 |
{ |
| 83 |
[("Red Obelisk", 0), ("our base", 0), ("red base", 0), ("base", 0), ("our obelisk", 0)] |
| 84 |
[("Blue Obelisk", 0), ("enemy base", 0), ("blue base", 0), ("enemy obelisk", 0), ("their obelisk", 0), ("their base", 0)] |
| 85 |
} |
| 86 |
|
| 87 |
CONTEXT_HARVESTERBLUETEAM |
| 88 |
{ |
| 89 |
[("Red Obelisk", 0), ("red base", 0), ("enemy base", 0), ("enemy obelisk", 0), ("their obelisk", 0), ("their base", 0)] |
| 90 |
[("Blue Obelisk", 0), ("our base", 0), ("blue base", 0), ("base", 0), ("our obelisk", 0)] |
| 91 |
} |
| 92 |
|
| 93 |
CONTEXT_NORMAL |
| 94 |
{ |
| 95 |
|
| 96 |
[("do not", 1), ("don't", 1)] |
| 97 |
[("does not", 1), ("doesn't", 1)] |
| 98 |
[("did not", 1), ("didn't", 1)] |
| 99 |
[("have not", 1), ("haven't", 1)] |
| 100 |
[("has not", 1), ("hasn't", 1)] |
| 101 |
[("had not", 1), ("hadn't", 1)] |
| 102 |
[("will not", 1), ("won't", 1)] |
| 103 |
[("would not", 1), ("wouldn't", 1)] |
| 104 |
[("should not", 1), ("shoudn't", 1)] |
| 105 |
[("can not", 1), ("can't", 1), ("cannot", 1)] |
| 106 |
[("could not", 1), ("couldn't", 1)] |
| 107 |
[("is not", 1), ("isn't", 1), ("ain't", 0.2)] |
| 108 |
[("must not", 1), ("mustn't", 1)] |
| 109 |
|
| 110 |
|
| 111 |
[("I am", 1), ("I'm", 1)] |
| 112 |
[("you are", 1), ("you're", 1)] |
| 113 |
[("you are not", 1), ("you aren't", 1), ("you're not", 1)] |
| 114 |
[("he is", 1), ("he's", 1)] |
| 115 |
[("she is", 1), ("she's", 1)] |
| 116 |
[("it is", 1), ("it's", 1)] |
| 117 |
[("they are", 1), ("they're", 1)] |
| 118 |
[("they are not", 1), ("they aren't", 1), ("they're not",1)] |
| 119 |
[("we are", 1), ("we're", 0.7)] |
| 120 |
[("we are not", 1), ("we aren't", 1), ("we're not", 1)] |
| 121 |
[("what is", 1), ("what's", 1)] |
| 122 |
[("that is", 1), ("that's", 1)] |
| 123 |
[("how is", 1), ("how's", 1)] |
| 124 |
[("why is", 1), ("why's", 1)] |
| 125 |
[("who is", 1), ("who's", 1)] |
| 126 |
[("here is", 1), ("here's", 1)] |
| 127 |
[("there is", 1), ("there's", 1)] |
| 128 |
[("where is", 1), ("where's", 1) ] |
| 129 |
|
| 130 |
[("I will", 1), ("I'll", 1)] |
| 131 |
[("you will", 1), ("you'll", 1)] |
| 132 |
[("he will", 1), ("he'll", 1)] |
| 133 |
[("she will", 1), ("she'll", 1)] |
| 134 |
[("it will", 1), ("it'll", 1)] |
| 135 |
[("they will", 1), ("they'll", 1)] |
| 136 |
[("we will", 1), ("we'll", 1)] |
| 137 |
[("how will", 1), ("how'll", 1)] |
| 138 |
[("that will", 1), ("that'll", 1)] |
| 139 |
|
| 140 |
[("I would", 1), ("I'd", 1)] |
| 141 |
[("you would", 1), ("you'd", 1)] |
| 142 |
[("he would", 1), ("he'd", 1)] |
| 143 |
[("she would", 1), ("she'd", 1)] |
| 144 |
[("it would", 1), ("it'd", 1)] |
| 145 |
[("they would", 1), ("they'd", 1)] |
| 146 |
[("we would", 1), ("we'd", 1)] |
| 147 |
|
| 148 |
[("I have", 1), ("I've", 1)] |
| 149 |
[("you have", 1), ("you've", 1)] |
| 150 |
[("they have", 1), ("they've", 1)] |
| 151 |
[("we have", 1), ("we've", 1)] |
| 152 |
|
| 153 |
|
| 154 |
[("being", 1), ("bein", 0)] |
| 155 |
[("going", 1), ("goin", 0)] |
| 156 |
[("having", 1), ("havin", 0)] |
| 157 |
[("doing", 1), ("doin", 0)] |
| 158 |
[("hanging", 1), ("hangin", 0)] |
| 159 |
[("living", 1), ("livin", 0)] |
| 160 |
[("chilling", 1), ("chillin", 0)] |
| 161 |
|
| 162 |
[("will", 1), ("shall", 1)] |
| 163 |
[("all right", 1), ("a'ight", 1)] |
| 164 |
[("cool", 1), ("neat", 1)] |
| 165 |
[("you", 1), ("U", 0.01), ("youse", 0), ("ye", 0)] |
| 166 |
[("your", 1), ("yer", 0)] |
| 167 |
[("out of", 1), ("outta", 0.07)] |
| 168 |
[("are", 1), ("R", 0.02)] |
| 169 |
[("why", 1), ("Y", 0.02)] |
| 170 |
[("people", 1), ("ppl", 0.05)] |
| 171 |
[("thanx", 0.5), ("thanks", 1), ("thnx", 0.6)] |
| 172 |
[("men", 1), ("boys", 0.3), ("guys", 0.2)] |
| 173 |
[("women", 1), ("girls", 0.1), ("gals", 0.2)] |
| 174 |
[("picture", 1), ("pic", 1)] |
| 175 |
[("pictures", 1), ("pics", 1), ("pix", 0)] |
| 176 |
[("see you", 1), ("cya", 0), ("c u", 0), ("l8r", 0)] |
| 177 |
[("father", 1), ("dad", 1), ("daddy", 0.6), ("pappy", 0.5), ("pa", 0.2)] |
| 178 |
[("mother", 1), ("mom", 1), ("mommy", 1), ("mama", 1), ("momma", 1)] |
| 179 |
[("brother", 1), ("bro", 0.2)] |
| 180 |
[("sister", 1), ("sis", 0.4)] |
| 181 |
[("butt", 1), ("ass", 1), ("heinie", 0.3), ("bum", 0.4), ("rear", 0.4), ("rear end", 0.5)] |
| 182 |
|
| 183 |
|
| 184 |
[("going to", 1), ("gonna", 0.5)] |
| 185 |
[("got to", 1), ("gotta", 0.5)] |
| 186 |
[("want to", 1), ("wanna", 0.5)] |
| 187 |
[("should have", 1), ("shoulda", 0.5)] |
| 188 |
|
| 189 |
[("waypoint", 1), ("way-point", 1)] |
| 190 |
[("checkpoint", 1), ("check-point", 1)] |
| 191 |
|
| 192 |
[("defense", 1), ("defence", 0)] |
| 193 |
[("offense", 1), ("offence", 0)] |
| 194 |
|
| 195 |
|
| 196 |
|
| 197 |
} |
| 198 |
|
| 199 |
CONTEXT_REPLY |
| 200 |
{ |
| 201 |
[("that I", 0), ("that you", 0)] |
| 202 |
[("that you", 0), ("that I", 0)] |
| 203 |
[("you", 0), ("I", 0)] |
| 204 |
[("my", 0), ("your", 0)] |
| 205 |
[("your", 0), ("my", 0)] |
| 206 |
[("you", 0), ("me", 0)] |
| 207 |
[("me", 0), ("you", 0)] |
| 208 |
[("mine", 0), ("yours", 0)] |
| 209 |
[("yours", 0), ("mine", 0)] |
| 210 |
[("am", 0), ("are", 0)] |
| 211 |
[("are", 0), ("am", 0)] |
| 212 |
[("yourself", 0), ("myself", 0)] |
| 213 |
[("myself", 0), ("yourself", 0)] |
| 214 |
} |
| 215 |
|
| 216 |
CONTEXT_NAMES |
| 217 |
{ |
| 218 |
[("Gargoyle", 1), ("batboy", 0.3), ("Mr. Sneak", 0.1), ("Radar", 0.4)] |
| 219 |
[("Grism", 1), ("psycho", 0.1), ("Mr. War", 0.3), ("Goat Boy", 0.5)] |
| 220 |
[("Kyonshi", 1), ("dead girl", 0.4), ("chi drinker", 0.5), ("rocket queen", 0.3)] |
| 221 |
[("Major", 1), ("Lara", 0.4), ("Rail Queen", 0.6), ("Sniper Queen", 0.6)] |
| 222 |
[("Merman", 1), ("fish breath", 0.1), ("Arial's brother", 0.4), ("Fish Eater", 0.5)] |
| 223 |
[("Sergei", 1), ("punk boi", 0.1), ("Johnny Rotten", 0.6), ("Elmo", 0.4)] |
| 224 |
[("Penguin", 1), ("FLOSS fr34k", 0.3), ("windows error", 0.1), ("nerd", 0.6)] |
| 225 |
[("Angelyss", 1), ("Sugar", 0.1), ("Clothing Malfunction", 0.5), ("Sucubus", 0.3)] |
| 226 |
[("Ayumi", 1), ("pr0n star", 0.1), ("skewl chick", 0.4), ("teeny bopper", 0.5)] |
| 227 |
[("Jenna", 1), ("street trash", 0.2), ("grease ball", 0.3), ("Biker Babe", 0.5)] |
| 228 |
[("Arachna", 1), ("Llooth", 0.5), ("spider princess", 0.1)] |
| 229 |
[("Tony", 1), ("Gangter", 0.5), ("Wussy", 0.3), ("Mamma's boi", 0.1)] |
| 230 |
[("Beret", 1), ("Commando", 0.5), ("Psychonaut", 0.5), ("War Machine Wannabe", 0.1)] |
| 231 |
[("Skelebot", 1), ("Skillet", 0.5), ("Arnold", 0.3), ("Termi", 0.1)] |
| 232 |
// [("Orb", 1), ("Psycod the Magnificant", 0.5), ("Slayer of the 19 cats of Doom", 0.5)] |
| 233 |
} |