aboutsummaryrefslogtreecommitdiff
path: root/advtrains/advtrains_train_subway/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'advtrains/advtrains_train_subway/init.lua')
-rw-r--r--advtrains/advtrains_train_subway/init.lua10
1 files changed, 7 insertions, 3 deletions
diff --git a/advtrains/advtrains_train_subway/init.lua b/advtrains/advtrains_train_subway/init.lua
index b5bdb18..c68395c 100644
--- a/advtrains/advtrains_train_subway/init.lua
+++ b/advtrains/advtrains_train_subway/init.lua
@@ -1,7 +1,7 @@
advtrains.register_wagon("subway_wagon", {
- mesh="advtrains_subway_train.b3d",
- textures = {"advtrains_subway_train.png"},
+ mesh="advtrains_subway_wagon.b3d",
+ textures = {"advtrains_subway_wagon.png"},
drives_on={default=true},
max_speed=15,
seats = {
@@ -17,7 +17,11 @@ advtrains.register_wagon("subway_wagon", {
collisionbox = {-1.0,-0.5,-1.0, 1.0,2.5,1.0},
is_locomotive=true,
drops={"default:steelblock 4"},
-}, "Subway Passenger Wagon", "advtrains_subway_train_inv.png")
+ --custom_on_activate = function(self, dtime_s)
+ -- atprint("subway custom_on_activate")
+ -- self.object:set_animation({x=1,y=80}, 15, 0, true)
+ --end,
+}, "Subway Passenger Wagon", "advtrains_subway_wagon_inv.png")
--wagons
minetest.register_craft({