From fb9f98191ae17b10512dd7525311f4909c425d35 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sat, 13 May 2017 22:14:00 +0200 Subject: [PATCH] Decrease rail corridor probability --- mods/MAPGEN/tsm_railcorridors/init.lua | 2 +- mods/MAPGEN/tsm_railcorridors/settingtypes.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/MAPGEN/tsm_railcorridors/init.lua b/mods/MAPGEN/tsm_railcorridors/init.lua index 574eed7b1c..f24a1a9b8f 100644 --- a/mods/MAPGEN/tsm_railcorridors/init.lua +++ b/mods/MAPGEN/tsm_railcorridors/init.lua @@ -14,7 +14,7 @@ end -- Wahrscheinlichkeit für jeden Chunk, solche Gänge mit Schienen zu bekommen -- 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")) if setting then probability_railcaves_in_chunk = P(setting) diff --git a/mods/MAPGEN/tsm_railcorridors/settingtypes.txt b/mods/MAPGEN/tsm_railcorridors/settingtypes.txt index 5ac15b7b7a..0c8378b20d 100644 --- a/mods/MAPGEN/tsm_railcorridors/settingtypes.txt +++ b/mods/MAPGEN/tsm_railcorridors/settingtypes.txt @@ -1,5 +1,5 @@ #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). tsm_railcorridors_way_min (Minimum rail corridor length) int 4 1