diff options
author | orwell96 <orwell@bleipb.de> | 2021-02-19 18:46:03 +0100 |
---|---|---|
committer | orwell96 <orwell@bleipb.de> | 2021-02-19 18:46:03 +0100 |
commit | 30076f5ce33610c4c809500e1aa57efb066e6a8e (patch) | |
tree | a745be07ca3c36d3e9eefa0e8b86c7cf33c82429 /advtrains/crafting.lua | |
parent | 04c78373f1db0b011557b92cd6fb58268cbeefe4 (diff) | |
download | advtrains-30076f5ce33610c4c809500e1aa57efb066e6a8e.tar.gz advtrains-30076f5ce33610c4c809500e1aa57efb066e6a8e.tar.bz2 advtrains-30076f5ce33610c4c809500e1aa57efb066e6a8e.zip |
Add some missing craft recipes
- LuaATC remains non-craftable for now (elevated privs necessary anyway)
- Some crafts altered from dario's proposal
Co-authored-by: W3RQ01 <dario23@linux-forks.de>
Diffstat (limited to 'advtrains/crafting.lua')
-rw-r--r-- | advtrains/crafting.lua | 26 |
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({ |