aboutsummaryrefslogtreecommitdiff
path: root/advtrains
diff options
context:
space:
mode:
Diffstat (limited to 'advtrains')
-rw-r--r--advtrains/crafting.lua26
1 files changed, 26 insertions, 0 deletions
diff --git a/advtrains/crafting.lua b/advtrains/crafting.lua
index cb0813c..7626d55 100644
--- a/advtrains/crafting.lua
+++ b/advtrains/crafting.lua
@@ -20,6 +20,32 @@ minetest.register_craft({
{'', '', 'default:steel_ingot'},
},
})
+--Wallmounted Signal
+minetest.register_craft({
+ output = 'advtrains:signal_wall_r_off 2',
+ recipe = {
+ {'dye:red', 'default:steel_ingot', 'default:steel_ingot'},
+ {'', 'default:steel_ingot', ''},
+ {'dye:dark_green', 'default:steel_ingot', 'default:steel_ingot'},
+ },
+})
+
+--Wallmounted Signals can be converted into every orientation by shapeless crafting
+minetest.register_craft({
+ output = 'advtrains:signal_wall_l_off',
+ type = "shapeless",
+ recipe = {'advtrains:signal_wall_r_off'},
+})
+minetest.register_craft({
+ output = 'advtrains:signal_wall_t_off',
+ type = "shapeless",
+ recipe = {'advtrains:signal_wall_l_off'},
+})
+minetest.register_craft({
+ output = 'advtrains:signal_wall_r_off',
+ type = "shapeless",
+ recipe = {'advtrains:signal_wall_t_off'},
+})
--trackworker
minetest.register_craft({