diff options
author | orwell96 <mono96.mml@gmail.com> | 2017-01-24 19:09:33 +0100 |
---|---|---|
committer | orwell96 <mono96.mml@gmail.com> | 2017-01-24 19:09:33 +0100 |
commit | a2d0b1b8f2f6ba2864e1dbbfc2457583114152ea (patch) | |
tree | 7be8bd62f5e2069899b4e3759c4031482fb00592 /advtrains/advtrains_train_japan/init.lua | |
parent | 631e77b1898baeee96418e9011a1d9c0dc2d7162 (diff) | |
download | advtrains-a2d0b1b8f2f6ba2864e1dbbfc2457583114152ea.tar.gz advtrains-a2d0b1b8f2f6ba2864e1dbbfc2457583114152ea.tar.bz2 advtrains-a2d0b1b8f2f6ba2864e1dbbfc2457583114152ea.zip |
Create new models and textures for japanese train
Diffstat (limited to 'advtrains/advtrains_train_japan/init.lua')
-rw-r--r-- | advtrains/advtrains_train_japan/init.lua | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/advtrains/advtrains_train_japan/init.lua b/advtrains/advtrains_train_japan/init.lua index a0c82cd..ad26fd1 100644 --- a/advtrains/advtrains_train_japan/init.lua +++ b/advtrains/advtrains_train_japan/init.lua @@ -14,10 +14,20 @@ advtrains.register_wagon("engine_japan", { { name=S("Driver stand"), attach_offset={x=0, y=10, z=0}, - view_offset={x=0, y=6, z=0}, + view_offset={x=0, y=0, z=0}, driving_ctrl_access=true, }, }, + doors={ + open={ + [-1]={frames={x=0, y=20}, time=1}, + [1]={frames={x=40, y=60}, time=1} + }, + close={ + [-1]={frames={x=20, y=40}, time=1}, + [1]={frames={x=60, y=80}, time=1} + } + }, visual_size = {x=1, y=1}, wagon_span=2.5, is_locomotive=true, @@ -34,8 +44,18 @@ advtrains.register_wagon("wagon_japan", { { name=S("Default Seat"), attach_offset={x=0, y=10, z=0}, - view_offset={x=0, y=6, z=0}, + view_offset={x=0, y=0, z=0}, + }, + }, + doors={ + open={ + [-1]={frames={x=0, y=20}, time=1}, + [1]={frames={x=40, y=60}, time=1} }, + close={ + [-1]={frames={x=20, y=40}, time=1}, + [1]={frames={x=60, y=80}, time=1} + } }, visual_size = {x=1, y=1}, wagon_span=2.3, |