From 25b65e4b7d65431c9032db54c3db496e66bdb1e8 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sat, 17 Nov 2018 15:59:01 +0100 Subject: [PATCH] Remove tsm_railcorridors_probability_cart for now --- mods/MAPGEN/tsm_railcorridors/init.lua | 2 ++ mods/MAPGEN/tsm_railcorridors/settingtypes.txt | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/mods/MAPGEN/tsm_railcorridors/init.lua b/mods/MAPGEN/tsm_railcorridors/init.lua index b95144b252..358b652181 100644 --- a/mods/MAPGEN/tsm_railcorridors/init.lua +++ b/mods/MAPGEN/tsm_railcorridors/init.lua @@ -70,10 +70,12 @@ end -- “m_static_exists=true but static data doesn't actually exist in (x,y,z) -- TODO: Set back to 0.05 if this is fixedd. local probability_cart = P(0) +--[[ setting = tonumber(minetest.settings:get("tsm_railcorridors_probability_cart")) if setting then probability_cart = P(setting) end +]] -- Probability for a rail corridor system to be damaged local probability_damage = P(1.0) diff --git a/mods/MAPGEN/tsm_railcorridors/settingtypes.txt b/mods/MAPGEN/tsm_railcorridors/settingtypes.txt index 36d8365aa7..b21662c621 100644 --- a/mods/MAPGEN/tsm_railcorridors/settingtypes.txt +++ b/mods/MAPGEN/tsm_railcorridors/settingtypes.txt @@ -20,9 +20,6 @@ tsm_railcorridors_probability_fork (Fork probability) float 0.04 0.0 1.0 #Probability (0.0 to 1.0) for every part of a rail corridor to contain a treasure chest. tsm_railcorridors_probability_chest (Chest probability) float 0.05 0.0 1.0 -#Probability (0.0 to 1.0) for every part of a rail corridor to include a cart. -tsm_railcorridors_probability_cart (Cart probability) float 0.05 0.0 1.0 - #Probability (0.0 to 1.0) for a rail corridor system to have damaged/incomplete railways tsm_railcorridors_probability_damage (Damaged railway probability) float 1.0 0.0 1.0