mirror of
https://github.com/BenjieFiftysix/sponge.git
synced 2025-01-04 12:07:38 +01:00
decrease generation depth, and make it configurable (I got frustrated)
This commit is contained in:
parent
a4a9b007bc
commit
0004c59ee9
2
init.lua
2
init.lua
@ -213,7 +213,7 @@ minetest.register_decoration({ -- sponges are found deep in the sea
|
|||||||
spawn_by = "default:water_source",
|
spawn_by = "default:water_source",
|
||||||
num_spawn_by = 3,
|
num_spawn_by = 3,
|
||||||
fill_ratio = 0.0003,
|
fill_ratio = 0.0003,
|
||||||
y_max = -12,
|
y_max = minetest.settings:get("sponge_generation_depth") or -9,
|
||||||
flags = "force_placement",
|
flags = "force_placement",
|
||||||
decoration = modname..":soggy_sponge",
|
decoration = modname..":soggy_sponge",
|
||||||
})
|
})
|
||||||
|
@ -18,3 +18,6 @@ sponge_shape_sphere (Sphere shape) bool true
|
|||||||
# Replace liquids with air instead of liquid blocking nodes.
|
# Replace liquids with air instead of liquid blocking nodes.
|
||||||
# This causes water to flow back immediately after placing the sponge
|
# This causes water to flow back immediately after placing the sponge
|
||||||
sponge_replace_with_air (Replace with air) bool false
|
sponge_replace_with_air (Replace with air) bool false
|
||||||
|
|
||||||
|
# Depth at which sponges start generating
|
||||||
|
sponge_generation_depth (Generation depth) int -9
|
||||||
|
Loading…
Reference in New Issue
Block a user