summaryrefslogtreecommitdiff
path: root/routing_tubes.lua
diff options
context:
space:
mode:
authorroot <root@linuxworks.belug.de>2017-06-08 08:41:31 +0200
committerroot <root@linuxworks.belug.de>2017-06-08 08:41:31 +0200
commit6053c30a664745b79e2b5bd86bfd7e79e099b3a5 (patch)
treeee0032d7b6b778cf67440cf4df20591fac304c41 /routing_tubes.lua
parent614a785c394fa47d78ca2f308f848cd33c507a93 (diff)
parent2eff6e36ea322e3cc603074da42ad7febf15e617 (diff)
Merge branch 'master' of https://github.com/minetest-mods/pipeworks
Diffstat (limited to 'routing_tubes.lua')
-rw-r--r--routing_tubes.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/routing_tubes.lua b/routing_tubes.lua
index 6ed0723..ba9e0aa 100644
--- a/routing_tubes.lua
+++ b/routing_tubes.lua
@@ -10,6 +10,8 @@ minetest.register_craft( {
},
})
+local nodecolor = 0xffff3030
+
pipeworks.register_tube("pipeworks:broken_tube", {
description = "Broken Tube (you hacker you)",
plain = { { name = "pipeworks_broken_tube_plain.png", backface_culling = false, color = nodecolor } },
@@ -66,7 +68,6 @@ pipeworks.register_tube("pipeworks:broken_tube", {
-- without doing actual sorting, like at outputs of tubedevices that might both accept and eject items
if pipeworks.enable_priority_tube then
local color = "#ff3030:128"
- local nodecolor = 0xffff3030
pipeworks.register_tube("pipeworks:priority_tube", {
description = "High Priority Tube Segment",
inventory_image = "pipeworks_tube_inv.png^[colorize:" .. color,