summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/religion.cc
Commit message (Collapse)AuthorAgeFilesLines
...
* Simplify the description of Kiku's accepting kills of demons.David Lawrence Ramsey2009-11-151-2/+1
|
* Kikubaaqdgha finetuning.Alex MacDonald2009-11-161-0/+6
| | | | | | | | | | | Kiku corpse invocation now costs less piety and hunger. Kiku accepts all forms of killing, now including demons. Kiku wrath buffed severely; player can expect miasma, titan zombies, and necromantic miscasts. Casting necromantic spells will also incur miscast effects (but not cause the spell to fail). Kiku '?/G' flavor text updated. Signed-off-by: David Ploog <dploog@users.sourceforge.net>
* Don't say "sacrificing corpses" wrt Kiku's torment, giving back sounds bad.Adam Borowski2009-11-141-2/+2
|
* Remove references to butchery, it's sacrifice by prayer now.Adam Borowski2009-11-141-2/+2
|
* Tied up loose ends regarding prayer to offer corpses to gods. Kiku now ↵Alex MacDonald2009-11-141-11/+18
| | | | invokes torment when corpses are offered via prayer, in the same way that other gods accept corpses for piety. god_likes_butchery() has been removed and tutorial messages referencing the old style of offering corpses have been updated.
* Replace monster_index with monsters::mindex.Vsevolod Kozlov2009-11-131-1/+1
|
* religion.cc: mons_make_god_gift(): switching godsMatthew Cline2009-11-131-2/+1
| | | | | | | | | mons_make_god_gift() would assert if a monster already had mon->god set to something besides GOD_NO_GOD or the god doing the gifting, but this didn't work with Jiyva slimifying orcs that worship Beogh. I think this is left over from before there was MF_GOD_GIFT, when mon->god != GOD_NO_GOD mean that the monster was a god-gift. So now instead it asserts if the monster is already a god gift.
* Move most Royal Jelly code to dat/lair.desMatthew Cline2009-11-131-1/+9
|
* Add summoner and non_actor_summoner to mgen_dataStefan O'Rear2009-11-121-5/+11
| | | | | Monsters now know who summoned them. This will be important later. Probably breaks something; saves are not one of them.
* Let TSOites bless their bows.Adam Borowski2009-11-121-3/+3
|
* religion: temple_god_list()Matthew Cline2009-11-111-0/+26
| | | | | | New function temple_god_list(), which returns a list of gods whose altars can appear in the main temple, overflow temples, and mini-temples.
* 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 some more monster loops to monster_iterator.Robert Vollmert2009-11-111-14/+9
|
* Properly split up unholy and evil items, reworking is_(unholy|evil)().David Lawrence Ramsey2009-11-101-17/+26
| | | | This is mainly for Fedhas, who hates the latter but not the former.
* Typo fix.David Lawrence Ramsey2009-11-101-1/+1
|
* Replace actor::is_unholy() with actor::undead_or_demonic().David Lawrence Ramsey2009-11-101-5/+6
|
* Since is_chaotic() checks the subject for a chaotic god, don't use it toDavid Lawrence Ramsey2009-11-101-3/+0
| | | | | mark players that can't worship Zin, as they'll never be able to convert from a chaotic god in that case.
* Simplify Yred's and Okawaru's sending of random servants.David Lawrence Ramsey2009-11-101-21/+21
|
* 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.
* Make actor::heal return bool; move heal_monster to monsters::heal.Vsevolod Kozlov2009-11-101-1/+1
| | | | | | | | monsters::heal and heal_monster used to have slightly different logic for increasing maximum HP. Now the heal_monster logic is used everywhere. player::heal always returns true at the moment, but since its return value is never checked, that does not affect anything.
* Add conditional bloodifying function and use it in some places.Robert Vollmert2009-11-101-2/+2
| | | | | This might help the reported blood-covered deep water, though I didn't see any obvious case that was a likely cause.
* Remove a few obsolete includes.Robert Vollmert2009-11-101-7/+0
| | | | Also add a few previously indirect includes.
* Split shouting and stealth code from view.cc.Robert Vollmert2009-11-101-0/+1
|
* Allow calling did_god_conduct() with no monster ref without crashing.Adam Borowski2009-11-101-8/+11
|
* Remove option draw_it from viewwindow.Robert Vollmert2009-11-091-1/+1
| | | | | | The only use was just removed. Also move the draw check closer to where it's used.
* Add an is_holy() function to the actor interface.David Lawrence Ramsey2009-11-091-3/+3
| | | | | | | | | | | | This is consistent with similar functions in that it checks not only for MH_HOLY holiness, but whether the monster is a priest of a good god (currently, there are none) and whether it uses holy spells (currently, there are none after the changes described below). Minor and Major Healing are now enchantments rather than holy spells. The beam code treats them as such; wands of healing aren't holy items the way e.g. wands of draining are evil items; and unholy monsters (among others, Lom Lobon!) can cast these spells.
* Replace mons_wont_attack with monsters::wont_attack.Vsevolod Kozlov2009-11-091-1/+1
|
* Rename FeawnCharles Otto2009-11-081-30/+30
| | | | | In most places Feawn is now referred to as "Fedhas," its long name (used in the religion screen) is "Fedhas Madash"
* In Yred's retribution, replace forced Animate Dead with summoningDavid Lawrence Ramsey2009-11-081-2/+1
| | | | hostile zombified monsters.
* Split map knowledge and FPROPs.Robert Vollmert2009-11-081-3/+4
| | | | | | | | map_cell no longer has the field "properties", which has been replaced by the unsigned long array env.pgrid. env.map has been renamed to env.map_knowledge. It should really be moved into player.
* Replace mons_cannot_act with monsters::cannot_act.Vsevolod Kozlov2009-11-081-1/+1
|
* Remove mons_is_holy(), as it's redundant.David Lawrence Ramsey2009-11-071-1/+1
|
* Replace uses of get_player_wielded_{item,weapon} with player::weapon.Vsevolod Kozlov2009-11-071-8/+8
|
* Replace mons_neutral with monsters::neutral.Vsevolod Kozlov2009-11-071-1/+1
| | | | Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net>
* Update the list of brands that TSO's weapon blessing can override.David Lawrence Ramsey2009-11-061-0/+1
|
* Split away divine retribution into godwrath.ccAdam Borowski2009-11-071-1306/+5
|
* Replace global see_cell by observe_cell and disambiguate old uses.Robert Vollmert2009-11-061-2/+2
| | | | | | | Calls to plain see_cell(pos) were replaced with either observe_cell(pos) or you.see_cell(pos). observe_cell where related to drawing the interface and messaging, you.see_cell for game mechanics, and one or the other in less clear cases (targetting, say).
* Move checks for the berserk state into actor::berserk().David Lawrence Ramsey2009-11-061-1/+1
|
* Move mons_is_friendly to monsters::friendly.Vsevolod Kozlov2009-11-061-4/+4
| | | | Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
* Add actor::set_position.Robert Vollmert2009-11-061-1/+1
| | | | | | | | | | | | This should be used instead of setting position directly. actor::position could be made "protected" except for the arena's unwind_var(you.position), which is too difficult for me to fix. The reason behind this change is that actors should get their own LOS, whose origin should be synchronized with the actor's position. This change also removes the non-const "coord_def& actor::pos()" (yuk).
* Collect attitude changing code.Robert Vollmert2009-11-061-716/+21
|
* Rename is_valid_item to item_def::is_valid.Vsevolod Kozlov2009-11-061-3/+3
| | | | Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net>
* Since all unholy monsters are considered evil, removeDavid Lawrence Ramsey2009-11-051-5/+4
| | | | mons_is_evil_or_unholy(), and replace it with monsters::is_evil().
* Create an is_evil() function in the actor interface.David Lawrence Ramsey2009-11-051-1/+1
| | | | Currently, only unholy monsters are marked as evil this way.
* Replace uses of player_is_airborne with you.airborne.Vsevolod Kozlov2009-11-051-1/+1
| | | | Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
* Split up view.cc.Robert Vollmert2009-11-041-0/+1
|
* Split game_options from externs.h into options.h.Robert Vollmert2009-11-041-0/+1
|
* Remove Feawn's prayer ability, make plant walking a passive bonus.Charles Otto2009-11-021-7/+0
| | | | | Experimentally set the movement delay for walking on plants to 1.5 * normal movement delay. Maybe it should be higher?
* Some tweaks to decompositionCharles Otto2009-11-021-1/+3
| | | | | | | Make toadstools created via decomposition friendly, exempt toadstools from the allies dying conduct. Increase decomposition toadstool base duration.
* Make it obvious the word "biology" will be replaced.Adam Borowski2009-11-021-4/+5
|