Blast furnance commeting

This commit is contained in:
ConfidentOwl 2022-12-21 09:29:03 +03:00
parent 3ab0e786cd
commit 2b4744f850
1 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ minetest.register_node("owl_tech:bronze_blast_furnace_controller", {
input_its_add.set_count(input_its_add.get_count()-1)
end
if not input_its:is_empty() then -- chek for item in slots
--[[if not input_its:is_empty() then -- chek for item in slots
local name1 =input_its:get_name() -- for metal
local name2 = input_its_add:get_name() -- for coal
if name1=="owl_tech:iron_ingot" and owl_tech.get_item_redines(meta)>0 and owl_tech.get_item_redines(meta)<100 then --recipt real
@ -108,7 +108,7 @@ minetest.register_node("owl_tech:bronze_blast_furnace_controller", {
end
else
owl_tech.reset_item_redines(meta)
end
end]]
if minetest.get_item_group((minetest.get_node({x=pos.x,y=pos.y+1,z=pos.z})).name,"fluid_pipe") then --get from pipe steam
local meta_up = minetest.get_meta({x=pos.x,y=pos.y-1,z=pos.z})
local can_do ,inde_pull =owl_tech.test_add_fluid_in_any_pulls(meta,"owl_tech_steam",owl_tech.get_fluid_sand_in_tick(meta))