Conflicts: NEWS
@ -5,6 +5,7 @@ DFHack Future
Fixes
dfhack.run_script should correctly find save-specific scripts now.
Updated add-thought to properly affect stress.
hfs-pit should work now
New Plugins
New Scripts
New Tweaks
@ -20,7 +20,7 @@ wallOff = tonumber(args[2])
stairs = tonumber(args[3])
--Get the layer of the underworld
for index,value in ipairs(df.global.world.cur_savegame.map_features) do
for index,value in ipairs(df.global.world.features.map_features) do
local featureType=value:getType()
if featureType==9 then --Underworld
underworldLayer = value.layer