summaryrefslogtreecommitdiffstats
path: root/crawl-ref
Commit message (Collapse)AuthorAgeFilesLines
* Fix % screen item examinationpauldubois2008-03-231-31/+39
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3826 c06c8d41-db1a-0410-9941-cceddc491573
* Minor type fixes.dolorous2008-03-231-2/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3825 c06c8d41-db1a-0410-9941-cceddc491573
* Disallow blessing followers on experience level gain when under penance.dolorous2008-03-231-1/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3824 c06c8d41-db1a-0410-9941-cceddc491573
* For consistency (at least for now), go back to always mentioning "the" dolorous2008-03-231-2/+1
| | | | | | | follower when blessing. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3823 c06c8d41-db1a-0410-9941-cceddc491573
* Adjust the routine for blessings on level gain: display "the follower" dolorous2008-03-232-5/+5
| | | | | | | | | | | then, and "a follower" for random blessings, and remove the random element for level gain blessings; as a Beoghite, as long as you're pious enough to gain orcish followers, they'll be blessed on level up. (This also encourages letting orcish followers kill more, which seems fitting.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3822 c06c8d41-db1a-0410-9941-cceddc491573
* Expand bless_follower() to allow explicitly picking the follower as well dolorous2008-03-235-17/+42
| | | | | | | | | | | | | as picking one randomly, fix a potential problem with the display of the blessing message, and add a piety-dependent chance that followers will be specifically blessed when gaining levels. Hook the last of these up to Beogh for now (since the random chance on piety gain occurs less and less often as piety goes up). TSO should also get this eventually. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3821 c06c8d41-db1a-0410-9941-cceddc491573
* Add minor cosmetic fixes.dolorous2008-03-232-3/+4
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3820 c06c8d41-db1a-0410-9941-cceddc491573
* Added guide on how to access akrasiac via Putty.dploog2008-03-233-1/+163
| | | | | | | (Basic text by Archibald.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3819 c06c8d41-db1a-0410-9941-cceddc491573
* Modify database lookup to allow for lookup of the nth entry for a j-p-e-g2008-03-235-57/+159
| | | | | | | | | | | | | | | | | given keyword. Used for more varied recite speech, so that the same prechosen synonym can be used for all of start/continue/stop/finish reciting. The number of the entry is calculated in an embarassingly hacky way: (recite power + hp at beginning of recite + x_pos + y_pos) modulo total weight of the keyword. This makes sure that different synonyms get used, though always the same one (plus its shorter variant) during one round of recite, but it's not as random as I'd like. It works well enough for now, though, and adds some much needed flavour to Zin. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3818 c06c8d41-db1a-0410-9941-cceddc491573
* Elyvilon will now rarely (5% chance) protect allies from harm.j-p-e-g2008-03-236-28/+63
| | | | | | | | | | | | | | | Since this only leaves them with 1 hp, they'll soon be dead anyway, so I consider it as a mixture of flavour and a warning to the player to heal the ally in question. Make the retribution healing hostiles effect only happen if you worship an evil god, as is done for the other retribution effects. Allow healing to choose a target rather than a direction, but allow Revitalisation (Zin!) to only work on the player. (That's how it was intended, I think.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3817 c06c8d41-db1a-0410-9941-cceddc491573
* For most blessings, randomly give either ailment removal or healing, but dolorous2008-03-221-1/+1
| | | | | | | only give the former if it's needed. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3816 c06c8d41-db1a-0410-9941-cceddc491573
* Add a blessing to remove harmful ailments (poisoning, sickness, dolorous2008-03-221-1/+29
| | | | | | | | confusion, and rotting), and use it in bless_follower() instead of healing when it's needed. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3815 c06c8d41-db1a-0410-9941-cceddc491573
* Simplify random armor selection in blessing_ac().dolorous2008-03-221-5/+4
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3814 c06c8d41-db1a-0410-9941-cceddc491573
* Applying the new convention to static methods.j-p-e-g2008-03-223-325/+331
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3813 c06c8d41-db1a-0410-9941-cceddc491573
* Add Ely's pacifying monsters effect:j-p-e-g2008-03-227-33/+148
| | | | | | | | | | | | | | | | | When a follower of Elyvilon attempts to heal a hostile monster (via ability or wand) there's a chance, depending on the healing value, max monster hp and monster type, that Ely will make that monster become neutral. If this happens, Ely hands out a bit of piety and his follower gains half of the monster's xp value. If the pacifying attempt fails, the monster is never healed, though you still lose your ressources (mana, piety, charges). Killing neutral monsters currently means you won't get any xp. Also, Ely dislikes this and hands out penance for doing so. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3812 c06c8d41-db1a-0410-9941-cceddc491573
* Handle the priesthood blessing more generically.dolorous2008-03-221-4/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3811 c06c8d41-db1a-0410-9941-cceddc491573
* In enchant_armour(), respect the quiet parameter in all cases.dolorous2008-03-221-4/+9
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3810 c06c8d41-db1a-0410-9941-cceddc491573
* Remove percentages from blessing comments, as they're not completely dolorous2008-03-221-5/+5
| | | | | | | | accurate. Armor enchantment will be more available (10%) if priest promotion doesn't work. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3809 c06c8d41-db1a-0410-9941-cceddc491573
* Move all armor enchantment messages to enchant_armour().dolorous2008-03-221-3/+7
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3808 c06c8d41-db1a-0410-9941-cceddc491573
* Fix blessing percentage checks.dolorous2008-03-221-2/+4
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3807 c06c8d41-db1a-0410-9941-cceddc491573
* Move the healing blessing into its own function.dolorous2008-03-221-7/+11
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3806 c06c8d41-db1a-0410-9941-cceddc491573
* Add whitespace fixes again.dolorous2008-03-221-6/+6
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3805 c06c8d41-db1a-0410-9941-cceddc491573
* Fix typo in mons_thrown_object_destroyed() that let non-missiles instead dolorous2008-03-221-1/+1
| | | | | | | of missiles be destroyed (oops). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3804 c06c8d41-db1a-0410-9941-cceddc491573
* Mark the "Summon Beast" spell as unholy, since beasts are naturally evil dolorous2008-03-221-1/+1
| | | | | | | and demonic. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3803 c06c8d41-db1a-0410-9941-cceddc491573
* Remove fire resistance from orc sorcerers. Since they cast Bolt of dolorous2008-03-221-1/+1
| | | | | | | | Fire, it's most likely a holdover similar to the recently removed electricity resistance for lightning-type casters. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3802 c06c8d41-db1a-0410-9941-cceddc491573
* Properly trigger the "attack friend" god conduct if you use Smite or dolorous2008-03-221-0/+8
| | | | | | | Airstrike on friendly monsters. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3800 c06c8d41-db1a-0410-9941-cceddc491573
* Add more whitespace fixes.dolorous2008-03-221-2/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3799 c06c8d41-db1a-0410-9941-cceddc491573
* Add a blessing to improve AC by enchanting armor or shields by one or dolorous2008-03-223-50/+109
| | | | | | | | | | | two points, or at least uncursing them (5% chance, to discourage killings for armor; the probability of healing has been dropped to 90%). In the process, split out and generalize the code to enchant armor to not be so player-specific; now, handle_enchant_armour() contains the player-specific portion, and enchant_armour() contains the rest. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3798 c06c8d41-db1a-0410-9941-cceddc491573
* Make the static functions in spells3.cc follow the new coding dolorous2008-03-211-5/+5
| | | | | | | conventions. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3797 c06c8d41-db1a-0410-9941-cceddc491573
* Since mons_inside_circle() is only used by Zin's Sanctuary and TSO's dolorous2008-03-214-22/+21
| | | | | | | | halo, both of which are in spells3.cc, move it there and make it static, at least for now. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3796 c06c8d41-db1a-0410-9941-cceddc491573
* Fix what remains of 1905764: monster description lookup issues.j-p-e-g2008-03-215-112/+131
| | | | | | | | | | | | | * Add "small simulacrum" and "player ghost" to the database (albeit with unoriginal descriptions), so they can be found. * Add MONS_DRACONIAN to mons_misc_level(), so they are a valid monster for the search (same as MONS_HUMAN and MONS_ELF). * Don't look up draconian_colour for database constructed draconians (mon.number = 0) to get rid of the "buggy" colour description. * rename static functions in the modified files git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3795 c06c8d41-db1a-0410-9941-cceddc491573
* FR 1919593: modified scoring system, as suggested by Lemuelj-p-e-g2008-03-212-235/+284
| | | | | | | Clean-up of hiscores.cc. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3794 c06c8d41-db1a-0410-9941-cceddc491573
* Fix compile-breaking typo (oops).dolorous2008-03-211-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3793 c06c8d41-db1a-0410-9941-cceddc491573
* Allow vampires of hunger state full or higher to go berserk.j-p-e-g2008-03-214-98/+104
| | | | | | | | | | | Should this be too strong (they have insane regeneration already) it should be easy enough to revert. Also renamed all static functions in abl-show.cc and player.cc to follow the new coding conventions. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3792 c06c8d41-db1a-0410-9941-cceddc491573
* Also mark brain worms as natural evil, for the same reason Norris was dolorous2008-03-211-1/+1
| | | | | | | | made so (and which I forgot to mention): under the assumption that feeding on brains is evil. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3791 c06c8d41-db1a-0410-9941-cceddc491573
* More changes to which monsters are marked as evil, based on their spell dolorous2008-03-212-18/+24
| | | | | | | | | | | | | | | | | | | repertoires. If they can cast spells like Summon Demon, Banishment, Hellfire, or Bolt of Draining, they're evil. Additions: draconian shifter, draconian scorcher, deep elf mage, deep elf summoner, deep elf conjurer, ogre-mage, wizard, Josephine, Louise, and Wayne. Removals: deep elf annihilator. It has no evil spells, and if Vehumet, the god who gives you the Book of Annihilations, is no longer considered evil, then neither should it. Also, allow deep elf conjurers to level up into deep elf sorcerers, and deep elf summoners to level up to deep elf demonologists. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3790 c06c8d41-db1a-0410-9941-cceddc491573
* Make Zin dislike when the player takes an action that makes an alreadyj-p-e-g2008-03-2114-55/+112
| | | | | | | | | | | | | existing mutagenic glow stronger (piety loss, no penalty). At the same time go easier on the "eat souled being" misbehaviour: increased piety loss, but give penance only for eating very intelligent monsters, so that eating goblins and the like is an option again. (Cannibalism is checked first, and has worse effects.) Also fix restriction for items offered for ?recharging. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3789 c06c8d41-db1a-0410-9941-cceddc491573
* Some more tweaking of the manual for ReST (rst2latex.py now produces adploog2008-03-211-185/+189
| | | | | | | tex file!) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3788 c06c8d41-db1a-0410-9941-cceddc491573
* Tweak yesnoquit some more to allow for a second alternative yes character,j-p-e-g2008-03-215-36/+69
| | | | | | | | | and use it for the chopping prompt. Also tweak eat.lua to allow y=e for inventory as well. Oh, and finally fix beheld handling to allow diagonal movement. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3787 c06c8d41-db1a-0410-9941-cceddc491573
* Add UTF-8 BOM to help keep contributor names from becoming mojibake.pauldubois2008-03-211-0/+1
| | | | | | | Good? No good? git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3786 c06c8d41-db1a-0410-9941-cceddc491573
* Apply patch [1914617]: Give the staff of channeling a chance to work dolorous2008-03-211-1/+1
| | | | | | | | even if you have no Evocations skill, since some other evokable items follow that same convention. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3785 c06c8d41-db1a-0410-9941-cceddc491573
* Manual update, and reformatting. (Preparing for ReST.)dploog2008-03-211-145/+149
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3784 c06c8d41-db1a-0410-9941-cceddc491573
* Revert the splitting out of monster_change_type() from dolorous2008-03-215-94/+76
| | | | | | | | | | | monster_polymorph(), as it still doesn't do everything needed. Replace it with monsters::change_type(), split out from monsters::level_up_change(), which does do everything needed, and in a cleaner way. Unfortunately, it's still a hack, but it should be easier to deal with for now. Sorry for the mess. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3783 c06c8d41-db1a-0410-9941-cceddc491573
* Move net handling (mostly) back to monster_polymorph(), and add comments dolorous2008-03-211-44/+49
| | | | | | | | to monster_change_type indicating that special handling may be needed if the types are different enough. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3782 c06c8d41-db1a-0410-9941-cceddc491573
* Update documentation for Ctrl-Direction. I hope I missed nothing.dploog2008-03-213-17/+18
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3781 c06c8d41-db1a-0410-9941-cceddc491573
* In monster_change_type(), preserve experience properly by using dolorous2008-03-211-1/+1
| | | | | | | gain_exp() instead of assigning. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3780 c06c8d41-db1a-0410-9941-cceddc491573
* Remove Zin's Smiting, and move Revitalisation into its place.j-p-e-g2008-03-214-134/+136
| | | | | | | | Allow for easier switching between the good gods: starting piety after switching is up to 30 instead of 15. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3779 c06c8d41-db1a-0410-9941-cceddc491573
* Add a neutral monster brand (defaulting to darkgrey).j-p-e-g2008-03-218-15/+49
| | | | | | | | | | | | Of course we still need something like this for Tiles! Make Ctrl+Dir call close_door() if the square in question is a closed door. I've tested it, and found this change (suggested by dpeg) extremely convenient. Also fixed the information leak about an invisible monster blocking a doorway without time passing. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3778 c06c8d41-db1a-0410-9941-cceddc491573
* Check more efficiently for monsters eligible to be promoted to priests.dolorous2008-03-211-2/+5
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3777 c06c8d41-db1a-0410-9941-cceddc491573
* Simplify follower blessing code again.dolorous2008-03-211-39/+24
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3776 c06c8d41-db1a-0410-9941-cceddc491573