summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-stuff.cc
Commit message (Collapse)AuthorAgeFilesLines
...
* Split itemprop enums out into itemprop-enum.h.Robert Vollmert2009-11-171-0/+1
| | | | Other headers now don't need to include all of itemprop.h.
* Flatten header dependencies a bit.Robert Vollmert2009-11-171-0/+2
| | | | | | This removes a couple of unnecessary includes from header files. I may have missed adding some tiles includes.
* Fix delayed monster explosionsMatthew Cline2009-11-171-0/+3
| | | | | If a monster "dies" from disintegration/nuke, but then is saved by divine intervention, it shouldn't still explode when it dies later.
* Bug #2898311: fix memory problem leading to crashMatthew Cline2009-11-171-19/+8
|
* Move tutorial state out of Options.Robert Vollmert2009-11-161-2/+2
|
* Make Pikel's slaves actually slaves (new monster).Jude Brown2009-11-161-4/+3
| | | | | Identical stats to a normal human, but start with an animal skin and a different description. They should probably spawn with a weapon too.
* Adjust slow and haste durationsCharles Otto2009-11-151-8/+9
| | | | | | | | Attempt to keep the number of slowed/hasted turns a player gets constant by doubling/halving the total amount of delay needed for the effects to wear off. Also adjust durations for berserk.
* mon-stuff.cc: hogs should keep their attitudeMatthew Cline2009-11-151-1/+2
| | | | | The hogs that come with Kirke should keep their original attitude when they turn human.
* Utilise monster->props["speech_key"] for Dowan and Duvessa.Jude Brown2009-11-151-0/+1
| | | | Their speech is now different when one of them dies.
* Duvessa and Dowan death effect changes (dpeg).Jude Brown2009-11-151-0/+3
| | | | | | As suggested by dpeg, they will now only climb the stairs as a pair, or if one of them is already dead. This is slightly scummable, but they still get a free turn against you.
* mon-stuff.cc: de-porkalator bug fixesMatthew Cline2009-11-151-2/+5
| | | | | | | * Define a new monster for hogs that came with Kirke turning to humans. * Keep reverted monsters at same location.
* Use monster::blink_to in monster_blink.Robert Vollmert2009-11-141-22/+1
|
* Remove #include <conio.h> from all over the place. Convert COLORS to an enum.Adam Borowski2009-11-141-9/+0
|
* Clean up Pikel band code, name them "slaves", then "freed slaves".Jude Brown2009-11-141-4/+5
| | | | | | | | | | As per kilobyte's suggestion on c-r-d, Pikel's humans are named "slave" until they are released from bondage on Pikel's death, in which case they're called "freed slave". Also clean up the Pikel band neutralisation code: instead of assuming that all human monsters that are band members are Pikel's band, store a value in monsters.props that signifies them as such.
* Change ballistomycete messagingCharles Otto2009-11-131-4/+4
| | | | | Drop the deactivation message, simplify and change the activation messaging.
* Allow monsters to gain experience in the arena.Robert Vollmert2009-11-131-4/+5
|
* Remove a few redundant arena visibility checks.Robert Vollmert2009-11-131-4/+3
|
* Replace observe_cell by you.see_cell.Robert Vollmert2009-11-131-3/+3
|
* Replace monster_index with monsters::mindex.Vsevolod Kozlov2009-11-131-18/+12
|
* mon-stuff.cc: Jiyva slimify-monster stuffMatthew Cline2009-11-131-1/+5
| | | | | | | * Don't slimify insubstantial monsters. * Remove shapeshifting-ness when slimifying a monster, so that it won't later shape-shift to a non-slime.
* Jiyva won't slimify god-gift monsters.Matthew Cline2009-11-131-3/+6
|
* Move most Royal Jelly code to dat/lair.desMatthew Cline2009-11-131-127/+7
|
* mon-stuff.cc: monster_die() Lua callbackMatthew Cline2009-11-131-0/+52
| | | | | A Lua function can be stored in the monsters::props CrawlHashTable, which will be called when the monster dies.
* Merge spore experiments branch.Charles Otto2009-11-131-0/+6
|
* porkulator: completely restore reverted monstersMatthew Cline2009-11-121-12/+31
|
* mon-stuff.cc: de-porkulator: bugfix, improvementsMatthew Cline2009-11-121-1/+10
| | | | | | | | | Fix bug where all monsters were being "reverted" to their original form, not just hogs. Shapeshifters don't revert from hog form when Kirke dies. Preserve a monster's enchantments when it reverts from hog form.
* Further elven twin death effect tweaks.Jude Brown2009-11-121-1/+5
| | | | | Fix a minor bug (always giving a distance message unless the twin is invisible), and add a waken event.
* Further tweaks to Dowan/Duvessa death effects.Jude Brown2009-11-121-18/+26
| | | | | | | | | | | | | | | | New MF_GOING_BERSERK flag: monsters with this flag will go berserk the next turn after they see you. Remove sight limitations from Dowan/Duvessa death effects. Flavour messages will now always occur, as will Dowan's fear effect, even if you cannot see him. Duvessa's berserk effect is only triggered if you are in her line of sight upon Dowan's death. If you are not, she's given the MF_GOING_BERSERK flag, and will go berserk when she next sees you. Reasoning is that they have some magical ability to sense the other's death.
* Add summoner and non_actor_summoner to mgen_dataStefan O'Rear2009-11-121-1/+1
| | | | | Monsters now know who summoned them. This will be important later. Probably breaks something; saves are not one of them.
* Use get_free_monster in other places.Robert Vollmert2009-11-121-23/+15
|
* More monster_iterator conversions.Robert Vollmert2009-11-121-4/+5
|
* Rename monspeak/monplace/monstuff to mon-speak/place/stuff.Jude Brown2009-11-121-0/+3989
I'm pretty sure I've managed to replace every instance of a reference to these files, so I hopefully haven't missed anything.