commented out, for now) the dependency of the W/T, P/R merge of easy_unequip (I'd completely mixed up the options.) If we decide we keep this behaviour and don't add a replacement option, the commented out "You're already wearing that." messages can be removed.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3619 c06c8d41-db1a-0410-9941-cceddc491573
72GIZBEMQLEF3TITOHABWHRLL5TE7KOUSVWOUEHFMO2OZQ4EIB7AC 32RFWHFR63CXAG4TXTANBTV35GC4EZHZDCR6LKWT5NBUTVSARH7QC THEWZBBFONK266AMYIIFQ4SFGZMTMU62ZO2Y43UMCDD6DDBSDYKAC E3X5HVN5UN75OMTJA6JFQBNZ54P37NDZLZZF7EFBZZC45KR73YGAC 6GSGCC5JQJ5NOKX36UHRNOCXNHDBS2A2TDMAR34UBOGWE2DORXIQC K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC 3QLM46S44Z7GDLWPH3VHBMW2RSWZAOLGJMG2BDKNGUOZIM4IX6WAC J6APXOT4QOGQFONWB7G546VTVF6QG42HVOROMHF7YBDJPR4K26OAC YM3U5YZEFIYLRJVDWQCSP75JL56WC36XLQSL5ZBT4IWSXYJRBCBAC G5WLU3B4MR3ZDJLGR6OHNIMLZXGQS2EWBJ5YYY5J2GWM6DTD44BAC EEZCC5GUYHETFQV4KSZJSJ6BTTWZHKS7RXQ25XQ6ODGKLDD4XFRAC RPOZZWKG5GLPHVZZ7ZKMKS64ZMV2LDCQSARBJFJ6FZOTOKCQO7FAC 64RZSOR4B4T5QO3FAERBTH2QJIQFSCIFHI4WYK3MDAEAZVAHRLVQC BMHUBADDGIOZRVN4P3O5QKIDUYD4RFWBS7MP5X6LZWAYHUBRVD2QC 2VDLCWQOJPOXPJQ7XYGOWZG5P2AE44DGFHC76WI4GBOOK4B7FQTQC AIIVH43Z5X3GTPFY4FXQRZPG6Y7QPH2KJ47VM2Q43PCGGD5MTMOAC G7CTMQ3VNTAB73ZI3LNZHKTAJ5LEQEGG772MVFQQ5XXLCMJVORTQC 3RR5RASA63JOMIHQONIMP55RFG4AJW4GWFAUWN65OECAFTCQY3PQC msg = try_exact_string(prefixes, key, true, true);else if (religion)
{if (religion) // skip hostile and religionmsg = try_exact_string(prefixes, key, true, false, true);else // skip hostile and relatedmsg = try_exact_string(prefixes, key, true, true);}else if (religion) // skip hostile, related and religion
# command keys, monster colours, item colours, butchering interface,# targeting interface.# (New players should go ignore these lines.)
# monster colours, command keys, order on the character selection screen,# item colours, butchering interface, targeting interface.# (New players should just ignore these lines.)
are.
are. Stupid monsters, i.e. animals, will judge your relatedness statusaccording to your transformed looks while smart monsters will seethrough that magic, so that e.g. vampires will recognise a vampire inbat form as one of their own but a giant bat would think the playerreally is a bat.
added to the list. If you worship one of the good gods (Zin, Elyvilon,or The Shining One) the prefix "good god" is used instead.Conversely, worshippers of one of the evil gods (Yredelemnul, Makhleb,Kikubaaqudgha, Lugonu, Xom, Beogh, or Vehumet) will use the prefix"evil god".
added to the list, though not for charmed orcs who will simply use thegeneric friendly statements instead of the orcish followers' cheers.If you worship one of the good gods instead (Zin, The Shining One, orElyvilon) the prefix "good god" is used. Conversely, worshippers of oneof the evil gods (Yredelemnul, Makhleb, Kikubaaqudgha, Lugonu, Xom,Beogh, or Vehumet) will use the prefix "evil god".
database, so first we try to remove the less important prefixes,something that in this case only applies to "beogh". Unfortunately,"friendly fleeing orc wizard" also has no corresponding entry in thedatabase, so that, one after another, we now check for "defaultfriendly fleeing beogh orc wizard", "default friendly fleeing orcwizard", "default friendly beogh orc wizard", "default fleeing beoghorc wizard", "default friendly orc wizard", "default fleeing orcwizard", "default beogh orc wizard" and "default orc wizard", none ofwhich is successful.The genus of orc wizards is "orc", so we retry the above using "orc"instead of "orc wizard". The same is repeated for "friendly fleeingbeogh 'o'", and we still haven't found anything.
database, so first we try to remove the less important prefixes, inthis case "related" and "beogh". Unfortunately, none of "friendlyfleeing related orc wizard", "friendly fleeing beogh orc wizard", or"friendly fleeing orc wizard" has any corresponding entry in thedatabase, so that we now check for "default" in combination with, oneafter another, all combinations of three or less prefixes.Three prefixes: "default friendly fleeing related orc wizard","default friendly fleeing beogh orc wizard", "default friendlyrelated beogh orc wizard", "default fleeing related beogh orcwizard".Two prefixes: "default friendly fleeing orc wizard", "defaultfriendly related orc wizard", "default friendly beogh orc wizard","default fleeing related orc wizard", "default fleeing beogh orcwizard", "default related beogh orc wizard".One prefix: "default friendly orc wizard", "default fleeing orcwizard", "default related orc wizard", "default beogh orc wizard".No prefix: "default orc wizard".Sadly, none of these is successful. The genus of orc wizards is"orc", so we retry the above using "orc" instead of "orc wizard". Thesame is repeated for "friendly fleeing beogh 'o'", and we stillhaven't found anything.
the database for "friendly fleeing beogh humanoid", something that,not surprisingly (since Beogh and humanoid don't go well together)doesn't exist. Annoyingly enough, neither does "friendly fleeinghumanoid".
the database for "friendly fleeing related beogh humanoid", somethingthat, not surprisingly (since Beogh and humanoid don't go welltogether), doesn't exist. Annoyingly enough, neither do the variants"friendly fleeing related humanoid", "friendly fleeing beoghhumanoid" or even "friendly fleeing humanoid".
friendly fleeing beogh humanoid" is still unsuccessful, but with"default friendly fleeing humanoid" we finally strike gold:
friendly fleeing related humanoid" is still unsuccessful, asare "default friendly fleeing beogh humanoid", "default friendlyrelated beogh humanoid", and "default fleeing related beoghhumanoid", but with "default friendly fleeing humanoid" we finallystrike gold:
Also, in insult.txt you'll find the hardcoded variables@species_insult_adj1@, @species_insult_adj2@ and @species_insult_noun@.These are sometimes used in the construction of imps' or demons'generic insults, and allow for species-dependent handling. If theparser encounters such a variable, it will search the database for thecorresponding specific entry, i.e. "insult <genus> adj1/adj2/noun"where <genus> is replaced with the actual genus name, that is"draconian", "elf" or "dwarf" instead of the more specific speciesname, "ogre" for "ogre-mage", or the actual species name in all othercases.If this specific search doesn't yield any results, that is, such anentry hasn't been defined for the species in question, the generalreplacements are used instead.
For shouts the default is also MSGCH_TALK which is automaticallychanged to MSGCH_TALK_VISUAL for monsters that can't speak (animals,usually), and manually set to MSGCH_SOUND for all those variants of"You hear a shout!"
For shouts the default channel is also MSGCH_TALK, which isautomatically changed to MSGCH_TALK_VISUAL for monsters that can'tspeak (animals, usually), and manually set to MSGCH_SOUND for all thosevariants of "You hear a shout!"