Sort loot registration into respective mods (#2602)
This commit is contained in:
parent
34b410319e
commit
8d9aa07752
9 changed files with 44 additions and 16 deletions
|
@ -19,3 +19,10 @@ carts.path_distance_max = 3
|
|||
dofile(carts.modpath.."/functions.lua")
|
||||
dofile(carts.modpath.."/rails.lua")
|
||||
dofile(carts.modpath.."/cart_entity.lua")
|
||||
|
||||
-- Register rails as dungeon loot
|
||||
if minetest.global_exists("dungeon_loot") then
|
||||
dungeon_loot.register({
|
||||
name = "carts:rail", chance = 0.35, count = {1, 6}
|
||||
})
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue