aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author1F616EMO <root@1f616emo.xyz>2024-08-31 22:45:35 +0800
committerorwell <orwell@bleipb.de>2024-09-02 22:51:43 +0200
commitfe7e25c9953dcb4b8bba3dc7bdc94dc232e05ce3 (patch)
tree915adca4f247cc9a1435e90909f63a22c3581190
parentdd883c5b5ec29e11a78d215d8627f71840051eac (diff)
downloadadvtrains-fe7e25c9953dcb4b8bba3dc7bdc94dc232e05ce3.tar.gz
advtrains-fe7e25c9953dcb4b8bba3dc7bdc94dc232e05ce3.tar.bz2
advtrains-fe7e25c9953dcb4b8bba3dc7bdc94dc232e05ce3.zip
Add direct recipe for every orientation of wallmounted signals
-rw-r--r--advtrains/crafting.lua17
1 files changed, 17 insertions, 0 deletions
diff --git a/advtrains/crafting.lua b/advtrains/crafting.lua
index 7626d55..9f80456 100644
--- a/advtrains/crafting.lua
+++ b/advtrains/crafting.lua
@@ -22,6 +22,14 @@ minetest.register_craft({
})
--Wallmounted Signal
minetest.register_craft({
+ output = 'advtrains:signal_wall_l_off 2',
+ recipe = {
+ {'default:steel_ingot', 'default:steel_ingot', 'dye:red'},
+ {'', 'default:steel_ingot', ''},
+ {'default:steel_ingot', 'default:steel_ingot', 'dye:dark_green'},
+ },
+})
+minetest.register_craft({
output = 'advtrains:signal_wall_r_off 2',
recipe = {
{'dye:red', 'default:steel_ingot', 'default:steel_ingot'},
@@ -29,6 +37,15 @@ minetest.register_craft({
{'dye:dark_green', 'default:steel_ingot', 'default:steel_ingot'},
},
})
+minetest.register_craft({
+ output = 'advtrains:signal_wall_t_off 2',
+ recipe = {
+ {'default:steel_ingot', '', 'default:steel_ingot'},
+ {'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'},
+ {'dye:dark_green', '', 'dye:red'},
+ },
+})
+
--Wallmounted Signals can be converted into every orientation by shapeless crafting
minetest.register_craft({