Sort loot registration into respective mods

This commit is contained in:
An0n3m0us 2020-02-20 23:37:57 +00:00
parent 34b410319e
commit 46e4c7be12
9 changed files with 47 additions and 20 deletions

View file

@ -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 dungeon_loot and dungeon_loot.register then
dungeon_loot.register({
name = "carts:rail", chance = 0.35, count = {1, 6}
})
end

View file

@ -1,3 +1,3 @@
name = carts
description = Carts (formerly boost_cart)
depends = default, player_api
depends = default, player_api, dungeon_loot