2018-10-03 21:49:04 +02:00
|
|
|
|
|
|
|
--[[
|
|
|
|
|
2018-11-15 17:44:35 +01:00
|
|
|
=======================================================================
|
|
|
|
Tubelib Biogas Machines Mod
|
|
|
|
by Micu (c) 2018
|
2018-10-03 21:49:04 +02:00
|
|
|
|
|
|
|
Copyright (C) 2018 Michal Cieslakiewicz
|
|
|
|
|
|
|
|
Biogas-fuelled burner that smelts and cookes like standard furnace
|
2018-11-15 17:44:35 +01:00
|
|
|
TODO: be more descriptive
|
|
|
|
|
|
|
|
License: LGPLv2.1+
|
|
|
|
=======================================================================
|
2018-10-03 21:49:04 +02:00
|
|
|
|
|
|
|
]]--
|
|
|
|
|
2018-11-20 16:25:58 +01:00
|
|
|
-- Coal block burn time is 370, our Gasifier produces 9 Biogas units from it,
|
|
|
|
-- so let 1 Biogas burn for 40 sec (9 * 40 = 360)
|
2018-10-03 21:49:04 +02:00
|
|
|
|
2018-11-15 17:44:35 +01:00
|
|
|
minetest.register_node("biogasmachines:gasfurnace", {
|
|
|
|
description = "Tubelib Biogas Furnace",
|
2018-10-03 21:49:04 +02:00
|
|
|
tiles = {
|
|
|
|
-- up, down, right, left, back, front
|
2018-11-15 17:44:35 +01:00
|
|
|
"biogasmachines_gasfurnace_top.png",
|
2018-10-03 21:49:04 +02:00
|
|
|
"tubelib_front.png",
|
|
|
|
"tubelib_front.png",
|
|
|
|
"tubelib_front.png",
|
|
|
|
"tubelib_front.png",
|
|
|
|
"tubelib_front.png",
|
|
|
|
},
|
|
|
|
|
|
|
|
paramtype = "light",
|
|
|
|
sunlight_propagates = true,
|
|
|
|
paramtype2 = "facedir",
|
|
|
|
groups = {choppy=2, cracky=2, crumbly=2},
|
|
|
|
is_ground_content = false,
|
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
})
|
2018-11-15 17:44:35 +01:00
|
|
|
|
|
|
|
-- TODO: put machine code here
|