mirror of
https://github.com/FaceDeer/dfcaverns.git
synced 2025-07-12 13:30:30 +02:00
bunch of work on mineclone ores, moved main config into df_dependencies
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user