Blast furnance commeting
This commit is contained in:
parent
3ab0e786cd
commit
2b4744f850
|
@ -75,7 +75,7 @@ minetest.register_node("owl_tech:bronze_blast_furnace_controller", {
|
||||||
input_its_add.set_count(input_its_add.get_count()-1)
|
input_its_add.set_count(input_its_add.get_count()-1)
|
||||||
end
|
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 name1 =input_its:get_name() -- for metal
|
||||||
local name2 = input_its_add:get_name() -- for coal
|
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
|
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
|
end
|
||||||
else
|
else
|
||||||
owl_tech.reset_item_redines(meta)
|
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
|
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 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))
|
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))
|
||||||
|
|
Loading…
Reference in New Issue