Remove tsm_railcorridors_probability_cart for now

This commit is contained in:
Wuzzy 2018-11-17 15:59:01 +01:00
parent 4703ca9ae6
commit 25b65e4b7d
2 changed files with 2 additions and 3 deletions

View file

@ -70,10 +70,12 @@ end
-- “m_static_exists=true but static data doesn't actually exist in (x,y,z) -- “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. -- TODO: Set back to 0.05 if this is fixedd.
local probability_cart = P(0) local probability_cart = P(0)
--[[
setting = tonumber(minetest.settings:get("tsm_railcorridors_probability_cart")) setting = tonumber(minetest.settings:get("tsm_railcorridors_probability_cart"))
if setting then if setting then
probability_cart = P(setting) probability_cart = P(setting)
end end
]]
-- Probability for a rail corridor system to be damaged -- Probability for a rail corridor system to be damaged
local probability_damage = P(1.0) local probability_damage = P(1.0)

View file

@ -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. #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 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 #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 tsm_railcorridors_probability_damage (Damaged railway probability) float 1.0 0.0 1.0