1
0
mirror of https://github.com/minetest/minetest_game.git synced 2025-06-30 05:40:24 +02:00

Add loot to dungeons (#1921)

This commit is contained in:
sfan5
2017-10-27 13:34:41 +02:00
committed by GitHub
parent 36df80fc45
commit 49cc4c7c63
8 changed files with 310 additions and 3 deletions

View File

@ -0,0 +1,8 @@
dungeon_loot = {}
dungeon_loot.CHESTS_MIN = 0 -- not necessarily in a single dungeon
dungeon_loot.CHESTS_MAX = 2
dungeon_loot.STACKS_PER_CHEST_MAX = 8
dofile(minetest.get_modpath("dungeon_loot") .. "/loot.lua")
dofile(minetest.get_modpath("dungeon_loot") .. "/mapgen.lua")