burning times adapted

master
Joachim Stolberg 2019-05-04 13:16:16 +02:00
parent 8a54467667
commit 21f41c6b7f
4 changed files with 4 additions and 4 deletions

View File

@ -30,7 +30,7 @@ else
dofile(MP.."/basis/tubes.lua") -- tubelib replacement dofile(MP.."/basis/tubes.lua") -- tubelib replacement
dofile(MP.."/basis/command.lua") -- tubelib replacement dofile(MP.."/basis/command.lua") -- tubelib replacement
dofile(MP.."/basis/consumer.lua") -- consumer base model dofile(MP.."/basis/consumer.lua") -- consumer base model
dofile(MP.."/basis/firebox.lua") -- common firebox functions dofile(MP.."/basis/firebox_lib.lua") -- common firebox functions
-- Tools -- Tools
dofile(MP.."/tools/trowel.lua") dofile(MP.."/tools/trowel.lua")

View File

@ -196,7 +196,7 @@ minetest.register_node("techage:charcoal", {
minetest.register_craft({ minetest.register_craft({
type = "fuel", type = "fuel",
recipe = "techage:charcoal", recipe = "techage:charcoal",
burntime = 370, burntime = 120,
}) })
minetest.register_lbm({ minetest.register_lbm({

View File

@ -17,7 +17,7 @@
local MP = minetest.get_modpath("techage") local MP = minetest.get_modpath("techage")
local S, NS = dofile(MP.."/intllib.lua") local S, NS = dofile(MP.."/intllib.lua")
local COAL_BURN_TIME = 700 local COAL_BURN_TIME = 1200
local CYCLE_TIME = 5 local CYCLE_TIME = 5
@ -46,7 +46,7 @@ local function start_burner(pos, height)
local pos1 = {x=pos.x-1, y=pos.y+1, z=pos.z-1} local pos1 = {x=pos.x-1, y=pos.y+1, z=pos.z-1}
local pos2 = {x=pos.x+1, y=pos.y+height, z=pos.z+1} local pos2 = {x=pos.x+1, y=pos.y+height, z=pos.z+1}
for _,p in ipairs(minetest.find_nodes_in_area(pos1, pos2, "techage:charcoal")) do for _,p in ipairs(minetest.find_nodes_in_area(pos1, pos2, "techage:charcoal")) do
minetest.swap_node(p, "techage:charcoal_burn") minetest.swap_node(p, {name = "techage:charcoal_burn"})
end end
end end