bunch of work on mineclone ores, moved main config into df_dependencies

This commit is contained in:
FaceDeer
2022-08-15 01:45:26 -06:00
parent 79d4b95c2b
commit e1eb163386
8 changed files with 198 additions and 41 deletions

View File

@ -51,6 +51,7 @@ df_mapitems.spawn_castle_coral = function(area, data, vi, iterations)
local zstride = area.zstride
local ystride = area.ystride
while run > 0 do
-- TODO should this be checking for not-water instead of stone?
if math.random() > 0.95 or data[index] == c_stone or not area:containsi(index) then return end
data[index] = c_coral
if iterations > 2 then