diff --git a/basis/consumer.lua b/basis/consumer.lua index a5358a3..5308809 100644 --- a/basis/consumer.lua +++ b/basis/consumer.lua @@ -62,7 +62,7 @@ local function node_timer(pos, elapsed) crd.State:nopower(pos, mem) end elseif state == techage.STANDBY then - if not power_available(pos, 0) then + if crd.power_consumption > 0 and not power_available(pos) then crd.State:nopower(pos, mem) end end diff --git a/furnace/furnace_top.lua b/furnace/furnace_top.lua index 7eec879..e035770 100644 --- a/furnace/furnace_top.lua +++ b/furnace/furnace_top.lua @@ -51,7 +51,7 @@ local function formspec(self, pos, mem) "list[context;dst;3,0;2,2;]".. "label[6,0;"..I("Outp")..": "..idx.."/"..num.."]".. - "item_image_button[6.5,0.5;1,1;"..output..";b1;]".. + "item_image_button[6.5,0.5;1,1;"..(output or "")..";b1;]".. "button[6,1.5;1,1;priv;<<]".. "button[7,1.5;1,1;next;>>]".. diff --git a/nodes/basalt.lua b/nodes/basalt.lua index bd87762..4e51006 100644 --- a/nodes/basalt.lua +++ b/nodes/basalt.lua @@ -234,6 +234,12 @@ minetest.register_craft({ } }) +minetest.register_craft({ + type = "cooking", + output = "techage:basalt_stone", + recipe = "techage:basalt_cobble", +}) + techage.add_grinder_recipe({input="techage:basalt_stone", output="techage:basalt_gravel"}) techage.add_grinder_recipe({input="techage:basalt_cobble", output="techage:basalt_gravel"}) techage.add_grinder_recipe({input="techage:basalt_gravel", output="default:clay"})