diff options
author | Shmuale Mark <shm.mark@gmail.com> | 2014-06-27 12:30:26 -0400 |
---|---|---|
committer | Shmuale Mark <shm.mark@gmail.com> | 2014-06-27 17:28:08 -0400 |
commit | 0ee874285754ebe67ac18513d4948263e5763441 (patch) | |
tree | 8878fc41ea76bb30c013a794910ab26a3edb5abd /crawl-ref/source/dbg-scan.cc | |
parent | 879dee472e0ced9a1b5b25f5d57624f43e38fe7f (diff) | |
download | crawl-ref-0ee874285754ebe67ac18513d4948263e5763441.tar.gz crawl-ref-0ee874285754ebe67ac18513d4948263e5763441.zip |
Decontaminate all chunks.
"This chunk gives you less nutrition" is not a very interesting effects,
and most of the time the only real effect is that you have to press 'e' a
few more times. If chunks on the whole are too common (which in the
current food environment is very hard to define) monsters in general can
give fewer chunks, or chunks can be less nutritious; no reason to make
some monsters special.
A good deal of code is still around because of the other less-nutrition
case, non-ghoul saprovores eating rotten chunks.
Diffstat (limited to 'crawl-ref/source/dbg-scan.cc')
-rw-r--r-- | crawl-ref/source/dbg-scan.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/crawl-ref/source/dbg-scan.cc b/crawl-ref/source/dbg-scan.cc index b35e651783..160ce3af87 100644 --- a/crawl-ref/source/dbg-scan.cc +++ b/crawl-ref/source/dbg-scan.cc @@ -1391,8 +1391,6 @@ void objstat_record_monster(monster *mons) int mons_ind = valid_monsters[mons->type]; corpse_effect_type chunk_effect = mons_corpse_effect(mons->type); - bool is_contam = chunk_effect == CE_POISON_CONTAM - || chunk_effect == CE_CONTAMINATED; bool is_clean = chunk_effect == CE_CLEAN || chunk_effect == CE_POISONOUS; level_id lev = level_id::current(); @@ -1412,12 +1410,6 @@ void objstat_record_monster(monster *mons) { _record_monster_stat(lev, mons_ind, "TotalNormNutr", chunks * CHUNK_BASE_NUTRITION); - } - else if (is_contam) - _record_monster_stat(lev, mons_ind, "TotalNormNutr", - chunks * CHUNK_BASE_NUTRITION / 2.0); - if (is_clean || is_contam) - { _record_monster_stat(lev, mons_ind, "TotalGourmNutr", chunks * CHUNK_BASE_NUTRITION); } |