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