From f46a9ae4f72b1a13125362fa9aef5ec8b9ead4fb Mon Sep 17 00:00:00 2001 From: mckaygerhard Date: Thu, 21 Mar 2024 06:14:09 -0400 Subject: [PATCH] return back original chest fill but leave the refill on 30 minutes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * this was due the change from commit 1eb0bc363e1e7e4e4a754d0b0ca7df73ac3a1f11 of sys4 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 --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index b759ec3..a905a4a 100644 --- a/init.lua +++ b/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)]