return back original chest fill but leave the refill on 30 minutes
* this was due the change from commit 1eb0bc363e1e7e4e4a754d0b0ca7df73ac3a1f11 of sys4 <sys4@sys4.fr> at Fri Dec 27 01:22:46 2019 +0100 that said: Ajoute remplissage des coffres 30 minutes après ouverture et modifie les items générés par ceux de nalc_trm merged at commit dfd03b56c686e821a11a5a53efbee49376f0ce9e
This commit is contained in:
parent
ffdc7cd035
commit
f46a9ae4f7
2
init.lua
2
init.lua
@ -92,7 +92,7 @@ function tsm_pyramids.fill_chest(pos, stype, flood_sand, treasure_chance)
|
||||
-- Add treasures
|
||||
if math.random(1,100) <= treasure_chance then
|
||||
if minetest.get_modpath("treasurer") ~= nil then
|
||||
stacks = treasurer.select_random_treasures(3,1,5,{"armes", "armures", "precieux", "nourriture"})
|
||||
stacks = treasurer.select_random_treasures(3,1,5,{"minetool", "food", "crafting_component"})
|
||||
else
|
||||
for i=0,2,1 do
|
||||
local stuff = chest_stuff.normal[math.random(1,#chest_stuff.normal)]
|
||||
|
Loading…
x
Reference in New Issue
Block a user