summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-04-12 21:04:37 -0400
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-04-12 21:04:37 -0400
commit7c11ff18766e416d557046dc6c5d109d5ae10846 (patch)
tree1f0d337231726face14053bddca9f35a27eb9124
parenta34ea59105bf79544ecf6756af3ce64b027cfa1d (diff)
LV fuel-fired gen should not have tube connection overlays
-rw-r--r--technic/machines/register/generator.lua13
1 files changed, 8 insertions, 5 deletions
diff --git a/technic/machines/register/generator.lua b/technic/machines/register/generator.lua
index 9062d09..7805bf0 100644
--- a/technic/machines/register/generator.lua
+++ b/technic/machines/register/generator.lua
@@ -108,14 +108,17 @@ function technic.register_generator(data)
)
end
+ local tentry = tube_entry
+ if ltier == "lv" then tentry = "" end
+
minetest.register_node("technic:"..ltier.."_generator", {
description = desc,
tiles = {
- "technic_"..ltier.."_generator_top.png"..tube_entry,
- "technic_machine_bottom.png"..tube_entry,
- "technic_"..ltier.."_generator_side.png"..tube_entry,
- "technic_"..ltier.."_generator_side.png"..tube_entry,
- "technic_"..ltier.."_generator_side.png"..tube_entry,
+ "technic_"..ltier.."_generator_top.png"..tentry,
+ "technic_machine_bottom.png"..tentry,
+ "technic_"..ltier.."_generator_side.png"..tentry,
+ "technic_"..ltier.."_generator_side.png"..tentry,
+ "technic_"..ltier.."_generator_side.png"..tentry,
"technic_"..ltier.."_generator_front.png"
},
paramtype2 = "facedir",