Fix vibrating square

The Gehennom changes broke the vibrating square, allowing hero to go
down into the Sanctum via stairs without performing the invocation.

Fix this by making the hellfill lua check for invocation level, and
placing down the vibrating square trap, instead of stairs.
This commit is contained in:
Pasi Kallinen
2023-01-19 12:12:26 +02:00
parent 8952ea9bb5
commit 1113373892
5 changed files with 66 additions and 48 deletions

View File

@@ -257,6 +257,10 @@ hells[hellno]();
--
des.stair("up")
des.stair("down")
if (u.invocation_level) then
des.trap("vibrating square");
else
des.stair("down")
end
populatemaze();