From f7b1babdc6ccba2251761fbcdc84af4708f30b4c Mon Sep 17 00:00:00 2001 From: sys4-fr Date: Sun, 23 Dec 2018 16:05:04 +0100 Subject: [PATCH] Change la profondeur de spawn des mines --- init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index def7e44..2dffe8e 100644 --- a/init.lua +++ b/init.lua @@ -6,7 +6,7 @@ if not MINE_DEEP_MIN then MINE_DEEP_MIN = -64 end if not MINE_DEEP_MAX then - MINE_DEEP_MAX = -380 + MINE_DEEP_MAX = -13800 end if not MINE_FACTOR then MINE_FACTOR = 1.5 @@ -81,7 +81,7 @@ local function fill_chest(pos) inv:set_size("main", 8*4) local stacks = {} if(minetest.get_modpath("treasurer") ~= nil) then - stacks = treasurer.select_random_treasures(3,4,6,{"minetool", "food", "crafting_component"}) + stacks = treasurer.select_random_treasures(3,4,6,{"minetool", "nourriture", "building_block", "precieux"}) else for i=0,2,1 do local stuff = chest_stuff[math.random(1,#chest_stuff)]