summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemname.cc
Commit message (Collapse)AuthorAgeFilesLines
* Apply trunk r6474 to 0.4.dolorous2008-07-101-1/+4
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.4@6475 c06c8d41-db1a-0410-9941-cceddc491573
* Disallow vampires from draining summoned creatures to be consistent withj-p-e-g2008-07-041-23/+23
| | | | | | | | | | | | | summoned creatures being incapable of bleeding on the floor. This makes things more difficult for Vampires; on the other hand there was a (more or less) recent change that lets them regain 1 hp *per turn* when draining corpses. We might also increase the duration of blood potions... Apart from that, various clean-ups. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6393 c06c8d41-db1a-0410-9941-cceddc491573
* Reorder species in newgame.cc (clean-up, no coding changes).j-p-e-g2008-07-031-0/+14
| | | | | | | | | Add known weapons of holy wrath as useless items for undead, likewise with weapons of pain for characters without Necromancy skill. (The latter only applies if the item is not an artefact.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6374 c06c8d41-db1a-0410-9941-cceddc491573
* Revert the change on ammo handling for Tiles, and replace it with a morej-p-e-g2008-07-021-1/+1
| | | | | | | | | | | | | | | generic logic that uses item tiles for BEAM_MISSILE, else bolts according to flavour. Identify monster fired ammunition ego if the launcher ego is known, not that it has much of an effect because plain ammo gets no special description. In the message list the fired item as it will look to the player (i.e. "arrow of ice" for a plain arrow fired off a bow of frost), even though the item actually dropped will still be a plain one. I hope this isn't too confusing. (And if it is, it should be easy to revert. :p) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6331 c06c8d41-db1a-0410-9941-cceddc491573
* Fix 2006479: worn unidentified =PR marking poisonous food as safe. j-p-e-g2008-06-301-3/+3
| | | | | | | Fix 2006014: character selection crashing after non-random book choice. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6248 c06c8d41-db1a-0410-9941-cceddc491573
* Misc. minor cleanups. (Yes, a huge amount of them but still...)j-p-e-g2008-06-261-19/+6
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6146 c06c8d41-db1a-0410-9941-cceddc491573
* Make the ignore_flags field of item_def::name() work with more flags.zelgadis2008-06-231-2/+5
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6075 c06c8d41-db1a-0410-9941-cceddc491573
* Give the Tome of Destruction a fixed unidentified description ("ancientj-p-e-g2008-06-191-3/+8
| | | | | | | | heavily glowing book"), it's already regarded as "dangerous", known or not, and tweak Trog's burning book message. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5976 c06c8d41-db1a-0410-9941-cceddc491573
* For jewellery with pluses and wands, only make an ident note when thezelgadis2008-06-191-2/+33
| | | | | | | | | | | | first item of the type is identified, not when the charges/pluses of any item of the type is identified. Make sure that artefacts have nothing to do with the identification level of jewellery by making versions of set_ident_type() and get_ident_type() which accept a full item_def as a parameter. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5973 c06c8d41-db1a-0410-9941-cceddc491573
* Unknown potions are still useless for mummies. [1994979]haranp2008-06-181-3/+3
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5964 c06c8d41-db1a-0410-9941-cceddc491573
* Don't change beam names for tracers. (Fixes 1994978.)j-p-e-g2008-06-161-7/+13
| | | | | | | | | | | Clean up the vampire ability screen a bit. Special case naga bardings of running (according to makeitem.cc they can exist) to be called "naga barding of speedy slithering" instead. Yes, it's a hack, and yes, the name is rather unwieldy, but it makes more sense this way. I hope. :p git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5880 c06c8d41-db1a-0410-9941-cceddc491573
* Use the menu item colour prefixes with note_items, so that (for example)zelgadis2008-06-141-1/+2
| | | | | | | | | | | you can only note identified books, or you can note picking up unidentified randarts. When an item is bought from a shop, mpr() a line about the item, so that you can use note_messages to keep note of everything you've bought. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5811 c06c8d41-db1a-0410-9941-cceddc491573
* Added several new tutorial triggers including information on being caughtj-p-e-g2008-06-131-4/+0
| | | | | | | | | | | | | | | | | | | | | in a net, specific skills, magic resistance, and which stat to choose. In a given game you'll only ever see a small fraction of all tutorial events (we're at 71 now, and some of them are exclusive). In fact, a lot of the information is so generally useful (esp. on gods, skills and items) that I'm seriously considering opening up the general information (How do I use item x? What does Spellcasting do?) to a wider selection of characters. I don't think we'll want to explain the intricacies of Mummies, Ghouls, or Vampires, but a lot of this stuff even applies to them... (If we overhaul the tutorial, it's certainly not a 0.4 target, though.) Resetting the tutorial version to 8 as we somehow switched from digital version to binary and back to digital. It will take some time until we actually reach 110, and by then, I am sure the base files won't be save compatible anymore. :) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5777 c06c8d41-db1a-0410-9941-cceddc491573
* Added "items" boolean parameter to the player_res_foo() functions, whichzelgadis2008-06-111-1/+7
| | | | | | | | | | | when false makes equipped items be ignored when figuring reistance. Used by is_useless_item() to avoid (for example) rings of poison reistance being marked useless if the player equips one. Also mark rings of teleport control as useless if the player has inate teleport control, and never mark artifact jewellery as useless. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5725 c06c8d41-db1a-0410-9941-cceddc491573
* Modify Evaporate and Stinking Cloud to prompt when firing throughj-p-e-g2008-06-101-52/+61
| | | | | | | | allies. Note: This does still not handle the actual clouds, just the basic beam. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5701 c06c8d41-db1a-0410-9941-cceddc491573
* Move pickup_butcher_tool.txt into (the recently freed) pickup.lua, j-p-e-g2008-06-101-3/+13
| | | | | | | re-enable it (whoops) and clean up its code. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5698 c06c8d41-db1a-0410-9941-cceddc491573
* Remove pickup.lua.j-p-e-g2008-06-091-20/+45
| | | | | | | | | Make menu_colour_item_prefix also apply for autopickup_exceptions, so you can exclude, for example, all evil_eating at once. Fix Vampires "continuing draining" after having "stopped". git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5666 c06c8d41-db1a-0410-9941-cceddc491573
* Yikes, so many files! And all I did was add more item evaluationj-p-e-g2008-06-091-40/+317
| | | | | | | | | | | | | | | | | | | | | | | functions for menu colouring and pickup... Added: emergency_item, good_item, dangerous_item, bad_item, and useless_item, all taking into account player species and mutations, so e.g. =see invisible is useless for Naga, and !poison is always bad but only useless if you don't know Evaporate. Never autopickup useless, dangerous (e.g. ?immolation) or inedible items, and simplify the item colour/pickup options accordingly. I'll have to see if pickup.lua is still even needed after this. Removed the menu_colour_prefix_id option as I can't see any reason to turn it off. Oh, and fixed a bug where Kenku were unable to stop levitating if they gained level 15 while levitating. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5658 c06c8d41-db1a-0410-9941-cceddc491573
* Nerf damage of the bat transformation. Reduced fromj-p-e-g2008-06-071-0/+37
| | | | | | | | | | | | | | | | 2 + skill(unarmed_combat)/3 to 2 + rnd(skill(unarmed_combat)/5 + 1) Also replace the menu_colour_prefix colouring for prompts and the like to use message_colour instead, so those "msg" abbreviations in food_colouring.txt actually have an effect now, and players can disable colouring of prompts etc. (respects channels) while leaving it on in the inventory. I'm leaving the menu_colour_prefix function in for now, in case it can be used somewhere else. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5558 c06c8d41-db1a-0410-9941-cceddc491573
* Fix 1986252: double "Blech! You need xy!" messagej-p-e-g2008-06-061-2/+2
| | | | | | | | | | | | | | Fix 1966204: make non-amphibious undead capable of drowning or the equivalent thereof When you see a weapon with the returning ego return (to you or a monster) set the properties known along with the brand (because artefacts can't be id'd by throwing alone, anyway). This helps alleviate BR 1958616, but doesn't solve the problem with the curse status being unknown. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5499 c06c8d41-db1a-0410-9941-cceddc491573
* Fix summoned monsters spattering blood.j-p-e-g2008-06-031-1/+4
| | | | | | | Fix menu colouring giving away unknown evil items. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5456 c06c8d41-db1a-0410-9941-cceddc491573
* Bug/FR 1947001: For damaging cards add "You draw card xy" to the prompt,j-p-e-g2008-06-031-1/+13
| | | | | | | | | | | | | | so you can reread it while targetting, and add a targetting subcommand "show prompt" that'll do just that. (Though you can already do that by looking at the help.) Fix plain coloured items highlighted in grey in prompts, and add two new colouring prefixes: evil_item (/draining, necromancy books, etc.) and evil_eating (cannibalism, intelligent being) that only apply for the good gods. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5455 c06c8d41-db1a-0410-9941-cceddc491573
* Fix a stupid bug I'd introduced when fixing another one.j-p-e-g2008-06-021-0/+25
| | | | | | | | | | | | | | | Fix 1939901: Weapon listing not updated right away after being cursed. Put the code to colour arbitrary substrings of a message according to the menu_colour settings into a function of its own, and use it for pick up and eating prompts (currently from floor only) as well as for the "Things that are here" listing. Could be overly spammy, thus needs testing. If all works well, we can remove the "msg =" settings in food_colouring.txt that currently don't do anything anyway, or reuse them for non-prompt messages like "You see here a green rat corpse." git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5436 c06c8d41-db1a-0410-9941-cceddc491573
* * Fix some issues with the new food colourings, and make it respectj-p-e-g2008-06-011-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Modify menu_colour_item_prefix() to also handle stuff like contaminatedj-p-e-g2008-05-311-10/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | or poisonous chunks. Throw out all those special cases in food_colouring.txt and replace them with logic. I sure hope I got all special cases, but if not they should be easy enough to add. The functions are currently all in food.cc but they could easily be moved over to clua.cc and adapted accordingly if needed. New prefix shortcuts: * inedible (full herbi/carnivorousness, rotten food for non-saprovores) * preferred (respects foovorousness, rotten for ghouls, royal jelly for everyone) * poisonous * contaminated * mutagenic * rot-inducing (I also added one-liners to the descriptions of chunks of those types.) The changes apply to all menu types, but they don't handle messages. This is problematic in that you'd have to check the pickup menu to see which corpses are worth butchering, but I'm still against keeping all those manual checks for (currently) poisonous/mutagenic/... corpses, esp. as information like this can date quickly. Instead the butchering interface should be improved to somehow handle that, possibly by overriding the prompt colour with the specified colour if necessary. I don't think there are any other cases where this is important. Also add a prefix for equipped items and artefacts, so they can be easily checked for as well. I really think the identified/unidentified prefix should become default (and the option removed) - this allows for easy differentiation between identified and non-identified artefacts. The "known" prefix (for known wand charges or enchantments) is a bit less interesting but wouldn't hurt any (I think). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5373 c06c8d41-db1a-0410-9941-cceddc491573
* Modify tutorial messages for the new triggers. Thanks again, Matthew! :)j-p-e-g2008-05-291-27/+27
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5328 c06c8d41-db1a-0410-9941-cceddc491573
* Better support for settings files that include other files:dshaligram2008-05-261-0/+4
| | | | | | | | | | | | | | | | | | | | | | | - Files can be included as "include foo" in .crawlrc instead of using the Lua call: : crawl.read_options('foo'). include foo and the Lua crawl.read_options('foo') are not equivalent - Lua only runs after the start of a new game, which is too late for some option settings. - Crawl searches for included files in this sequence: - Absolute paths: use the path directly (but not if DATA_DIR_PATH is set, since we don't want Crawl to read arbitrary files on multiuser systems). - Search relative to the including file. - Search relative to any -rcdir(s) provided. - Search in the data file search path. - The data file search path now includes settings/ for when we move rc stuff to settings/ .gitignore: ignore saves and morgue dirs correctly. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5256 c06c8d41-db1a-0410-9941-cceddc491573
* Fix 1914059: randart jewellery inconsistently described as {tried} byj-p-e-g2008-05-251-7/+8
| | | | | | | | | | adding yet another entry to props. FR 1949504: Move version information into the help scroller, yay! It also looks much nicer now (if I may say so). Go, take a look! :) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5234 c06c8d41-db1a-0410-9941-cceddc491573
* Finally fix 1868761: Books in shops being noted as identified over andj-p-e-g2008-05-201-3/+6
| | | | | | | | | | | 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
* Add more minor cosmetic fixes.dolorous2008-04-281-0/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4715 c06c8d41-db1a-0410-9941-cceddc491573
* Go all the way and also store a randart's name and description inj-p-e-g2008-04-221-3/+3
| | | | | | | | | | | the props table. No more re-rolling every time we need the name, yay! :D Should be save file compatible, and I also modified my previous change to be save file compatible, after all. Not entirely sure this works, though, as I didn't have any old saved games to test this with. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4479 c06c8d41-db1a-0410-9941-cceddc491573
* Fixes to compile with Visual C++. Moved direct.cc and direct.h to directn.* ↵dshaligram2008-04-191-2/+2
| | | | | | to avoid conflict with VC++ direct.h header. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4390 c06c8d41-db1a-0410-9941-cceddc491573
* Restrict randart names to a maximum length of 30. (I'd really like to j-p-e-g2008-04-191-6/+17
| | | | | | | | | | | | | | | restrict it to about 25, but "The Shining One's" needs 20 letters, so that's out.) Don't automatically regard unID'd jewellery randarts as {tried}, instead use a (very) rough estimate: if you know at least one property, the item will be marked as tried, otherwise (e.g. if the only property is +Dam, or prevents spellcasting) it won't be marked at all. I'm not actually sure this is better than never outputting {tried} for randarts, but we'll see... git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4374 c06c8d41-db1a-0410-9941-cceddc491573
* Another code cleanup.j-p-e-g2008-04-151-35/+35
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4244 c06c8d41-db1a-0410-9941-cceddc491573
* Quiver work:pauldubois2008-04-141-0/+2
| | | | | | | | | | | | | | + bug: if wield sling and no quiver, then pick up stones: should quiver + implement: save and load (does not break saves) + remove: fire_quiver_best + remove: you.quiver + bug: identifying items doesn't update quiver properly + rename: you.quiver_change -> you.redraw_quiver + test no item because of =f git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4227 c06c8d41-db1a-0410-9941-cceddc491573
* Split potions of blood and potions of coagulated blood into twoj-p-e-g2008-03-261-19/+5
| | | | | | | | | | | | | | | | distinct potion types to make stacking easier. Coagulated blood is not created randomly, and aging potions of blood turn into potions of coagulated blood, so none of that changed. Well, except the name: congealed -> coagulated. This also means that they now have distinct descriptions, though seeing potions in your inventory coagulate will identify both of them. And I checked: potions in shops will coagulate as well and disappear. Coagulated blood is cheaper, but if you need it you won't want to wait around, right? git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3884 c06c8d41-db1a-0410-9941-cceddc491573
* Fix 1923913: blood spattering into fountainsj-p-e-g2008-03-241-7/+6
| | | | | | | | | | | Fix 1923487: jewelled helmets getting the "jewelled" randart description Fix 1923471: Suppress the beholding message if only attacking. Also remove ARM_HELM since it's identical in every way with ARM_HELMET and only serves to confuse coders. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3858 c06c8d41-db1a-0410-9941-cceddc491573
* Add some logic to unidentified potions of blood congealingj-p-e-g2008-03-191-1/+5
| | | | | | | | (Bug 1917520) and rename "deck of defense" -> "defence" to fix Bug 1919475. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3720 c06c8d41-db1a-0410-9941-cceddc491573
* Remove bogus comment.pauldubois2008-03-171-3/+6
| | | | | | | Fix longdesc for potions of congealed blood (1914523). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3687 c06c8d41-db1a-0410-9941-cceddc491573
* Overhauled potions of blood and vampires.j-p-e-g2008-03-131-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1.) Vampires can only suck blood from creatures with M_COLD_BLOOD or M_WARM_BLOOD set (no insects anymore!) These restrictions are the same for blood spatter. Also, the monster's corpse must be of type contaminated (e.g. gnoll) or clean. Everything will be rejected. 2.) At xl 6 vampires gain the ability to create potions of blood from butchered corpses. The delay is the same as for butchering, and they also need a butchering tool (since I now think fangs don't really cut it); only the messaging is different, and the result, of course. If the monster doesn't meet the restrictions in (1), the corpse gets butchered instead (important when there are necromancers roaming about) and the resulting chunks don't get the THROWN flag set because vampires are unlikely to want to pick them up. 3.) Potions of blood can turn bad. They last about 1200 turns which is a rather long time, though of course not infinite. Potions created from corpses take the corpse age into account. From age 199 downwards potions of blood are described as "congealed blood". The effect when quaffing is entirely the same, it's just a warning that the potion will soon disappear. I've moved the potion descriptions over into item.plus, so that I could use item.special for the timer to allow for easy comparison in update_corpses() etc. Ideally each stack of potions of blood would have a props vector attached (similarly to decks) with the timeout turns stored in order oldest to newest, so that you'd always drink the oldest potion first, and if a potion was too old it (and it's time value) would just drop out of the stack. Since I haven't got this to work yet, instead the weighted average age of two substacks is calculated and used for the combined stack. Congealed (age < 200) and comparatively fresh (age >= 200) potions of blood will never stack. As suggested in FR 191314, !blood are a now an additional power source for Sublimation of Blood, and the used potion turns into decay. And speaking of decay, I've modified the mummy curse to only affect a substack if the to-be-decayed potions are blood because I think losing your food source that way would be the equivalent of spores destroying all your food at the same time. I think that's it; might still be buggy though I *did* test with some vampires, both wiz-mode and not, and because of the special -> plus change for potions, existing potions will now all look alike (clear potions). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3626 c06c8d41-db1a-0410-9941-cceddc491573
* Fix new firing interface to also apply when selecting items via tile inventory.j-p-e-g2008-03-121-3/+4
| | | | | | | | | | | | | | | | | | | | | (This will also change the quiver, so that tile players no longer need to repeatedly choose the same stack of darts to fire: ff will work nicely.) Implement first part of FR 1911866: merging W/T, R/P The existing option "easy_unequip" now also allows direct choice of which armour to take off from the 'W' menu, and same for jewellery for 'P'. Warning inscriptions are respected. Now we only need to add a new sorting option sort_equipped that takes care of equipped stuff being listed first in the inventory. Last time I tried something like this (chunk sorting by age) I failed miserably, so I'm making no promises. Also tweak my recent {tried} modification to only apply to jewellery since for some reasons all unidentified randart weapons show {tried} where jewellery is really picky about which randarts have been tried and which haven't. Probably still needs fixing. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3607 c06c8d41-db1a-0410-9941-cceddc491573
* Add fixes based on ncampion's (slightly tweaked) patches:dolorous2008-03-111-5/+7
| | | | | | | | [1910635] database lookups of autoinscribed wands fail [1911451] mummies get a starvation warning git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3592 c06c8d41-db1a-0410-9941-cceddc491573
* A second round of cleaning up the paragraphs of the item descriptionsj-p-e-g2008-03-081-1/+1
| | | | | | | | | | | (view screen). It's now consistent for known artefacts, and also consistent for non-artefacts and unID'd artefacts. The two consistencies still differ by one linebreak, but that's really minor, and for the short descriptions (potions, scrolls, food etc.) it looks better this way anyway, I think. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3544 c06c8d41-db1a-0410-9941-cceddc491573
* [Fix 1884172] clean up paragraphs in item descriptionj-p-e-g2008-03-081-5/+10
| | | | | | | | | | | | | | This includes condensing skill category, handedness and str/dex bias into a consecutive text. [Fix 1909597] For consistency, add {tried} to tried, unID'd randart jewellery. Also, reintroduce the "may hold more properties" line that presumably vanished back at the randart jewellery id overhaul. [Fix 1909855] Incorrect randart name from database. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3541 c06c8d41-db1a-0410-9941-cceddc491573
* Fix [ 1902141 ] Documentation wrongpauldubois2008-03-021-4/+2
| | | | | | | | | | | | - changed number comments on a few enums - added a few COMPILE_CHECKs so they'll get caught Other: - Fix COMPILE_CHECK macro so it doesn't cause a warning in gcc. - Replace ASSERT(...) with COMPILE_CHECK(...) where possible. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3501 c06c8d41-db1a-0410-9941-cceddc491573
* Outsource randart names.j-p-e-g2008-02-241-14/+17
| | | | | | | | | | | Also: - Move database text files into subfolder "database", yay! - Don't print "uncursed" for identified randart weapons/jewellery as the status should be obvious once the name is known. - A bit of code cleanup (change in enum.h breaks saves!) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3460 c06c8d41-db1a-0410-9941-cceddc491573
* Implement [1891388]: Make Holy Word available in scroll form.dolorous2008-02-211-0/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3450 c06c8d41-db1a-0410-9941-cceddc491573
* Tweak recite to yield better results for holy beings.j-p-e-g2008-02-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | As their MR will be unachievably high no matter what, their "resist value" instead depends on your Invocations skill. Change calculation of power, so high values are easier to reach, to a maximum of 50. Also add special casing for neutral monsters so they no longer pretend not to have noticed you. Oh, and I found a problem concerning holy beings: Now that the player can actually meet hostile holy monsters the good gods reaction at killing one of them needs to be changed accordingly. We cannot simply restrict it to _friendly_ holy beings as, once hit, they won't be friendly anymore. Instead we'll have to use the CREATED_FRIENDLY flag that already takes care of not getting any xp for any being that used to be friendly. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3427 c06c8d41-db1a-0410-9941-cceddc491573
* Rework staves/rods to match the ID behaviour of wands etc., i.e.j-p-e-g2008-02-101-21/+36
| | | | | | | | | | | | | | | | | they get randomised but fixed descriptions at the beginning of the game, and once you know one type you'll be able to recognize another staff/rod of the same type. In the case of rods you'll still have to evoke it to find out the number of charges. I've tried to put the secondary descriptions into an order that will roughly match the ten current staff tiles. This solves part of FR 1837348, and is likely to cause havoc to saved games, at least concerning staves. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3424 c06c8d41-db1a-0410-9941-cceddc491573
* Don't output inscriptions for DESC_PLAIN and DESC_BASENAMEj-p-e-g2008-02-091-22/+25
| | | | | | | | descriptions. Also remove reference to weapons of disruption. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3413 c06c8d41-db1a-0410-9941-cceddc491573