diff options
Diffstat (limited to 'loot.lua')
-rw-r--r-- | loot.lua | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/loot.lua b/loot.lua new file mode 100644 index 0000000..e687724 --- /dev/null +++ b/loot.lua @@ -0,0 +1,30 @@ +if not minetest.get_modpath("loot") then + return +end + +loot.register_loot({ + weights = { generic = 50 }, + payload = { + stack = ItemStack("currency:minegeld"), + min_size = 1, + max_size = 250, + }, +}) + +loot.register_loot({ + weights = { generic = 50 }, + payload = { + stack = ItemStack("currency:minegeld_5"), + min_size = 1, + max_size = 50, + }, +}) + +loot.register_loot({ + weights = { generic = 50 }, + payload = { + stack = ItemStack("currency:minegeld_10"), + min_size = 1, + max_size = 10, + }, +})
\ No newline at end of file |