summaryrefslogtreecommitdiffstats
path: root/crawl-ref
Commit message (Collapse)AuthorAgeFilesLines
* Clean up gourmand-related routines: only check for gourmand duration dolorous2009-02-224-37/+37
| | | | | | | | | | instead of checking for wearing the amulet *and* gourmand duration, account for gourmand (both the amulet and the mutation) in the output screen, and treat gourmand (both the amulet and the mutation) consistently with regard to potions of blood. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9153 c06c8d41-db1a-0410-9941-cceddc491573
* Fix the wizard mode mutation list again (oops).dolorous2009-02-221-1/+0
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9152 c06c8d41-db1a-0410-9941-cceddc491573
* Account for the new gourmand mutation in mutation-related wizard mode dolorous2009-02-221-0/+1
| | | | | | | commands. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9151 c06c8d41-db1a-0410-9941-cceddc491573
* Change Transmutation -> Transmutations for consistency withj-p-e-g2009-02-2211-58/+59
| | | | | | | Translocations and because it sounds a bit better. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9150 c06c8d41-db1a-0410-9941-cceddc491573
* * Fix Sif Muna occasionally gifting manuals.j-p-e-g2009-02-227-30/+40
| | | | | | | | | | | | * Change innate gourmand eating behaviour to MUT_GOURMAND (innate only). * Only bother prompting to eat chunks if the player has the gourmand mutation or the carnivorous mutation at level 3, or is wearing an amulet of the gourmand or an unidentified amulet. * Remove gourmand behaviour from Ogres, i.e. only Trolls get the mutation. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9149 c06c8d41-db1a-0410-9941-cceddc491573
* [2615112] Fix portal vaults sharing ghosts. Ghosts are now saved into ↵dshaligram2009-02-226-8/+41
| | | | | | bones.XXX where XXX is set from the 'dstext' property of the portal, or to the first three letters of the 'dst' property. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9148 c06c8d41-db1a-0410-9941-cceddc491573
* For [2625984], disallow caught monsters from submerging.haranp2009-02-223-11/+10
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9147 c06c8d41-db1a-0410-9941-cceddc491573
* For 2089989, reallow friendlies to walk into your damaging clouds inharanp2009-02-2114-220/+118
| | | | | | | some cases, regardless of god. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9145 c06c8d41-db1a-0410-9941-cceddc491573
* Removing another debugging statement. *sighs* Looks like my commits are j-p-e-g2009-02-211-2/+0
| | | | | | | spaced to far apart for me to remember the basics... git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9144 c06c8d41-db1a-0410-9941-cceddc491573
* * Tweak spell number of randart books some more.j-p-e-g2009-02-2113-435/+460
| | | | | | | | | | | | * Loosen restrictions on spell levels of unknown spells for normal books, so there are more matches even for untrained schools. * Add a new option dump_book_spells that, if set to true (default), will dump the spells even for non-randart book. Useful if you don't know the books' contents by heart and want to know spells at your disposal without checking some spoilers. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9143 c06c8d41-db1a-0410-9941-cceddc491573
* * Lower randart probabilities for book acquirement.j-p-e-g2009-02-203-19/+22
| | | | | | | | | * Lower number of spells in randart books. * Fix acquirement generating manuals of (null). * Lower chance of randart books being named after Pan lords. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9142 c06c8d41-db1a-0410-9941-cceddc491573
* [2418267] Disable stair connectivity fixups in the Tomb so that vault stair ↵dshaligram2009-02-201-1/+1
| | | | | | placement is preserved. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9141 c06c8d41-db1a-0410-9941-cceddc491573
* Give brain worms a melee attack, so that they're useful when zombified.dolorous2009-02-201-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9140 c06c8d41-db1a-0410-9941-cceddc491573
* Hint at the force prompt feature when entering annotations.dploog2009-02-201-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9139 c06c8d41-db1a-0410-9941-cceddc491573
* Fix [2612652] as consistently as possible. Of the monsters that have no dolorous2009-02-201-1/+1
| | | | | | | | | | | | | | melee attacks, disallow giant eyeballs from being zombified, but go on allowing butterflies and brain worms to be zombified. Rationale: Nothing else in the giant eyeball category can be zombified. However, everything else in the "batty monster" and worm categories can be zombified. (Besides, regarding the former, summoning butterflies is more about putting barriers between you and monsters, so creating butterfly zombies should do the same.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9138 c06c8d41-db1a-0410-9941-cceddc491573
* Changing function call in fight.cc to be more dpeg compliant.ennewalker2009-02-201-2/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9137 c06c8d41-db1a-0410-9941-cceddc491573
* Fix [2566927]: add new keymap codes for targeting and levelmap.haranp2009-02-202-1/+18
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9136 c06c8d41-db1a-0410-9941-cceddc491573
* For [2615112], add a hook for portal vault levels to override theharanp2009-02-203-59/+51
| | | | | | | | | | | default extension (ptl) for ghost filenames. This currently has no effect, as I don't know how to hook in Lua code; can someone who knows this better put in code to allow .des files to override this extension? [The idea is to give "suffix" a good value in _make_ghost_filename().] git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9135 c06c8d41-db1a-0410-9941-cceddc491573
* Add minor cosmetic fixes.dolorous2009-02-191-3/+4
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9134 c06c8d41-db1a-0410-9941-cceddc491573
* Add spacing fix.dolorous2009-02-191-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9133 c06c8d41-db1a-0410-9941-cceddc491573
* Since the rod of striking has been removed for spriggan enchanters, dolorous2009-02-191-10/+8
| | | | | | | | | | | | | | | | remove it from spriggan thieves the same way, but leave it with spriggan transmuters. Rationale: Spriggans' aptitude for hand crossbows is average, and, while it's the worst aptitude relative to their aptitude for other missile weapons, average isn't bad. In any case, they get a dagger instead of a short sword (also taken from spriggan enchanters), which should help them stab what they can't shoot, and their speed will let them run when necessary. On the other hand, spriggans' aptitude for unarmed combat is bad, and that's the main attack skill given to transmuters. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9132 c06c8d41-db1a-0410-9941-cceddc491573
* Remove unneeded blank line.dolorous2009-02-191-1/+0
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9131 c06c8d41-db1a-0410-9941-cceddc491573
* And a few more gotos, this time in dgamelaunch code.haranp2009-02-191-10/+14
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9130 c06c8d41-db1a-0410-9941-cceddc491573
* More code cleanups; another goto bites the dust.haranp2009-02-191-96/+89
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9129 c06c8d41-db1a-0410-9941-cceddc491573
* Don't allow monsters to walk into you and continue playing innocent.haranp2009-02-191-0/+4
| | | | | | | Fixes [2021213]. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9128 c06c8d41-db1a-0410-9941-cceddc491573
* Fix [2613867]: Cantrip gives messages even when the casting monster isharanp2009-02-181-0/+5
| | | | | | | far away. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9127 c06c8d41-db1a-0410-9941-cceddc491573
* Fix [2611509]: Trog's Brothers in Arms ability is now described as dolorous2009-02-181-2/+2
| | | | | | | "calling in reinforcements", git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9126 c06c8d41-db1a-0410-9941-cceddc491573
* Fix [2612149]: killing the Royal Jelly after drawing Vitrificationharanp2009-02-182-3/+4
| | | | | | | kept the walls as clear stone rather than diggable clear rock. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9125 c06c8d41-db1a-0410-9941-cceddc491573
* Fix [2023189]: berserking monsters with friendly targets (e.g. because theyharanp2009-02-181-6/+12
| | | | | | | got hit by dragon breath) kept their target with no effect. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9124 c06c8d41-db1a-0410-9941-cceddc491573
* Fix [2610764]: 5% of all misses gave 'Your armour prevents youharanp2009-02-182-2/+6
| | | | | | | | | | | | from hitting $MONSTER' regardless of armour. Also put in some paranoia to prevent this happening in the future. The minimum chance of hitting a monster has been reduced from 1 - 0.95^2 = 9.75% (which was a bug) to 5% (which was the intention.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9123 c06c8d41-db1a-0410-9941-cceddc491573
* Book acquirement again:j-p-e-g2009-02-185-83/+215
| | | | | | | | | | * Weigh magic skills stronger to bias against manuals. * Fall through to randart (theme) books if all spells are known. * Allow spell school combinations (Conj/Fire) in naming randarts after hell lords and others. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9122 c06c8d41-db1a-0410-9941-cceddc491573
* Implement [2535038]: monsters now have a chance of shouting wheneverharanp2009-02-174-8/+12
| | | | | | | | | they are woken up, unless it's by a successful stab. (The previous behaviour made them shout only when they were woken up by the player walking around.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9121 c06c8d41-db1a-0410-9941-cceddc491573
* Fix [2472876]: tutorial possibly taking up too much real estate on skillsharanp2009-02-171-1/+4
| | | | | | | ('m') screen. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9120 c06c8d41-db1a-0410-9941-cceddc491573
* Fix [1974594]: tutorial item description going off the bottom of the screen.haranp2009-02-172-3/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9119 c06c8d41-db1a-0410-9941-cceddc491573
* Fix [2604363]: stashes and autoexplore leaked information about mimics.haranp2009-02-178-40/+88
| | | | | | | | (Incidentally, if you walk into a mimic by accident, the stash won't go away until the next turn. Technically a bug, but a minor one.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9118 c06c8d41-db1a-0410-9941-cceddc491573
* Fix 'V' leaking information about mimics.haranp2009-02-172-2/+14
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9117 c06c8d41-db1a-0410-9941-cceddc491573
* Make _mutations_prevent_wearing() properly account for the beak mutation dolorous2009-02-171-5/+8
| | | | | | | (which disallows hard helmets). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9116 c06c8d41-db1a-0410-9941-cceddc491573
* Clean up transformation code. There are still at least four (!) differentharanp2009-02-172-426/+359
| | | | | | | | functions which check if you can or can't wear something...that should be cleaned up. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9115 c06c8d41-db1a-0410-9941-cceddc491573
* Add spacing fixes.dolorous2009-02-171-3/+3
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9114 c06c8d41-db1a-0410-9941-cceddc491573
* Fix [2581197]: Make glow status consistent with magical contamination by dolorous2009-02-171-3/+3
| | | | | | | fixing off-by-one errors when checking the latter. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9113 c06c8d41-db1a-0410-9941-cceddc491573
* Simplify.dolorous2009-02-171-2/+0
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9112 c06c8d41-db1a-0410-9941-cceddc491573
* Fix [2608901]: too many transforms got to keep their soft caps.haranp2009-02-171-4/+6
| | | | | | | | We should really merge you_tran_can_wear() and the various tests in transfor.cc. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9111 c06c8d41-db1a-0410-9941-cceddc491573
* Change elemental type colour enum to use ETC_ prefix instead of EC_haranp2009-02-1710-143/+143
| | | | | | | | prefix, which was conflicting with the Abyssal entry cause enum. Fixes [2605869]. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9110 c06c8d41-db1a-0410-9941-cceddc491573
* Halving the time before tooltips appear.ennewalker2009-02-173-3/+3
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9109 c06c8d41-db1a-0410-9941-cceddc491573
* Allowing multiple mouse clicks on the character to go to the pickup menu.ennewalker2009-02-171-0/+7
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9108 c06c8d41-db1a-0410-9941-cceddc491573
* Fixing compilation problem with std::min.ennewalker2009-02-171-2/+3
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9107 c06c8d41-db1a-0410-9941-cceddc491573
* Add whitespace fixes.dolorous2009-02-171-3/+3
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9106 c06c8d41-db1a-0410-9941-cceddc491573
* Use up some of a monster's energy when it eats a corpse.zelgadis2009-02-161-0/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9105 c06c8d41-db1a-0410-9941-cceddc491573
* Remove unneeded blank line.dolorous2009-02-161-1/+0
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9104 c06c8d41-db1a-0410-9941-cceddc491573
* Add more minor cosmetic fixes.dolorous2009-02-161-3/+3
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9103 c06c8d41-db1a-0410-9941-cceddc491573