File was renamed from technic/technic/injector.lua |
| | |
| | | |
| | | minetest.register_node("technic:injector", { |
| | | description = "Injector", |
| | | tiles = {"technic_iron_chest_top.png", "technic_iron_chest_top.png", "technic_iron_chest_side.png", |
| | | "technic_iron_chest_side.png", "technic_iron_chest_side.png", "technic_iron_chest_front.png"}, |
| | | tiles = {"technic_injector_top.png", "technic_injector_bottom.png", "technic_injector_side.png", |
| | | "technic_injector_side.png", "technic_injector_side.png", "technic_injector_side.png"}, |
| | | paramtype2 = "facedir", |
| | | groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2}, |
| | | legacy_facedir_simple = true, |
| | |
| | | if meta:get_float("tubelike")==1 then add_new_TUBE_node(TUBE_nodes,pos1,parent) return end |
| | | nctr = minetest.env:get_node(pos1) |
| | | if minetest.get_item_group(nctr.name, "tubedevice_receiver") == 1 then add_new_TUBE_node(CHEST_nodes,pos1,parent) return end |
| | | end |
| | | end |
| | | |