aboutsummaryrefslogtreecommitdiff
path: root/moretrains_industrial/init.lua
diff options
context:
space:
mode:
authorrbduck <rbduck@platen-software.de>2020-03-06 19:02:40 +0100
committerrbduck <rbduck@platen-software.de>2020-03-06 19:02:40 +0100
commit8fa7164ad7dd36dad3bd363fdcfae421fde7a07b (patch)
tree4e782082b279b3c745c5608031310709217d293d /moretrains_industrial/init.lua
parentc51a270b3dd8327471f4a54a94b597d548a2a0a0 (diff)
downloadmoretrains-8fa7164ad7dd36dad3bd363fdcfae421fde7a07b.tar.gz
moretrains-8fa7164ad7dd36dad3bd363fdcfae421fde7a07b.tar.bz2
moretrains-8fa7164ad7dd36dad3bd363fdcfae421fde7a07b.zip
new icons and recipes
Diffstat (limited to 'moretrains_industrial/init.lua')
-rw-r--r--moretrains_industrial/init.lua61
1 files changed, 60 insertions, 1 deletions
diff --git a/moretrains_industrial/init.lua b/moretrains_industrial/init.lua
index 419bd09..2fff241 100644
--- a/moretrains_industrial/init.lua
+++ b/moretrains_industrial/init.lua
@@ -114,4 +114,63 @@ advtrains.register_wagon("moretrains_wagon_box", {
inventory_list_sizes = {
box=8*3,
},
-}, S("Box wagon"), "moretrains_wagon_box_inv.png") \ No newline at end of file
+}, S("Box wagon"), "moretrains_wagon_box_inv.png")
+
+minetest.register_craft({
+ output = 'advtrains:moretrains_wagon_wood',
+ recipe = {
+ {'default:stick', 'default:stick', 'default:stick'},
+ {'group:wood', 'default:chest', 'group:wood'},
+ {'advtrains:wheel', '', 'advtrains:wheel'},
+ },
+})
+
+minetest.register_craft({
+ output = "advtrains:moretrains_wagon_wood_loaded",
+ type = "shapeless",
+ recipe = {"advtrains:moretrains_wagon_wood", "group:tree", "group:tree"},
+})
+
+minetest.register_craftitem("moretrains_industrial:item_tank", {
+ description = S("tank (for tankwagon)"),
+ inventory_image = "moretrains_item_tank.png"
+})
+
+minetest.register_craft({
+ output = "moretrains_industrial:item_tank",
+ recipe = {
+ {"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
+ {"default:steel_ingot", "bucket:bucket_empty", "default:steel_ingot"},
+ {"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
+ },
+})
+
+minetest.register_craft({
+ output = 'advtrains:moretrains_wagon_tank',
+ recipe = {
+ {'', '', ''},
+ {'default:steel_ingot', 'moretrains_industrial:item_tank', 'default:steel_ingot'},
+ {'advtrains:wheel', '', 'advtrains:wheel'},
+ },
+})
+
+minetest.register_craft({
+ output = 'advtrains:moretrains_wagon_tank2',
+ recipe = {
+ {'', 'dye:blue', ''},
+ {'default:steel_ingot', 'moretrains_industrial:item_tank', 'default:steel_ingot'},
+ {'advtrains:wheel', '', 'advtrains:wheel'},
+ },
+})
+
+minetest.register_craft({
+ output = 'advtrains:moretrains_wagon_box',
+ recipe = {
+ {'default:copper_ingot', 'default:copper_ingot', 'default:copper_ingot'},
+ {'default:junglewood', 'default:chest', 'default:junglewood'},
+ {'advtrains:wheel', '', 'advtrains:wheel'},
+ },
+})
+
+
+