diff options
author | Johanna Ploog <j-p-e-g@users.sourceforge.net> | 2010-08-22 23:35:46 +0200 |
---|---|---|
committer | Johanna Ploog <j-p-e-g@users.sourceforge.net> | 2010-08-22 23:35:46 +0200 |
commit | 432084446b594cf8dffcd8729373c2b47c5bcc1a (patch) | |
tree | c4357c25f051d8c0f7418ee51a4d9914255f0c67 /crawl-ref/source/food.h | |
parent | 00e47ed0b550ac3d1aad22e896edf8104837db53 (diff) | |
download | crawl-ref-432084446b594cf8dffcd8729373c2b47c5bcc1a.tar.gz crawl-ref-432084446b594cf8dffcd8729373c2b47c5bcc1a.zip |
Add new chunk type that is both poisonous and contaminated.
If the player is poison resistant, its effects are the same as for
contaminated flesh, otherwise poisonous ones. I never liked how,
once you've got poison res. swamp drake or gila monster corpses are
all of a sudden more healthy than, say, goblins or fire drakes.
I changed some monsters to use this one instead of CE_POISONOUS.
Feel free to make further changes.
Diffstat (limited to 'crawl-ref/source/food.h')
-rw-r--r-- | crawl-ref/source/food.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/food.h b/crawl-ref/source/food.h index b0449c1acf..8cdef5ed14 100644 --- a/crawl-ref/source/food.h +++ b/crawl-ref/source/food.h @@ -63,6 +63,7 @@ bool check_amu_the_gourmand(bool reqid); bool can_ingest(int what_isit, int kindof_thing, bool suppress_msg, bool reqid = false, bool check_hunger = true); +bool chunk_is_poisonous(int chunktype); void eat_floor_item(int item_link); int eat_from_floor(bool skip_chunks = true); |