Modifie la génération des objets dans les coffres

This commit is contained in:
sys4-fr 2018-12-22 11:17:04 +01:00
parent 55f4a1f292
commit 57adec6576
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ function pyramids.fill_chest(pos)
if random(1,10) < 7 then return end
local stacks = {}
if minetest.get_modpath("treasurer") ~= nil then
stacks = treasurer.select_random_treasures(3,7,9,{"minetool", "food", "crafting_component"})
stacks = treasurer.select_random_treasures(3,1,5,{"armes", "armures", "precieux"})
else
for i=0,2,1 do
local stuff = chest_stuff[random(1,#chest_stuff)]