diff options
author | orwell96 <mono96.mml@gmail.com> | 2017-01-18 19:03:27 +0100 |
---|---|---|
committer | orwell96 <mono96.mml@gmail.com> | 2017-01-18 19:03:27 +0100 |
commit | f52b67a37c766529e637550b94296c92b954b496 (patch) | |
tree | 3b1c69d5dcf4b0adcf719eb444f1bc30b0c1fb5d /advtrains/advtrains_train_subway/init.lua | |
parent | d73289237e91acb6a55f3b4408649e1076b05a3b (diff) | |
download | advtrains-f52b67a37c766529e637550b94296c92b954b496.tar.gz advtrains-f52b67a37c766529e637550b94296c92b954b496.tar.bz2 advtrains-f52b67a37c766529e637550b94296c92b954b496.zip |
Add door controls and ATC commands
Diffstat (limited to 'advtrains/advtrains_train_subway/init.lua')
-rw-r--r-- | advtrains/advtrains_train_subway/init.lua | 10 |
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}, |