aboutsummaryrefslogtreecommitdiff
path: root/advtrains_train_japan
diff options
context:
space:
mode:
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'},
+ },
+})
+
+
+