mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-22 16:09:33 +01:00
Rail corridor likelihood=0.3
This commit is contained in:
parent
2191ebe1e7
commit
ece2574336
2 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ end
|
||||||
|
|
||||||
-- Wahrscheinlichkeit für jeden Chunk, solche Gänge mit Schienen zu bekommen
|
-- Wahrscheinlichkeit für jeden Chunk, solche Gänge mit Schienen zu bekommen
|
||||||
-- Probability for every newly generated chunk to get corridors
|
-- Probability for every newly generated chunk to get corridors
|
||||||
local probability_railcaves_in_chunk = P(0.2)
|
local probability_railcaves_in_chunk = P(0.3)
|
||||||
setting = tonumber(minetest.setting_get("tsm_railcorridors_probability_railcaves_in_chunk"))
|
setting = tonumber(minetest.setting_get("tsm_railcorridors_probability_railcaves_in_chunk"))
|
||||||
if setting then
|
if setting then
|
||||||
probability_railcaves_in_chunk = P(setting)
|
probability_railcaves_in_chunk = P(setting)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#Probability (0.0 to 1.0) for every newly generated chunk to get rail corridors.
|
#Probability (0.0 to 1.0) for every newly generated chunk to get rail corridors.
|
||||||
tsm_railcorridors_probability_railcaves_in_chunk (Rail corridor probability) float 0.2 0.0 1.0
|
tsm_railcorridors_probability_railcaves_in_chunk (Rail corridor probability) float 0.3 0.0 1.0
|
||||||
|
|
||||||
#Minimum rail corridor path length (excludes forks).
|
#Minimum rail corridor path length (excludes forks).
|
||||||
tsm_railcorridors_way_min (Minimum rail corridor length) int 4 1
|
tsm_railcorridors_way_min (Minimum rail corridor length) int 4 1
|
||||||
|
|
Loading…
Reference in a new issue