summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/abl-show.cc
Commit message (Collapse)AuthorAgeFilesLines
* Apply trunk r6476 to 0.4.dolorous2008-07-101-3/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.4@6477 c06c8d41-db1a-0410-9941-cceddc491573
* Add spacing fix.dolorous2008-07-051-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6415 c06c8d41-db1a-0410-9941-cceddc491573
* Implement the rest of the starting set changes. I sure hope I got all ofj-p-e-g2008-07-011-6/+7
| | | | | | | them. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6303 c06c8d41-db1a-0410-9941-cceddc491573
* Add more minor cosmetic fixes.dolorous2008-06-291-3/+3
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6204 c06c8d41-db1a-0410-9941-cceddc491573
* Misc. minor cleanups. (Yes, a huge amount of them but still...)j-p-e-g2008-06-261-6/+6
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6146 c06c8d41-db1a-0410-9941-cceddc491573
* If a god (currently, either Xom or Makhleb) hurls a blast of lightning, dolorous2008-06-221-1/+1
| | | | | | | display the message in the god channel. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6053 c06c8d41-db1a-0410-9941-cceddc491573
* Update tutorial information for the 'm' and 'a' screens.j-p-e-g2008-06-191-8/+8
| | | | | | | | | Space allowing, differentiate between hydras with different numbers of heads in the monster list. (This is probably only interesting in the Swamp.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5993 c06c8d41-db1a-0410-9941-cceddc491573
* Fix invisible monsters being described to "burst forth from the water"j-p-e-g2008-06-181-22/+24
| | | | | | | if there's no water nearby. (BR 1994574) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5965 c06c8d41-db1a-0410-9941-cceddc491573
* Add the framework for descriptions for abilities to be read from thej-p-e-g2008-06-181-15/+69
| | | | | | | | | | | | | | ability menu (a!) Currently only contains descriptions for Zin, TSO and "Renounce Religion". Also, now I'm worried that players might accidentally press '?' instead of '!' and then apply an ability when they only wanted to read its description. (Of course, with some of them you can opt out, e.g. because they need targeting, but for others it's a real problem.) There must be a good solution around somewhere. Abilities are not (yet) searchable in the database. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5958 c06c8d41-db1a-0410-9941-cceddc491573
* Make -raise_corpse() and animate_a_corpse() use coord_defs instead of x dolorous2008-06-161-2/+2
| | | | | | | and y coordinates. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5882 c06c8d41-db1a-0410-9941-cceddc491573
* Use radius_iterator instead of manually looping.haranp2008-06-151-1/+0
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5866 c06c8d41-db1a-0410-9941-cceddc491573
* * Add a prompt when attacking monsters with an inappropriate weapon orj-p-e-g2008-06-141-7/+14
| | | | | | | | | | | | | | | | | | | | | | | | when attempting to use (controlled) berserk while wielding an inappropriate weapon. (FR 1956656) * Make monsters stop patrolling/travelling if they change levels (or are banished). * Disable the friendly pickup toggle for characters unable to use them. Currently, only worshippers of TSO and Beogh are capable of gaining allies that are permanent (not summoned), permanently friendly (not charmed) and intelligent enough to pick up stuff (no zombies). I don't know if you keep your friends if you leave TSO. If so, the toggle should be enabled while that is the case (i.e. if you're still worshipping a good god) * Re-order the wizmode commands in the help screen. They're now not listed strictly alphabetically anymore, but rather sorted into different categories that should make actually finding commands easier. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5819 c06c8d41-db1a-0410-9941-cceddc491573
* Mark daevas summoned by TSO's power as god gifts from TSO.dolorous2008-06-141-4/+4
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5802 c06c8d41-db1a-0410-9941-cceddc491573
* Mark berserkers summoned via "Brothers in Arms" as god gifts from Trog.dolorous2008-06-131-1/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5800 c06c8d41-db1a-0410-9941-cceddc491573
* Overhaul god gift handling again so that we can tell which god sent dolorous2008-06-121-5/+6
| | | | | | | | | | | which gift. There was an unused god parameter in the monsters struct, which was probably intended to hold which god a monster worshipped. I've used it as an indicator of which god sent the monster, under the assumption that gods would send their own worshippers as gifts. (I hope this isn't an abuse of it.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5748 c06c8d41-db1a-0410-9941-cceddc491573
* 1835314: Nemelex abilities work when silenced.haranp2008-06-111-3/+6
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5730 c06c8d41-db1a-0410-9941-cceddc491573
* Clean-up (renaming static methods and comments) in a number of files.j-p-e-g2008-06-101-35/+33
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5703 c06c8d41-db1a-0410-9941-cceddc491573
* Add minor consistency fix.dolorous2008-06-101-1/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5689 c06c8d41-db1a-0410-9941-cceddc491573
* Clean up the routines to animate the dead.dolorous2008-06-091-8/+4
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5621 c06c8d41-db1a-0410-9941-cceddc491573
* Consolidate the demon-summoning routines again.dolorous2008-06-081-6/+7
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5572 c06c8d41-db1a-0410-9941-cceddc491573
* Revert some of the previous simplifications, as they make other things dolorous2008-06-081-3/+3
| | | | | | | more complicated. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5570 c06c8d41-db1a-0410-9941-cceddc491573
* Simplify summoning of hostile demons.dolorous2008-06-081-9/+6
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5566 c06c8d41-db1a-0410-9941-cceddc491573
* Simplify summoning of hostile holy beings.dolorous2008-06-081-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5565 c06c8d41-db1a-0410-9941-cceddc491573
* Clean up some more.dolorous2008-06-071-18/+11
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5564 c06c8d41-db1a-0410-9941-cceddc491573
* Rename ABIL_SUMMON_DEMONS to ABIL_SUMMON_DEMON, for consistency.dolorous2008-06-071-4/+4
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5559 c06c8d41-db1a-0410-9941-cceddc491573
* Start cleaning up summoning routines in a better way. Sorry for the dolorous2008-06-071-2/+1
| | | | | | | mess in the meantime. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5545 c06c8d41-db1a-0410-9941-cceddc491573
* Consolidate "Summon Dragon" into summon_general_creature() as well.dolorous2008-06-071-6/+6
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5523 c06c8d41-db1a-0410-9941-cceddc491573
* Consolidate "Summon Butterflies" into summon_general_creature().dolorous2008-06-071-2/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5521 c06c8d41-db1a-0410-9941-cceddc491573
* Consolidate summon_ugly_thing() into summon_ice_beast_etc(), and rename dolorous2008-06-061-21/+18
| | | | | | | the latter summon_general_creature(). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5511 c06c8d41-db1a-0410-9941-cceddc491573
* Allow creation of non-friendly god gifts. The BEH_GOD_GIFT behavior has dolorous2008-06-061-15/+19
| | | | | | | been removed, and the MF_GOD_GIFT flag is set directly instead. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5503 c06c8d41-db1a-0410-9941-cceddc491573
* I'm not sure I actually coded anything worthwhile, though I experimentedj-p-e-g2008-06-021-8/+8
| | | | | | | | | | | | | | | | a fair bit and as usually ended up doing lots of clean-up. Oh wait, I modified eat_from_floor prompts to only force a more if there was actually a message before trying the inventory (whoops), and also modified the corpses in pack hint to take into account that a saccing player won't be interested in butchering rotten corpses. Also implemented a modified FR 1981119: when Detect Creatures only detects plants already seen before, print a different message ("You detect no further creatures."). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5435 c06c8d41-db1a-0410-9941-cceddc491573
* Commit a few changes, mostly clean-up.j-p-e-g2008-06-011-5/+6
| | | | | | | | | | | | | * Modify tile_show_items setting in tutorial to (hopefully) show corpses again. * Change skill_exp_needed to use the level input rather than decreasing the passed in parameter, esp. when it was mostly called in the form skill_exp_needed(x + 1) anyway. I was trying to find out what went wrong in BR 1929156 but I can't work out the formula. :( git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5421 c06c8d41-db1a-0410-9941-cceddc491573
* * Fix some issues with the new food colourings, and make it respectj-p-e-g2008-06-011-10/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Vampires' drinking habits. * Allow other channels than MSGCH_TUTORIAL to use formatted strings and use it to send a coloured string through the butcher prompt, thus visibly setting off dangerous corpses. I'd like normal corpses (no patterns in food_colouring.txt matching) not to be highlighted at all, but they're currently shown in lightgrey, that will have to be improved. * Fix Vampire mutation screen displaying poison resistance wrongly. * Add a new option force_more_message whose syntax is copied from travel_stop_message. Any message containing a regex within this listing will enforce a -More- prompt. By default, it's only enabled for "You start to lose your buoyoncy." * Tweak the messages for Kenku flying to fix 1823833. * Make Xom be amused at players teleporting in a labyrinth or when becoming (Near) Starving while in a labyrinth and with little food at their disposal. Yes, it's one of those "Something for everyone" commits. :D git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5416 c06c8d41-db1a-0410-9941-cceddc491573
* Update documentation on coding conventions, and apply a few of them. :)j-p-e-g2008-05-271-3/+3
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5295 c06c8d41-db1a-0410-9941-cceddc491573
* Fix 1974137: Stat-lowering transformations resulting in death by statj-p-e-g2008-05-271-10/+17
| | | | | | | | | | | | | | | loss. Now take to-be-removed equipment in account and don't transform in the removed equipment or the stat loss or both in combination would decrease one of your stats to (below) 0. For the vampire bat transformation, this check only happens after the ability failure check, so this could be improved. In any case, it's better than dying. Also, fix wrongly treating armour as worn when checking for stat loss by wearing. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5294 c06c8d41-db1a-0410-9941-cceddc491573
* Some spacing clean-up in the tutorial code (thanks for the additions,j-p-e-g2008-05-271-2/+2
| | | | | | | | Matthew!) and fix BR 1974056 (wrong colouring of tutorial skills information). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5293 c06c8d41-db1a-0410-9941-cceddc491573
* Change SP_GOLDEN_DRACONIAN to SP_YELLOW_DRACONIAN, for consistency.dolorous2008-05-241-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5215 c06c8d41-db1a-0410-9941-cceddc491573
* Add still more minor cosmetic fixes.dolorous2008-05-231-6/+0
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5201 c06c8d41-db1a-0410-9941-cceddc491573
* Have cast_revitalisation() do all its own piety handling, as it's a bit dolorous2008-05-221-8/+9
| | | | | | | cleaner that way. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5183 c06c8d41-db1a-0410-9941-cceddc491573
* Improve player beam tracer for firing through friendlies:j-p-e-g2008-05-221-117/+105
| | | | | | | | | | | | | | * name the monster you're firing through ("your goblin zombie") * use maximum possible range * make it work for spells and abilities, as well Still todo: * apply the same logic to firing missiles * don't prompt for monsters that wouldn't be harmed (e.g. living allies for Dispel Undead, etc.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5177 c06c8d41-db1a-0410-9941-cceddc491573
* Finally fix 1868761: Books in shops being noted as identified over andj-p-e-g2008-05-201-1/+2
| | | | | | | | | | | over again (when searching stashes). Also remove my recently added NOTE_FOUND_ORB_OR_RUNES in favour of the previously existing NOTE_GET_ITEM. Also I've noticed that this is probably already listed in the "milestones" - but what on earth are they? git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5150 c06c8d41-db1a-0410-9941-cceddc491573
* Fix 1885453: Apply Lugonu's hp penalty (on entering the Abyss) toj-p-e-g2008-05-201-1/+2
| | | | | | | | you.base_hp2 (rather than you.hp_max) and thus really make it permanent (I think). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5149 c06c8d41-db1a-0410-9941-cceddc491573
* Rename Zin's Revitalisation to Vitalisation.dolorous2008-05-151-5/+5
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5060 c06c8d41-db1a-0410-9941-cceddc491573
* Experimentally switch back to glyph colours light red, yellow, andj-p-e-g2008-05-101-1/+2
| | | | | | | | | | | | red, respectively, for orcs, orc warriors, and Urug. I don't play ASCII, so this is solely based on player complaints. (But I figure yellow works as a "lighter" version of orange = light red, possibly better than the standard pair brown/yellow.) Also, add gila monsters to the new colour scheme: they're always magenta now. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4989 c06c8d41-db1a-0410-9941-cceddc491573
* Make vampires' spell (and ability) hunger dependent on their hunger state.j-p-e-g2008-05-081-4/+5
| | | | | | | | | | Thirsty: 75% Very thirsty: 50% Near Bloodless: 25% Bloodless: None git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4933 c06c8d41-db1a-0410-9941-cceddc491573
* Cleaned up monster generation functions, separate monster zombie type from ↵dshaligram2008-05-051-2/+5
| | | | | | | | | monster number. May be buggy. Allow hydra zombies (they currently do not get the right number of heads). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4872 c06c8d41-db1a-0410-9941-cceddc491573
* Clean up and consolidate the holy word and torment effects.dolorous2008-05-021-1/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4815 c06c8d41-db1a-0410-9941-cceddc491573
* Change banishment in two ways:j-p-e-g2008-04-281-23/+23
| | | | | | | | | * the Banishment spell doesn't work on the player anymore * Lugonu's Exit Abyss has no permanent hp/mp cost, but Enter Abyss has Instead, Exit Abyss now costs 1 (normal) MP and some more food. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4744 c06c8d41-db1a-0410-9941-cceddc491573
* Expand Zin's Revitalisation to allow for negative affliction removal, dolorous2008-04-281-1/+1
| | | | | | | and make sure the step counter is reset properly when falling through. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4732 c06c8d41-db1a-0410-9941-cceddc491573
* Rework Zin's Revitalisation so that it remembers which step it was on dolorous2008-04-281-2/+1
| | | | | | | | after being used. Note that there is currently no check for its being used in succession yet. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4731 c06c8d41-db1a-0410-9941-cceddc491573