100% chance for broken rails in mine shafts
parent
9843e60efc
commit
63ee9f9d06
|
@ -66,7 +66,7 @@ if setting then
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Probability for a rail corridor system to be damaged
|
-- Probability for a rail corridor system to be damaged
|
||||||
local probability_damage = P(0.90)
|
local probability_damage = P(1.0)
|
||||||
setting = tonumber(minetest.setting_get("tsm_railcorridors_probability_damage"))
|
setting = tonumber(minetest.setting_get("tsm_railcorridors_probability_damage"))
|
||||||
if setting then
|
if setting then
|
||||||
probability_damage = P(setting)
|
probability_damage = P(setting)
|
||||||
|
|
|
@ -21,7 +21,7 @@ tsm_railcorridors_probability_fork (Fork probability) float 0.04 0.0 1.0
|
||||||
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 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 0.90 0.0 1.0
|
tsm_railcorridors_probability_damage (Damaged railway probability) float 1.0 0.0 1.0
|
||||||
|
|
||||||
#If enabled, rail corridors continue to generate through obstacles such
|
#If enabled, rail corridors continue to generate through obstacles such
|
||||||
#as other rail corridors (without destroying them, mostly). This may lead
|
#as other rail corridors (without destroying them, mostly). This may lead
|
||||||
|
|
Loading…
Reference in New Issue