aboutsummaryrefslogtreecommitdiff
path: root/advtrains_train_japan
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
commit30076f5ce33610c4c809500e1aa57efb066e6a8e (patch)
treea745be07ca3c36d3e9eefa0e8b86c7cf33c82429 /advtrains_train_japan
parent04c78373f1db0b011557b92cd6fb58268cbeefe4 (diff)
downloadadvtrains-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_train_japan')
-rw-r--r--advtrains_train_japan/init.lua22
1 files changed, 22 insertions, 0 deletions
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'},
+ },
+})
+
+
+