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_signals_ks/init.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_signals_ks/init.lua')
-rw-r--r-- | advtrains_signals_ks/init.lua | 39 |
1 files changed, 38 insertions, 1 deletions
diff --git a/advtrains_signals_ks/init.lua b/advtrains_signals_ks/init.lua index 08bbb75..1c60a0e 100644 --- a/advtrains_signals_ks/init.lua +++ b/advtrains_signals_ks/init.lua @@ -199,7 +199,7 @@ for _, rtab in ipairs({ save_in_at_nodedb = 1, not_in_creative_inventory = (rtab.ici and prts.ici) and 0 or 1, }, - drop = "advtrains_signals_ks:sign_e_0", + drop = "advtrains_signals_ks:sign_8_0", inventory_image = "advtrains_signals_ks_sign_8.png", sounds = default.node_sound_stone_defaults(), advtrains = { @@ -241,3 +241,40 @@ for _, rtab in ipairs({ advtrains.trackplacer.add_worked("advtrains_signals_ks:mast","mast", "_"..rot) end +-- Crafting + +minetest.register_craft({ + output = "advtrains_signals_ks:hs_danger_0 2", + recipe = { + {'default:steel_ingot', 'dye:red', 'default:steel_ingot'}, + {'dye:yellow', 'default:steel_ingot', 'dye:dark_green'}, + {'default:steel_ingot', 'advtrains_signals_ks:mast_mast_0', 'default:steel_ingot'}, + }, +}) + +minetest.register_craft({ + output = "advtrains_signals_ks:mast_mast_0 10", + recipe = { + {'default:steel_ingot'}, + {'dye:cyan'}, + {'default:steel_ingot'}, + }, +}) + +minetest.register_craft({ + output = "advtrains_signals_ks:ra_danger_0 2", + recipe = { + {'dye:red', 'dye:white', 'dye:red'}, + {'dye:white', 'default:steel_ingot', 'default:steel_ingot'}, + {'default:steel_ingot', 'advtrains_signals_ks:mast_mast_0', 'default:steel_ingot'}, + }, +}) + +minetest.register_craft({ + output = "advtrains_signals_ks:sign_8_0 2", + recipe = { + {'basic_materials:plastic_sheet', 'dye:black'}, + {'default:stick', ''}, + {'default:stick', ''}, + }, +}) |