aboutsummaryrefslogtreecommitdiff
path: root/moretrains_basic
diff options
context:
space:
mode:
Diffstat (limited to 'moretrains_basic')
-rw-r--r--moretrains_basic/blend/german_diesel.blendbin0 -> 791704 bytes
-rw-r--r--moretrains_basic/blend/moretrains_basic_railroad_car.blendbin913260 -> 913356 bytes
-rw-r--r--moretrains_basic/init.lua39
-rw-r--r--moretrains_basic/models/moretrains_diesel_german.b3dbin0 -> 101695 bytes
-rw-r--r--moretrains_basic/textures/moretrains_diesel_german.pngbin0 -> 79389 bytes
-rwxr-xr-xmoretrains_basic/textures/moretrains_diesel_german_inv.pngbin0 -> 2009 bytes
-rw-r--r--moretrains_basic/textures/moretrains_railroad_car.pngbin70877 -> 85824 bytes
-rw-r--r--moretrains_basic/textures/moretrains_unknown_engine_inv.pngbin0 -> 1826 bytes
-rw-r--r--moretrains_basic/textures/moretrains_unknown_wagon_inv.pngbin2007 -> 1813 bytes
9 files changed, 39 insertions, 0 deletions
diff --git a/moretrains_basic/blend/german_diesel.blend b/moretrains_basic/blend/german_diesel.blend
new file mode 100644
index 0000000..56e47fe
--- /dev/null
+++ b/moretrains_basic/blend/german_diesel.blend
Binary files differ
diff --git a/moretrains_basic/blend/moretrains_basic_railroad_car.blend b/moretrains_basic/blend/moretrains_basic_railroad_car.blend
index 0dc3907..27e477b 100644
--- a/moretrains_basic/blend/moretrains_basic_railroad_car.blend
+++ b/moretrains_basic/blend/moretrains_basic_railroad_car.blend
Binary files differ
diff --git a/moretrains_basic/init.lua b/moretrains_basic/init.lua
index 1e85112..5c1c088 100644
--- a/moretrains_basic/init.lua
+++ b/moretrains_basic/init.lua
@@ -83,3 +83,42 @@ minetest.register_craft({
},
})
+advtrains.register_wagon("moretrains_diesel_german", {
+ mesh="moretrains_diesel_german.b3d",
+ textures = {"moretrains_diesel_german.png"},
+ drives_on={default=true},
+ max_speed=20,
+ seats = {
+ {
+ name=S("Driver Stand (right)"),
+ attach_offset={x=0, y=-1.4, z=-7.2},
+ view_offset={x=2, y=0.2, z=-8},
+ driving_ctrl_access=true,
+ group = "dstand",
+ },
+
+ },
+ seat_groups = {
+ dstand={
+ name = "Driver Stand",
+ access_to = {},
+ driving_ctrl_access = true,
+ },
+ },
+ assign_to_seat_group = {"dstand"},
+ visual_size = {x=1, y=1},
+ wagon_span=2.8,
+ is_locomotive=true,
+ collisionbox = {-1.0,-0.5,-1.0, 1.0,2.5,1.0},
+ drops={"default:steelblock 4"},
+ horn_sound = "advtrains_industrial_horn",
+}, S("Old German Diesel"), "moretrains_diesel_german_inv.png")
+
+minetest.register_craft({
+ output = 'advtrains:moretrains_diesel_german',
+ recipe = {
+ {'default:glass', 'dye:red', ''},
+ {'default:steelblock', 'advtrains:driver_cab', 'default:steelblock'},
+ {'advtrains:wheel', 'advtrains:wheel', 'advtrains:wheel'},
+ },
+})
diff --git a/moretrains_basic/models/moretrains_diesel_german.b3d b/moretrains_basic/models/moretrains_diesel_german.b3d
new file mode 100644
index 0000000..48f437a
--- /dev/null
+++ b/moretrains_basic/models/moretrains_diesel_german.b3d
Binary files differ
diff --git a/moretrains_basic/textures/moretrains_diesel_german.png b/moretrains_basic/textures/moretrains_diesel_german.png
new file mode 100644
index 0000000..638db08
--- /dev/null
+++ b/moretrains_basic/textures/moretrains_diesel_german.png
Binary files differ
diff --git a/moretrains_basic/textures/moretrains_diesel_german_inv.png b/moretrains_basic/textures/moretrains_diesel_german_inv.png
new file mode 100755
index 0000000..5e68934
--- /dev/null
+++ b/moretrains_basic/textures/moretrains_diesel_german_inv.png
Binary files differ
diff --git a/moretrains_basic/textures/moretrains_railroad_car.png b/moretrains_basic/textures/moretrains_railroad_car.png
index 545dc87..c002002 100644
--- a/moretrains_basic/textures/moretrains_railroad_car.png
+++ b/moretrains_basic/textures/moretrains_railroad_car.png
Binary files differ
diff --git a/moretrains_basic/textures/moretrains_unknown_engine_inv.png b/moretrains_basic/textures/moretrains_unknown_engine_inv.png
new file mode 100644
index 0000000..26d33c1
--- /dev/null
+++ b/moretrains_basic/textures/moretrains_unknown_engine_inv.png
Binary files differ
diff --git a/moretrains_basic/textures/moretrains_unknown_wagon_inv.png b/moretrains_basic/textures/moretrains_unknown_wagon_inv.png
index 9a0efbf..1b78ed1 100644
--- a/moretrains_basic/textures/moretrains_unknown_wagon_inv.png
+++ b/moretrains_basic/textures/moretrains_unknown_wagon_inv.png
Binary files differ