1
0
Fork 0

Rail corridor likelihood=0.3

This commit is contained in:
Wuzzy 2017-05-14 01:59:22 +02:00
parent 2191ebe1e7
commit ece2574336
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.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)

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