diff options
author | 1F616EMO <root@1f616emo.xyz> | 2024-08-31 22:45:35 +0800 |
---|---|---|
committer | orwell <orwell@bleipb.de> | 2024-09-02 22:51:43 +0200 |
commit | fe7e25c9953dcb4b8bba3dc7bdc94dc232e05ce3 (patch) | |
tree | 915adca4f247cc9a1435e90909f63a22c3581190 /advtrains | |
parent | dd883c5b5ec29e11a78d215d8627f71840051eac (diff) | |
download | advtrains-fe7e25c9953dcb4b8bba3dc7bdc94dc232e05ce3.tar.gz advtrains-fe7e25c9953dcb4b8bba3dc7bdc94dc232e05ce3.tar.bz2 advtrains-fe7e25c9953dcb4b8bba3dc7bdc94dc232e05ce3.zip |
Add direct recipe for every orientation of wallmounted signals
Diffstat (limited to 'advtrains')
-rw-r--r-- | advtrains/crafting.lua | 17 |
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({ |