master
Alexander Weber 2018-01-11 14:59:43 +01:00
parent 70199680e4
commit ddd932db0e
2 changed files with 3 additions and 10 deletions

View File

@ -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",

View File

@ -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