aboutsummaryrefslogtreecommitdiff
path: root/moretrains_industrial
diff options
context:
space:
mode:
Diffstat (limited to 'moretrains_industrial')
-rwxr-xr-xmoretrains_industrial/depends.txt2
-rw-r--r--moretrains_industrial/init.lua61
-rw-r--r--moretrains_industrial/textures/moretrains_item_tank.pngbin0 -> 2042 bytes
-rw-r--r--moretrains_industrial/textures/moretrains_wagon_box_inv.pngbin1792 -> 2088 bytes
-rw-r--r--moretrains_industrial/textures/moretrains_wagon_tank2.pngbin80362 -> 80460 bytes
-rw-r--r--moretrains_industrial/textures/moretrains_wagon_tank2_inv.pngbin1776 -> 2077 bytes
-rw-r--r--moretrains_industrial/textures/moretrains_wagon_tank_inv.pngbin1785 -> 1984 bytes
-rw-r--r--moretrains_industrial/textures/moretrains_wagon_wood_inv.pngbin1877 -> 2111 bytes
-rw-r--r--moretrains_industrial/textures/moretrains_wagon_wood_loaded_inv.pngbin1899 -> 2072 bytes
9 files changed, 61 insertions, 2 deletions
diff --git a/moretrains_industrial/depends.txt b/moretrains_industrial/depends.txt
index 1fb6665..f3443eb 100755
--- a/moretrains_industrial/depends.txt
+++ b/moretrains_industrial/depends.txt
@@ -1,2 +1,2 @@
advtrains
-intllib? \ No newline at end of file
+intllib?
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'},
+ },
+})
+
+
+
diff --git a/moretrains_industrial/textures/moretrains_item_tank.png b/moretrains_industrial/textures/moretrains_item_tank.png
new file mode 100644
index 0000000..0ea4e09
--- /dev/null
+++ b/moretrains_industrial/textures/moretrains_item_tank.png
Binary files differ
diff --git a/moretrains_industrial/textures/moretrains_wagon_box_inv.png b/moretrains_industrial/textures/moretrains_wagon_box_inv.png
index 8b60d71..33eaf7e 100644
--- a/moretrains_industrial/textures/moretrains_wagon_box_inv.png
+++ b/moretrains_industrial/textures/moretrains_wagon_box_inv.png
Binary files differ
diff --git a/moretrains_industrial/textures/moretrains_wagon_tank2.png b/moretrains_industrial/textures/moretrains_wagon_tank2.png
index 8f42d9c..dbee643 100644
--- a/moretrains_industrial/textures/moretrains_wagon_tank2.png
+++ b/moretrains_industrial/textures/moretrains_wagon_tank2.png
Binary files differ
diff --git a/moretrains_industrial/textures/moretrains_wagon_tank2_inv.png b/moretrains_industrial/textures/moretrains_wagon_tank2_inv.png
index df88e0f..34561ef 100644
--- a/moretrains_industrial/textures/moretrains_wagon_tank2_inv.png
+++ b/moretrains_industrial/textures/moretrains_wagon_tank2_inv.png
Binary files differ
diff --git a/moretrains_industrial/textures/moretrains_wagon_tank_inv.png b/moretrains_industrial/textures/moretrains_wagon_tank_inv.png
index 9ae4af0..e23e221 100644
--- a/moretrains_industrial/textures/moretrains_wagon_tank_inv.png
+++ b/moretrains_industrial/textures/moretrains_wagon_tank_inv.png
Binary files differ
diff --git a/moretrains_industrial/textures/moretrains_wagon_wood_inv.png b/moretrains_industrial/textures/moretrains_wagon_wood_inv.png
index 6d130ac..4138505 100644
--- a/moretrains_industrial/textures/moretrains_wagon_wood_inv.png
+++ b/moretrains_industrial/textures/moretrains_wagon_wood_inv.png
Binary files differ
diff --git a/moretrains_industrial/textures/moretrains_wagon_wood_loaded_inv.png b/moretrains_industrial/textures/moretrains_wagon_wood_loaded_inv.png
index b831e8c..c34d611 100644
--- a/moretrains_industrial/textures/moretrains_wagon_wood_loaded_inv.png
+++ b/moretrains_industrial/textures/moretrains_wagon_wood_loaded_inv.png
Binary files differ