1
0
Fork 0

100% chance for broken rails in mine shafts

This commit is contained in:
Wuzzy 2017-05-15 21:25:37 +02:00
parent 9843e60efc
commit 63ee9f9d06
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

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