diff --git a/additional_stuff/init.lua b/additional_stuff/init.lua index 13963d6..9121e2a 100644 --- a/additional_stuff/init.lua +++ b/additional_stuff/init.lua @@ -13,12 +13,6 @@ minetest.register_craft({ recipe = "group:tree", }) -minetest.register_craft({ - type = "cooking", - output = "default:coal_lump", - recipe = "group:tree", -}) - minetest.register_craft({ output = "default:mossycobble", type = "shapeless", @@ -155,7 +149,7 @@ local function is_not_an_ore(ore_name) end -- Place ore just as often as they occur in mapgen. -local function choose_ore(pos) +local function choose_ore() local cool_flowing = "default:stone" for _, ore in pairs(minetest.registered_ores) do if is_not_an_ore(ore.ore) then @@ -184,7 +178,7 @@ default.cool_lava = function(pos, node) end minetest.set_node(pos, {name = cool_source}) else -- Lava flowing - local cool_flowing = choose_ore(pos) + local cool_flowing = choose_ore() minetest.set_node(pos, {name = cool_flowing}) end minetest.sound_play("default_cool_lava", diff --git a/give_initial_stuff/init.lua b/give_initial_stuff/init.lua index 7e2b9b6..ba0567a 100644 --- a/give_initial_stuff/init.lua +++ b/give_initial_stuff/init.lua @@ -38,14 +38,13 @@ if minetest.global_exists("startanode") then fill_chest(pos) end else - -- without water: keep the start-a-node as stone and place the chest above + -- keep the start-a-node as stone and place the chest above without water startanode.after_place_func = function(player, pos) chestpos = {x=pos.x, y=pos.y+1,z=pos.z} minetest.set_node(chestpos, {name="default:chest"}) fill_chest(chestpos) end end - return end