diff options
author | Tim <t4im@users.noreply.github.com> | 2015-01-29 22:36:16 +0100 |
---|---|---|
committer | Tim <t4im@users.noreply.github.com> | 2015-01-29 22:38:01 +0100 |
commit | 5a79a60e0f592e34433139c16bb02aca65e38d63 (patch) | |
tree | e6edad62ac93647dc6416f8b620a0a317a66511e /routing_tubes.lua | |
parent | a98af7bf159a06bb1fd26902ef4c91105aabe2a0 (diff) |
use the default tube textures as fallback for any missing textures during tube registration
Diffstat (limited to 'routing_tubes.lua')
-rw-r--r-- | routing_tubes.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/routing_tubes.lua b/routing_tubes.lua index acd93af..3533bad 100644 --- a/routing_tubes.lua +++ b/routing_tubes.lua @@ -1,3 +1,14 @@ +-- the default tube and default textures +pipeworks.register_tube("pipeworks:tube", "Pneumatic tube segment") +minetest.register_craft( { + output = "pipeworks:tube_1 6", + recipe = { + { "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" }, + { "", "", "" }, + { "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" } + }, +}) + if pipeworks.enable_accelerator_tube then local accelerator_noctr_textures = {"pipeworks_accelerator_tube_noctr.png", "pipeworks_accelerator_tube_noctr.png", "pipeworks_accelerator_tube_noctr.png", "pipeworks_accelerator_tube_noctr.png", "pipeworks_accelerator_tube_noctr.png", "pipeworks_accelerator_tube_noctr.png"} |