diff options
Diffstat (limited to 'crawl-ref/source/lua/safechnk.lua')
-rw-r--r-- | crawl-ref/source/lua/safechnk.lua | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/crawl-ref/source/lua/safechnk.lua b/crawl-ref/source/lua/safechnk.lua index 0fc5fe7c9d..447981f141 100644 --- a/crawl-ref/source/lua/safechnk.lua +++ b/crawl-ref/source/lua/safechnk.lua @@ -17,12 +17,8 @@ --------------------------------------------------------------------------- function sc_safechunk(rot, race, mon) - if race == "Ghoul" then - return true - end - if rot then - if race ~= "Kobold" and race ~= "Troll" then + if you.saprovorous() < 2 then return false end end @@ -32,7 +28,7 @@ function sc_safechunk(rot, race, mon) end if sc_hcl[mon] or sc_mut[mon] then - return false + return race == "Ghoul" end -- Only contaminated and clean chunks remain, in theory. We'll accept |