mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-19 01:21:05 +01:00
100% chance for broken rails in mine shafts
This commit is contained in:
parent
9843e60efc
commit
63ee9f9d06
2 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@ if setting then
|
|||
end
|
||||
|
||||
-- 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"))
|
||||
if setting then
|
||||
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
|
||||
|
||||
#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
|
||||
#as other rail corridors (without destroying them, mostly). This may lead
|
||||
|
|
Loading…
Reference in a new issue