Increase chance to spawn cart

This commit is contained in:
Wuzzy 2017-08-14 20:36:22 +02:00
parent 062af3d4ba
commit d20c3bee46
2 changed files with 3 additions and 2 deletions

View File

@ -66,7 +66,7 @@ if setting then
end end
-- Probability for every part of a corridor to contain a cart -- Probability for every part of a corridor to contain a cart
local probability_cart = P(0.05) local probability_cart = P(0.1)
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)

View File

@ -23,7 +23,8 @@ 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. #Probability (0.0 to 1.0) for every part of a rail corridor to include a cart.
#Note: The rail may still be subject to rail damage, so the probability #Note: The rail may still be subject to rail damage, so the probability
#of finding a cart in rail corridors with high rail damage will be lower. #of finding a cart in rail corridors with high rail damage will be lower.
tsm_railcorridors_probability_cart (Cart probability) float 0.05 0.0 1.0 #Note that cart spawning is experimental, carts often fail to spawn even if they should.
tsm_railcorridors_probability_cart (Cart probability) float 0.10 0.0 1.0
#If enabled, cobwebs may be placed in some corridors. #If enabled, cobwebs may be placed in some corridors.
#Currently, cobwebs are only supported with the Mobs Redo mod. #Currently, cobwebs are only supported with the Mobs Redo mod.