Decrease rail corridor probability

This commit is contained in:
Wuzzy 2017-05-13 22:14:00 +02:00
parent 6104a2d40f
commit fb9f98191a
2 changed files with 2 additions and 2 deletions

View file

@ -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)

View file

@ -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