mirror of
https://github.com/FaceDeer/dfcaverns.git
synced 2025-07-22 10:20:25 +02:00
add doc support and some initial doc strings
This commit is contained in:
@ -175,7 +175,7 @@ local level_1_cave_floor = function(area, data, ai, vi, bi, param2_data)
|
||||
data[bi] = c_cobble_fungus
|
||||
if math.random() < 0.15 then
|
||||
if data[vi] == c_air then
|
||||
dfcaverns.place_shrub(data, vi, param2_data, {c_plump_helmet, c_dead_fungus, c_dead_fungus, c_dead_fungus, c_cavern_fungi})
|
||||
dfcaverns.place_shrub(data, vi, param2_data, {c_plump_helmet, c_dead_fungus, c_dead_fungus, c_cavern_fungi, c_cavern_fungi})
|
||||
end
|
||||
end
|
||||
return
|
||||
|
@ -269,7 +269,7 @@ end
|
||||
local level_2_cave_floor = function(area, data, ai, vi, bi, param2_data)
|
||||
if dfcaverns.can_support_vegetation[data[bi]] then
|
||||
data[bi] = c_cobble_fungus
|
||||
if math.random() < 0.25 then
|
||||
if math.random() < 0.15 then
|
||||
if data[vi] == c_air then
|
||||
dfcaverns.place_shrub(data, vi, param2_data, {c_plump_helmet, c_pig_tail, c_dead_fungus, c_dead_fungus, c_cavern_fungi})
|
||||
end
|
||||
|
@ -275,7 +275,7 @@ end
|
||||
local level_3_cave_floor = function(area, data, ai, vi, bi, param2_data)
|
||||
if dfcaverns.can_support_vegetation[data[bi]] then
|
||||
data[bi] = c_dirt_moss
|
||||
if math.random() < 0.25 then
|
||||
if math.random() < 0.10 then
|
||||
if data[vi] == c_air then
|
||||
dfcaverns.place_shrub(data, vi, param2_data, {c_plump_helmet, c_quarry_bush, c_dead_fungus, c_dead_fungus, c_cavern_fungi})
|
||||
end
|
||||
|
Reference in New Issue
Block a user