Separate fortress monster spawn system

This commit is contained in:
Duane Robertson 2016-05-30 05:19:13 -05:00
parent 85353e0ce6
commit aa44226a4e
6 changed files with 89 additions and 9 deletions

View file

@ -235,7 +235,8 @@ local function generate(p_minp, p_maxp, seed)
data[ivm] = inner_floor
end
elseif (z - minp.z) % 5 == 0 or (x - minp.x) % 5 == 0 then
data[ivm] = DEBUG and node["default:glass"] or inner_wall
--data[ivm] = DEBUG and node["default:glass"] or inner_wall
data[ivm] = inner_wall
else
data[ivm] = node["air"]
end