summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/attitude-change.h
Commit message (Collapse)AuthorAgeFilesLines
* The great mon-stuff migration.Shmuale Mark2014-06-221-0/+2
| | | | | | | | | A good deal of functions move to the two new files, mon-poly and mon-message. Of the others, some go to where they are used, some to mon-util, and a few are made member methods of monster. This probably breaks Xcode compilation, and I'm not able to test the changes I made to MSVC that will (hopefully) keep it working.
* Fixes for Gozag bugs related to level generation.Steve Melenchuk2014-05-071-0/+1
| | | | | | | | * Properly unmark off-level shops (#8498). * Don't deduct bribes for vetoed levels (if, say, Elf:3 vetoed a lot you'd notice your bribe running out immediately on entering the level).
* Handling for attacking bribed creatures.Steve Melenchuk2014-05-071-0/+1
| | | | | | They become un-bribed, and other bribed creatures that can see them also become un-bribed; a permabribe increment for the creature is deducted against the branch bribe score for this action.
* Gozag: Don't let bribes take effect until the player spots the monster.Steve Melenchuk2014-05-071-0/+1
| | | | | Prevents abuses like clearing out the Orc:$ end entirely offscreen; also gives the opportunity for some nice dialogue.
* Don't turn holies neutral when worshipping a good godChris Campbell2014-04-281-2/+0
| | | | | | | | | | | | | | It's almost never relevant (with Mennas being possibly the only edge case), and has a number of negative effects: dungeon generation depending on the player's god in Pan, strange interactions with getting additional chances to convert on piety breakpoints, and generally a lot of code for a pretty questionable gain. Flavour-wise it seems perfectly reasonable that the holies in the dungeon just all see you as insufficiently pious, or some kind of a heretic (as is the case for non-holy religious monsters). Kept some of the holy speech for the case where an Elyvilon worshipper pacifies a holy.
* Make another bunch of functions static or deleted.Adam Borowski2012-03-211-1/+0
| | | | | Looks like get_XXX_path and the like in files.cc could use some drastic simplification, or perhaps even a nuking and rewrite.
* Axe the ring of Charms. Those damn witches hexed it!Adam Borowski2011-01-141-2/+0
| | | | | | | | | | | | After several attempts to balance it, it was always either overpowered or useless. No wonders, we have such diverse races as kobolds, orcs, merfolk, mummies and draconians -- it's hard to come up with a formula that matches monsters of that races well. There's a minor save breakage: brooch of Shielding, robe of Clouds and hat of Pondering have their descriptions shifted by one, the hat of Pondering causes rain clouds. We don't have any ifdefs for art-data.txt, the breakage is small enough I didn't bother with shims.
* Add blue-anna's ring of charms.Roberto2010-09-181-1/+2
|
* Rename class "monsters" to "monster".Robert Vollmert2010-09-051-7/+7
|
* Rename variables named "monster" to "mons" or similar.Robert Vollmert2010-09-051-4/+4
|
* Make a few random functions static.Adam Borowski2010-07-061-2/+0
|
* Reimplement all monster-related actions as delayed ones. Remove ↵Adam Borowski2010-06-261-8/+1
| | | | | | | | | apply_to_all_dungeons(). Functional changes: * Yred's penance won't insta-enslave mons you merely marked. * Xom-gifted pet perm daevas won't abandon you if you drop TSO. (I've actually had this happen to me in a real game!)
* Fix the last missing instances of the unclean/chaotic split.David Lawrence Ramsey2009-11-201-1/+1
|
* Properly split up unholy and evil items, reworking is_(unholy|evil)().David Lawrence Ramsey2009-11-101-1/+1
| | | | This is mainly for Fedhas, who hates the latter but not the former.
* Replace monsters::is_magic_user() withDavid Lawrence Ramsey2009-11-101-1/+1
| | | | | monsters::is_actual_spellcaster(), as it's simpler, and monsters with the "actual spells" flag should always have spells anyway.
* Rename FeawnCharles Otto2009-11-081-3/+3
| | | | | In most places Feawn is now referred to as "Fedhas," its long name (used in the religion screen) is "Fedhas Madash"
* Collect attitude changing code.Robert Vollmert2009-11-061-0/+26