summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2021-02-19 18:46:03 +0100
committerorwell96 <orwell@bleipb.de>2021-02-19 18:46:03 +0100
commit05a7a1cecb509d12617824a25fa3a6912ee61c46 (patch)
tree32322ee2ba5773d0596c232e118680c89daf2751
parent7c0d45ccfc0bf8fad09400c581f3d15d35498ae1 (diff)
downloadbasic_trains-05a7a1cecb509d12617824a25fa3a6912ee61c46.tar.gz
basic_trains-05a7a1cecb509d12617824a25fa3a6912ee61c46.tar.bz2
basic_trains-05a7a1cecb509d12617824a25fa3a6912ee61c46.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>
-rw-r--r--advtrains_train_industrial/init.lua42
-rw-r--r--advtrains_train_japan/init.lua22
2 files changed, 64 insertions, 0 deletions
diff --git a/advtrains_train_industrial/init.lua b/advtrains_train_industrial/init.lua
index beec5b3..dde7d83 100644
--- a/advtrains_train_industrial/init.lua
+++ b/advtrains_train_industrial/init.lua
@@ -105,3 +105,45 @@ advtrains.register_wagon("wagon_wood", {
box=8*3,
},
}, S("Industrial wood wagon"), "advtrains_wagon_wood_inv.png")
+
+-- Craftings
+
+minetest.register_craft({
+ output = 'advtrains:engine_industrial',
+ recipe = {
+ {'default:steelblock', 'default:steelblock', 'default:steelblock'},
+ {'advtrains:driver_cab', 'default:steelblock', 'default:steelblock'},
+ {'advtrains:wheel', '', 'advtrains:wheel'},
+ },
+})
+
+--Engine Industrial Big
+minetest.register_craft({
+ output = 'advtrains:engine_industrial_big',
+ recipe = {
+ {'default:glass', 'default:steelblock', 'default:steelblock'},
+ {'advtrains:driver_cab', 'default:steelblock', 'default:steelblock'},
+ {'advtrains:wheel', 'advtrains:wheel', 'advtrains:wheel'},
+ },
+})
+
+
+--Industrial tank wagon
+minetest.register_craft({
+ output = 'advtrains:wagon_tank',
+ recipe = {
+ {'default:steelblock', 'default:steel_ingot', 'default:steelblock'},
+ {'advtrains:steelblock', '', 'default:steelblock'},
+ {'advtrains:wheel', 'default:steelblock', 'advtrains:wheel'},
+ },
+})
+
+--Industrial wood wagon
+minetest.register_craft({
+ output = 'advtrains:wagon_wood',
+ recipe = {
+ {'default:steel_ingot', '', 'default:steel_ingot'},
+ {'advtrains:steelblock', 'default:steelblock', 'default:steelblock'},
+ {'advtrains:wheel', '', 'advtrains:wheel'},
+ },
+})
diff --git a/advtrains_train_japan/init.lua b/advtrains_train_japan/init.lua
index 1aa2771..a784845 100644
--- a/advtrains_train_japan/init.lua
+++ b/advtrains_train_japan/init.lua
@@ -138,3 +138,25 @@ advtrains.register_wagon("wagon_japan", {
drops={"default:steelblock 4"},
}, S("Japanese Train Wagon"), "advtrains_wagon_japan_inv.png")
+-- Crafting
+
+minetest.register_craft({
+ output = 'advtrains:engine_japan',
+ recipe = {
+ {'default:steelblock', 'default:steelblock', ''},
+ {'xpanes:pane_flat', 'default:steelblock', 'xpanes:pane_flat'},
+ {'advtrains:wheel', 'advtrains:wheel', 'advtrains:wheel'},
+ },
+})
+
+minetest.register_craft({
+output = 'advtrains:wagon_japan',
+ recipe = {
+ {'default:steelblock', 'default:steelblock', 'default:steelblock'},
+ {'xpanes:pane_flat', 'default:steelblock', 'xpanes:pane_flat'},
+ {'advtrains:wheel', '', 'advtrains:wheel'},
+ },
+})
+
+
+