elepower/elepower_dynamics/conduits.lua

31 lines
870 B
Lua
Raw Normal View History

2018-06-18 07:09:43 +00:00
2018-06-18 16:15:15 +00:00
-- Electric power
2018-06-18 07:09:43 +00:00
ele.register_conduit("elepower_dynamics:conduit", {
description = "Power Conduit",
tiles = {"elepower_conduit.png"},
groups = {oddly_breakable_by_hand = 1, cracky = 1}
})
2018-06-18 16:15:15 +00:00
2018-08-31 17:00:55 +00:00
-- Fluids
2018-06-18 16:15:15 +00:00
elefluid.register_transfer_node("elepower_dynamics:fluid_transfer_node", {
2018-08-31 17:00:55 +00:00
description = "Fluid Transfer Node\nPunch to start pumping",
tiles = {"elepower_fluid_transporter.png"},
drawtype = "mesh",
mesh = "elepower_transport_node.obj",
groups = {oddly_breakable_by_hand = 1, cracky = 1},
paramtype = "light",
2018-08-31 17:00:55 +00:00
selection_box = {
type = "fixed",
fixed = {
{-0.4375, -0.4375, -0.5000, 0.4375, 0.4375, 0.000},
{-0.1875, -0.1875, 0.000, 0.1875, 0.1875, 0.5000}
}
}
2018-06-18 16:15:15 +00:00
})
elefluid.register_transfer_duct("elepower_dynamics:fluid_duct", {
description = "Fluid Duct",
tiles = {"elepower_duct.png"},
groups = {oddly_breakable_by_hand = 1, cracky = 1}
})