Skip to content

Commit

Permalink
Make Slime walls disappear on killing TRJ
Browse files Browse the repository at this point in the history
Especially with non-Jiyva jellies no longer eating items, there's not really
any good reason to require a method of digging to access the Slime loot.
  • Loading branch information
Chris Campbell committed Sep 19, 2016
1 parent 0a4d0e9 commit 9239046
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions crawl-ref/source/dat/des/branches/slime.des
Expand Up @@ -8,25 +8,18 @@ function fixup_slime_vaults(data, triggerable, triggerer, marker, ev)
return
end

local to_feat
if you.god() == "Jiyva" and you.one_time_ability_used() then
to_feat = "floor"
else
to_feat = "clear_rock_wall"
end

local seen = dgn.seen_replace_feat("stone_wall", to_feat)
seen = dgn.seen_replace_feat("clear_stone_wall", to_feat) or seen
local seen = dgn.seen_replace_feat("stone_wall", "floor")
seen = dgn.seen_replace_feat("clear_stone_wall", "floor") or seen

if you.god() == "Jiyva" and you.piety_rank() >= 6 then
if you.silenced() then
crawl.mpr("An unexplained breeze blows through the dungeon.", "god")
crawl.mpr("You feel a strange vibration for a moment.", "god")
else
crawl.mpr("You hear the sound of toppling stones.", "god")
end
else
if seen then
crawl.mpr("Suddenly, the colour oozes out of the stone walls.",
crawl.mpr("The stone walls suddenly crumble and collapse.",
"monster_enchant")
else
crawl.mpr("You feel a strange vibration for a moment.",
Expand Down

0 comments on commit 9239046

Please sign in to comment.