summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/godabil.cc
Commit message (Collapse)AuthorAgeFilesLines
* Let players cast sunlight on themselvesCharles Otto2010-01-171-3/+1
| | | | Let players target themselves with sunlight (but give a prompt).
* Allow toadstools on tiles Fedhas worshipers are standing onCharles Otto2010-01-171-29/+30
| | | | | Mostly this is so that decomposition can work on corpses the player is standing on. Update the decomposition ability description accordingly.
* Fix decomposed skeletons getting the wrong speed and HPCharles Otto2010-01-171-2/+24
| | | | | | monsters::upgrade_type doesn't handle derived undead well so I switched to destroying and replacing zombies that are affected by Fedhas' decomposition.
* Various cleanups, use you.weapon() more often, fix a note in README.txt.Haran Pilpel2010-01-131-1/+1
|
* Redo evolution UI and costsCharles Otto2010-01-101-105/+133
| | | | | | Fedhas' evolution ability now uses (only) piety to upgrade fungi and only fruit to upgrade plants. UI was changed to only affect monsters adjacent to the player.
* Don't prompt the user in growth if they can't use the abilityCharles Otto2010-01-101-8/+13
| | | | | | Don't prompt the user to specify the amount of plants to create if they can't create any due to having no fruit or no empty adjacent squares to put plants on.
* Give plants created by growth an hp bonusCharles Otto2010-01-101-3/+13
| | | | | The bonus is proportional to the user's invocations skill, parameters may need adjustment.
* Redo the Fedhas' growth UICharles Otto2010-01-101-16/+86
| | | | | Prompt the user to enter the total number of fruit to use instead of an inventory slot.
* New type of cloud: thick gloom.Jude Brown2010-01-101-0/+20
| | | | | | | | | | | | | | | It's a fast-moving, long-lasting cloud that clumps together. It will dissipate very quickly unless it is near other clouds. It is opaque, and blocks line of sight with two or more clouds, but unlike other clouds, it does not actually use the '#' glyph. Instead, it colours the ground underneath it magenta. It's currently unused, and while it's an interesting visual effect that will have some great potential in portal vaults and specific branches, should probably be used very rarely. Also includes a tile for these, though I'm not too happy with the effect.
* Make Fedhas' shoot through plants more lenientCharles Otto2010-01-091-0/+31
| | | | | | Allow players to fire through neutral (as well as friendly) plants and let explosion spells (fireball etc.) pass through plants although the explosion from those spells still affects plants.
* Restrict sunlight's plant creatingCharles Otto2010-01-091-2/+4
| | | | Restrict sunlight to only have a chance of making plants when it evaporates water
* Restore player kill attribution for Fedhas' sunlightCharles Otto2010-01-091-0/+15
| | | | | Give the player exp. if aquatic monsters die due to ENCH_AQUATIC_LAND caused by the player evaporating the water they were in with sunlight.
* Merge branch 'master' into ioodAdam Borowski2009-12-301-2/+2
|\
| * Rename MF_CREATED_FRIENDLY to MF_NO_REWARD, since that's all it's used for ↵Stefan O'Rear2009-12-281-2/+2
| | | | | | | | these days.
* | Merge branch 'master' into ioodAdam Borowski2009-12-271-1/+2
|\|
| * Make petrified and sleeping monsters not "fast" wrt Che piety gain and slouch.Adam Borowski2009-12-221-1/+1
| |
* | Make the "killing friend" conduct, slouch and swapping place treat ↵Adam Borowski2009-12-201-1/+1
|/ | | | projectiles as non-monsters.
* Replace long debug message calls with dprf(), except for cases where a dumb ↵Adam Borowski2009-12-201-3/+1
| | | | | | compiler could call unnecessary functions. For paranoia, I left even any uses of std::string.
* Slouch shouldn't damage those who can't move.Adam Borowski2009-12-201-1/+1
|
* Remove header includes from mon-place.h.Robert Vollmert2009-11-271-0/+1
|
* Remove further header-include. env.h now always directly included.Robert Vollmert2009-11-271-0/+1
|
* Fix a crash in Fedhas's retributionCharles Otto2009-11-231-1/+1
| | | | Fix an overrun caused by incrementing the wrong variable in a loop.
* Modify ponderousification failure message (Butch).Robert Vollmert2009-11-211-1/+2
|
* 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.
* And do the same for the rest of Fedhas' invocations.David Lawrence Ramsey2009-11-171-3/+13
|
* Make sunlight() properly return false when it has no effect.David Lawrence Ramsey2009-11-171-3/+12
|
* Wrap view flashing in flash_view.Robert Vollmert2009-11-161-4/+3
| | | | This also removes env.show updates when flashing.
* Replace observe_cell by you.see_cell.Robert Vollmert2009-11-131-4/+4
|
* Replace monster_index with monsters::mindex.Vsevolod Kozlov2009-11-131-1/+1
|
* Merge spore experiments branch.Charles Otto2009-11-131-3/+0
|\
| * Change ballistomycete spore mechanics againCharles Otto2009-11-121-3/+0
| | | | | | | | | | | | | | | | New status: if a ballistomycete or giant spore dies any ballistos on the level get +1 to a counter. Ballistos with a count higher than zero get spore production on a short (~150 turn) timer. When a spore is spawned (by a ballisto) the count of all ballistos on the level is decreased by 1.
* | Add summoner and non_actor_summoner to mgen_dataStefan O'Rear2009-11-121-0/+5
| | | | | | | | | | Monsters now know who summoned them. This will be important later. Probably breaks something; saves are not one of them.
* | Rename monspeak/monplace/monstuff to mon-speak/place/stuff.Jude Brown2009-11-121-2/+2
| | | | | | | | | | I'm pretty sure I've managed to replace every instance of a reference to these files, so I hopefully haven't missed anything.
* | Convert another 45 monster loops to monster_iterator.Robert Vollmert2009-11-111-6/+6
|/ | | | | | | A total of 53 have been converted; 39 left, of which some should stay. Now at a net loss of lines of code for monster_iterator. Occurrences of MAX_MONSTERS down to 65 from 116 in *.cc.
* Remove a few obsolete includes.Robert Vollmert2009-11-101-1/+0
| | | | Also add a few previously indirect includes.
* Split shouting and stealth code from view.cc.Robert Vollmert2009-11-101-0/+1
|
* Tweak message for Cheibriados' restarting time.David Lawrence Ramsey2009-11-091-9/+8
|
* Fix a genus check for blink frogs, and species checks for giant spores.David Lawrence Ramsey2009-11-091-3/+3
|
* Allied giant spore behavior tweaksCharles Otto2009-11-091-0/+7
| | | | | | Make allied spores consistently ignore 't' commands, also make them wander unless they spot an enemy (instead of following you around until they find an enemy).
* Change some uses of viewwindow to not do monster updates.Robert Vollmert2009-11-101-1/+1
|
* Remove option draw_it from viewwindow.Robert Vollmert2009-11-091-2/+2
| | | | | | The only use was just removed. Also move the draw check closer to where it's used.
* Rename FeawnCharles Otto2009-11-081-7/+7
| | | | | In most places Feawn is now referred to as "Fedhas," its long name (used in the religion screen) is "Fedhas Madash"
* Remove player.h dependency from coordit.h.Robert Vollmert2009-11-081-1/+1
| | | | | | | | | adjacent_iterator had a default center of you.pos(), which is now gone (also the uses of). I was running into circular header dependencies with actor.h including los_def.h including coordit.h including player.h including actor.h.
* Simplify rain and sunlight a bitCharles Otto2009-11-061-17/+6
| | | | | | | Use dungeon_terrain_changed in rain and sunlight, inflict and remove ENCH_AQUATIC_LAND solely in monsters::apply_location_effects. Make sunlight alert monsters it affects.
* Move Feawn's abilities to godabil.h/ccCharles Otto2009-11-061-0/+870
|
* Move mons_is_friendly to monsters::friendly.Vsevolod Kozlov2009-11-061-1/+1
| | | | Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
* Collect attitude changing code.Robert Vollmert2009-11-061-128/+0
|
* Move *_res(ist)_magic to relevant classes, provide actor interface.Vsevolod Kozlov2009-11-051-2/+2
| | | | Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net>
* Let Feawn worshipers travel/run through plants they can pass through.Charles Otto2009-11-051-1/+3
|