elepower/elepower_dynamics/conduits.lua

31 lines
870 B
Lua
Raw Normal View History

2018-06-18 09:09:43 +02:00
2018-06-18 18:15:15 +02:00
-- Electric power
2018-06-18 09:09:43 +02: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 18:15:15 +02:00
2018-08-31 19:00:55 +02:00
-- Fluids
2018-06-18 18:15:15 +02:00
elefluid.register_transfer_node("elepower_dynamics:fluid_transfer_node", {
2018-08-31 19:00:55 +02: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 19:00:55 +02: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 18:15:15 +02:00
})
elefluid.register_transfer_duct("elepower_dynamics:fluid_duct", {
description = "Fluid Duct",
tiles = {"elepower_duct.png"},
groups = {oddly_breakable_by_hand = 1, cracky = 1}
})