Skip to content
Snippets Groups Projects
Commit a977139c authored by Lisa Greene's avatar Lisa Greene
Browse files

Update vor special vault chances

parent 9833100f
No related branches found
No related tags found
2 merge requests!617WIP: experienmental i18n support,!6121.6.7 Misc Vaults
......@@ -50,10 +50,6 @@ tm:applyOnGroups(rooms, function(room, idx)
-- A spot for subvaults
local event = room:pickSpot("any")
if event then
if rng.percent(20) and not game.state:doneEvent("renegade-pyromancers") then
game.state:doneEvent("renegade-pyromancers",1) -- special vault! can only show once per game and only in vor pride; contains exceptionally difficult foes and exceptional loot
game.level.data.generator.map.greater_vaults_list = {"renegade-pyromancers"}
end
self:addSpot(event, "event-spot", "subvault-place")
room:remove(event)
end
......@@ -71,6 +67,11 @@ tm:applyOnGroups(rooms, function(room, idx)
end
end)
if rng.percent(15) and not game.state:doneEvent("renegade-pyromancers") then
game.state:doneEvent("renegade-pyromancers",1) -- special vault! can only show once per game and only in vor pride; contains exceptionally difficult foes and exceptional loot
game.level.data.generator.map.greater_vaults_list = {"renegade-pyromancers"}
end
-- Complete the map by putting wall in all the remaining blank spaces
tm:fillAll()
-- if tm:eliminateByFloodfill{'#', 'T'} < 400 then return self:regenerate() end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment