aboutsummaryrefslogtreecommitdiff
path: root/advtrains/advtrains_train_subway
diff options
context:
space:
mode:
Diffstat (limited to 'advtrains/advtrains_train_subway')
-rw-r--r--advtrains/advtrains_train_subway/init.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/advtrains/advtrains_train_subway/init.lua b/advtrains/advtrains_train_subway/init.lua
index b105f1a..85bd28f 100644
--- a/advtrains/advtrains_train_subway/init.lua
+++ b/advtrains/advtrains_train_subway/init.lua
@@ -12,6 +12,16 @@ advtrains.register_wagon("subway_wagon", {
driving_ctrl_access=true,
},
},
+ doors={
+ open={
+ [-1]={frames={x=0, y=19}, time=1},
+ [1]={frames={x=40, y=59}, time=1}
+ },
+ close={
+ [-1]={frames={x=20, y=39}, time=1},
+ [1]={frames={x=60, y=81}, time=1}
+ }
+ },
visual_size = {x=1, y=1},
wagon_span=2,
collisionbox = {-1.0,-0.5,-1.0, 1.0,2.5,1.0},