Decrease rail corridor probability
This commit is contained in:
parent
6104a2d40f
commit
fb9f98191a
|
@ -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.33333)
|
local probability_railcaves_in_chunk = P(0.2)
|
||||||
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.33333 0.0 1.0
|
tsm_railcorridors_probability_railcaves_in_chunk (Rail corridor probability) float 0.2 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 New Issue