summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/food.cc
Commit message (Collapse)AuthorAgeFilesLines
* Various cleanups, use you.weapon() more often, fix a note in README.txt.Haran Pilpel2010-01-131-5/+2
|
* Rename transfor.{cc,h} to transform.{cc,h}.Adam Borowski2010-01-071-1/+1
|
* Don't colour bad food (poisoned, mutagenic, ...) as "preferred".Johanna Ploog2010-01-071-1/+2
|
* Ignore obscured items in the UIStefan O'Rear2009-12-301-6/+6
| | | | I probably missed a few spots.
* Replace uses of item_cursed with item_def::cursed.Vsevolod Kozlov2009-12-271-2/+2
|
* Remove further header-include. env.h now always directly included.Robert Vollmert2009-11-271-0/+1
|
* Replace uses of disease_player with player::sicken.Vsevolod Kozlov2009-11-221-3/+3
|
* Move tutorial state out of Options.Robert Vollmert2009-11-161-1/+1
|
* On second thought abstract increasing/setting durations a little.Charles Otto2009-11-151-2/+2
| | | | Add (and use) player methods for setting/increasing durations.
* Moidfy DUR_TRANSFORMATION to be delay based.Charles Otto2009-11-151-3/+3
|
* Remove #include <conio.h> from all over the place. Convert COLORS to an enum.Adam Borowski2009-11-141-4/+0
|
* Tied up loose ends regarding prayer to offer corpses to gods. Kiku now ↵Alex MacDonald2009-11-141-49/+16
| | | | 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.
* Move checks for the berserk state into actor::berserk().David Lawrence Ramsey2009-11-061-1/+1
|
* Rename is_valid_item to item_def::is_valid.Vsevolod Kozlov2009-11-061-11/+11
| | | | Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net>
* Move rot_player() to player::rot() (Zaba)Adam Borowski2009-11-051-2/+2
|
* Split game_options from externs.h into options.h.Robert Vollmert2009-11-041-0/+1
|
* Splitting up stuff.cc.Robert Vollmert2009-10-301-0/+1
| | | | New: colour.cc, coord.cc, coordit.cc, random.cc, rng.cc.
* Move library "item" from clua.cc to l_item.cc.Robert Vollmert2009-10-201-21/+0
|
* versioning: remove SVN-specific revision data, add Git versioningSteven Noonan2009-10-181-1/+0
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* Simplify.David Lawrence Ramsey2009-10-121-4/+2
|
* Add spacing fixes.David Lawrence Ramsey2009-10-111-12/+11
|
* Make gods that take corpse offerings do so without the butchery step,David Lawrence Ramsey2009-10-111-20/+16
| | | | | | i.e., allow merely praying over said corpses. Now, the only gods that pay attention to butchery are Kikubaaqudgha and Elyvilon. Also, add several miscellaneous fixes.
* Properly indicate the source of Kiku's torment.David Lawrence Ramsey2009-10-111-1/+1
|
* project-wide: implement use of platform.h detection macrosSteven Noonan2009-10-101-1/+1
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* Remove a lot of unneccessary includes.Robert Vollmert2009-10-091-1/+0
| | | | | | | The console version still compiles on Linux; both console and tiles version compile in OS X. I haven't been able to test the DOS and Windows compiles -- please fix or tell me about any errors that show up.
* Drop obsolete CVS last-committed headers ($Author$).Adam Borowski2009-10-061-2/+0
|
* Add minor cosmetic fixes.David Lawrence Ramsey2009-10-011-4/+5
|
* food.cc, religion.cc: remove merge conflict markersSteven Noonan2009-10-011-4/+0
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* Fix compilation (oops).David Lawrence Ramsey2009-10-011-0/+4
|
* Clean up the Kiku changes a bit.David Lawrence Ramsey2009-10-011-3/+3
|
* Applying Kiku patch by Alex MacDonald (timecircuits). Kiku now has an ↵evktalo2009-10-021-0/+12
| | | | | | | | invocation to provide corpses, provides (partial) torment resistance, provides torment when butchering while praying, and gifts Necromancy books. As the final gift, the player can choose between blessing the wielded weapon with Pain brand, or Necronomicon. Flavour and help texts haven't been altered yet. Signed-off-by: evktalo <evktalo@users.sourceforge.net>
* Fix 2836574: butchering with fingernails removing both gloves andj-p-e-g2009-08-141-2/+1
| | | | | | | wielding a weapon. Patch by jokeserver. Thanks! git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10544 c06c8d41-db1a-0410-9941-cceddc491573
* Apply caotto's plant god patch, for now named "Feawn".j-p-e-g2009-07-201-0/+8
| | | | | | | Also fix potions of porridge's menu colour being yellow for Mummies. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10355 c06c8d41-db1a-0410-9941-cceddc491573
* Fix gloved butchery, using part of evktalo's patch plus a minor hack to dolorous2009-07-151-6/+14
| | | | | | | ensure that the gloves are removed exactly when they should be. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10224 c06c8d41-db1a-0410-9941-cceddc491573
* Remove unneeded blank line.dolorous2009-07-131-1/+0
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10203 c06c8d41-db1a-0410-9941-cceddc491573
* Fix 2815574: Venom card not waking monsters.j-p-e-g2009-07-041-5/+12
| | | | | | | | | | | | | Fix 2815185: Not updating wield display for rotting chunks. Fix 2812496: Wrong message when attempting to chop with unwieldable weapons. (Small patch by rafalmaj.) Fix 2811476: Turn autopickup back on when gaining see invisible (mutation, ring, artefact, spell). Fix 2806314: Remove coinflip() for Sandblast range. Wielding rocks now guarantees range of 2. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10096 c06c8d41-db1a-0410-9941-cceddc491573
* First part of the merger of fixed artefacts into unrandom artefactszelgadis2009-06-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (further changes will be much smaller). Breaks savefile compatibility, and bumps the major savefile version up to 6. Some changes made to some tiles files, but it hasn't been tested with a tiles build. Overview of changes: * Unrand artefacts are now defined in art-data.txt and is turned into C code via util/art-data.pl. This has the dual advantage of being more readable by humans, and that if the unrand data structure changes then you can just change util/art-data.pl and regenerate the C code rather than having to change some 70 different C structs by hand. * util/art-data.pl automatically updates NO_UNRANDARTS, and also automatically generates an enumeration of all the unrands which are equal to their item.special field. * randart.cc and randart.h have been renamed to artefact.cc and artefact.h, since the files covers all types of artefacts, and the differences between randarts, unrandarts and (former) fixed arts have been minimized since the terms were introduced. Also renamed unrand.h to art-data.h * The brands and resistances of former fixed arts are now handled via artefact properties, but the rest of their special behaviours are still hardcoded. * Unrandarts are now distinguished between normal and "special", with the special ones currently just being identical to the list of the formed fixed arts. Special unrandarts are randomly generated less often than normal unrandarts, can be generated in the Abyss if they've been lost, can't be picked up by monsters, and can't be affected by Tukima's Dance. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10035 c06c8d41-db1a-0410-9941-cceddc491573
* Since fixed artefacts are going to be folded into unrandarts, and unrandartszelgadis2009-06-081-1/+1
| | | | | | | | | | | have already become almost identical to randarts, change "randart" to "artefact" everywhere except for things that deal exclusively with randarts. Artefact related files will be renamed later. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9921 c06c8d41-db1a-0410-9941-cceddc491573
* Add minor cosmetic fix.dolorous2009-05-281-2/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9844 c06c8d41-db1a-0410-9941-cceddc491573
* Add message tweak suggested in [2796890]: For players with a level of dolorous2009-05-281-3/+22
| | | | | | | | saprovore between 1 and 2 (inclusive) who don't like chunks, describe raw flesh as tasting "unpleasant" instead of "terrible." git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9843 c06c8d41-db1a-0410-9941-cceddc491573
* Some tutorial additions:zelgadis2009-05-231-0/+5
| | | | | | | | | | | | | | | | | | | * In tutorial messages about butchering a corpse, give additional info if you're unable to butcher because you're wielding a cursed non-chopping weapon or because you have no chopping weapons. * In the tutorial message about being burdened or having a full pack, mention that you can easily find items you've left on the ground by using the "search stashes" command, and also warn that items left on the ground can be picked up and used by monsters. * When giving detailed info on an examined staircase, mention if the staircase is one that you have not yet passed through. * A new tutorial-end hint about the #crawl IRC channel on freenode. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9798 c06c8d41-db1a-0410-9941-cceddc491573
* * Fix Bat Form restrictions not applying to choice by clicking (Tiles).j-p-e-g2009-05-181-1/+1
| | | | | | | * Allow </> as synonyms for left/right hand in swap_rings(). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9791 c06c8d41-db1a-0410-9941-cceddc491573
* * Tweak Xom's ideas about what makes a funny or boring death.j-p-e-g2009-04-221-8/+4
| | | | | | | | | * Add another option (*sigh*) covering whether W=T and P=R. (Defaults to false.) * Various spacing and comment fixes. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9675 c06c8d41-db1a-0410-9941-cceddc491573
* Add more minor cosmetic fixes.dolorous2009-04-191-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9653 c06c8d41-db1a-0410-9941-cceddc491573
* * Fix 2744875 (mutation screen assert).j-p-e-g2009-04-111-4/+4
| | | | | | | | | | * Rename KeymapContext KC_* -> KMC_* to avoid overlap with kill_category KC_*. * Increase odds for chaos brands mimicking brands that hurt the defender. * Tweak chaos_affects_attacker(). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9595 c06c8d41-db1a-0410-9941-cceddc491573
* * Don't offer rotten chunks for wearers of "otG since it doesn'tj-p-e-g2009-03-221-2/+1
| | | | | | | | | actually allow eating of rotten stuff. * Tweak Xom's mood descriptions -> shortened to 7. * Increase chance of Xom acting under tension: 5% -> 10% git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9535 c06c8d41-db1a-0410-9941-cceddc491573
* Overlay tiles in menu with tiles for being equipped/cursed/melded, thej-p-e-g2009-03-141-1/+2
| | | | | | | flavoured floor, and weapon brands. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9477 c06c8d41-db1a-0410-9941-cceddc491573
* Various documentation tweaks. Among others, replace all references toj-p-e-g2009-03-121-0/+2
| | | | | | | | "class" with "job", and "race" with "species" because that comes much closer to what they actually are. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9425 c06c8d41-db1a-0410-9941-cceddc491573
* Fix the amulet of the gourmand autoid when drinking potions of blood.dolorous2009-03-061-4/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9348 c06c8d41-db1a-0410-9941-cceddc491573
* FR 2533562: Move the CRAWL_PIZZA / -pizza options into the init filenlanza2009-02-271-2/+2
| | | | | | | so that they're more easily accessible in hosted games. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9250 c06c8d41-db1a-0410-9941-cceddc491573