diff options
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -248,15 +248,18 @@ for zp = 0, 1 do if pname ~= "110000" then pgroups = {snappy=3, pipe=1, not_in_creative_inventory=1} pipedesc = "Pipe segment (empty, "..pname..")... You hacker, you." + image = "pipeworks_plain.png" else pgroups = {snappy=3, pipe=1} pipedesc = "Pipe segment" + image = nil end minetest.register_node("pipeworks:pipe_"..pname.."_empty", { description = pipedesc, drawtype = "nodebox", tiles = pipes_fix_image_names(outimgs, "_empty"), + inventory_image = image, paramtype = "light", selection_box = { type = "fixed", @@ -287,6 +290,7 @@ for zp = 0, 1 do description = "Pipe segment (loaded, "..pname..")... You hacker, you.", drawtype = "nodebox", tiles = pipes_fix_image_names(outimgs, "_loaded"), + inventory_image = image, paramtype = "light", selection_box = { type = "fixed", @@ -329,6 +333,10 @@ dofile(minetest.get_modpath("pipeworks").."/flowing_logic.lua") dofile(minetest.get_modpath("pipeworks").."/compat.lua") dofile(minetest.get_modpath("pipeworks").."/item_transport.lua") dofile(minetest.get_modpath("pipeworks").."/autocrafter.lua") -dofile(minetest.get_modpath("pipeworks").."/deployer.lua") -dofile(minetest.get_modpath("pipeworks").."/node_breaker.lua") + +minetest.register_alias("pipeworks:deployer_off", "technic:deployer_off") +minetest.register_alias("pipeworks:deployer_on", "technic:deployer_on") +minetest.register_alias("pipeworks:nodebreaker_off", "technic:node_breaker_off") +minetest.register_alias("pipeworks:nodebreaker_on", "technic:node_breaker_on") + print("Pipeworks loaded!") |