aboutsummaryrefslogtreecommitdiff
path: root/advtrains/advtrains_train_steam/init.lua
diff options
context:
space:
mode:
authororwell96 <mono96.mml@gmail.com>2017-02-02 23:07:09 +0100
committerorwell96 <mono96.mml@gmail.com>2017-02-02 23:07:09 +0100
commit4882abb1c08cdade0a56763cbc88e675a4600f2c (patch)
tree2789c986abc1d362f6d30ce45fca92ba5f1e33f6 /advtrains/advtrains_train_steam/init.lua
parentbcf82ed70d62aeb42b0f6d70aa5ef54ac2b046af (diff)
parent54b78023d7b1f15525658e61aa1dfba0040b99f8 (diff)
downloadadvtrains-4882abb1c08cdade0a56763cbc88e675a4600f2c.tar.gz
advtrains-4882abb1c08cdade0a56763cbc88e675a4600f2c.tar.bz2
advtrains-4882abb1c08cdade0a56763cbc88e675a4600f2c.zip
Merge PR from mbb: add better textures and crafts
Diffstat (limited to 'advtrains/advtrains_train_steam/init.lua')
-rw-r--r--advtrains/advtrains_train_steam/init.lua28
1 files changed, 19 insertions, 9 deletions
diff --git a/advtrains/advtrains_train_steam/init.lua b/advtrains/advtrains_train_steam/init.lua
index e489fd4..16a71f7 100644
--- a/advtrains/advtrains_train_steam/init.lua
+++ b/advtrains/advtrains_train_steam/init.lua
@@ -139,7 +139,7 @@ advtrains.register_wagon("detailed_steam_engine", {
})
end,
drops={"default:steelblock 4"},
-}, S("Detailed Steam Engine"), "advtrains_engine_steam_inv.png")
+}, S("Detailed Steam Engine"), "advtrains_detailed_engine_steam_inv.png")
advtrains.register_wagon("wagon_default", {
mesh="advtrains_passenger_wagon.b3d",
@@ -209,24 +209,34 @@ advtrains.register_wagon("wagon_box", {
minetest.register_craft({
output = 'advtrains:newlocomotive',
recipe = {
- {'default:steelblock', 'default:steelblock', 'default:steelblock'},
- {'default:steelblock', 'dye:black', 'default:steelblock'},
- {'default:steelblock', 'default:steelblock', 'default:steelblock'},
+ {'', '', 'advtrains:chimney'},
+ {'advtrains:driver_cab', 'dye:black', 'advtrains:boiler'},
+ {'advtrains:wheel', 'advtrains:wheel', 'advtrains:wheel'},
},
})
+
+minetest.register_craft({
+ output = 'advtrains:detailed_steam_engine',
+ recipe = {
+ {'', '', 'advtrains:chimney'},
+ {'advtrains:driver_cab', 'dye:green', 'advtrains:boiler'},
+ {'advtrains:wheel', 'advtrains:wheel', 'advtrains:wheel'},
+ },
+})
+
minetest.register_craft({
output = 'advtrains:wagon_default',
recipe = {
{'default:steelblock', 'default:steelblock', 'default:steelblock'},
- {'default:steelblock', 'dye:dark_green', 'default:steelblock'},
- {'default:steelblock', 'default:steelblock', 'default:steelblock'},
+ {'default:glass', 'dye:dark_green', 'default:glass'},
+ {'advtrains:wheel', 'advtrains:wheel', 'advtrains:wheel'},
},
})
minetest.register_craft({
output = 'advtrains:wagon_box',
recipe = {
- {'default:steelblock', 'default:steelblock', 'default:steelblock'},
- {'default:steelblock', 'default:chest', 'default:steelblock'},
- {'default:steelblock', 'default:steelblock', 'default:steelblock'},
+ {'group:wood', 'group:wood', 'group:wood'},
+ {'group:wood', 'default:chest', 'group:wood'},
+ {'advtrains:wheel', '', 'advtrains:wheel'},
},
})