aboutsummaryrefslogtreecommitdiff
path: root/advtrains/advtrains_train_subway
diff options
context:
space:
mode:
authorGabriel Pérez-Cerezo <gabriel@gpcf.eu>2017-01-29 12:37:47 +0100
committerGabriel Pérez-Cerezo <gabriel@gpcf.eu>2017-01-29 12:37:47 +0100
commit5f01cd2d5a1df2071579f4dcae0b83c65bc3111e (patch)
tree9c9f428025de570abf5dabba8a41a629b06a2f2c /advtrains/advtrains_train_subway
parent724b03abb983eb93c124cef6039bcf2ea4125335 (diff)
downloadadvtrains-5f01cd2d5a1df2071579f4dcae0b83c65bc3111e.tar.gz
advtrains-5f01cd2d5a1df2071579f4dcae0b83c65bc3111e.tar.bz2
advtrains-5f01cd2d5a1df2071579f4dcae0b83c65bc3111e.zip
Added getting on and off by walking in and out. Default seat on subway is now passenger seat.
Diffstat (limited to 'advtrains/advtrains_train_subway')
-rw-r--r--advtrains/advtrains_train_subway/init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/advtrains/advtrains_train_subway/init.lua b/advtrains/advtrains_train_subway/init.lua
index 5625418..1282ec7 100644
--- a/advtrains/advtrains_train_subway/init.lua
+++ b/advtrains/advtrains_train_subway/init.lua
@@ -55,7 +55,7 @@ advtrains.register_wagon("subway_wagon", {
require_doors_open=true,
},
},
- assign_to_seat_group = {"dstand", "pass"},
+ assign_to_seat_group = {"pass","dstand"},
doors={
open={
[-1]={frames={x=0, y=20}, time=1},
@@ -68,7 +68,7 @@ advtrains.register_wagon("subway_wagon", {
},
visual_size = {x=1, y=1},
wagon_span=2,
- collisionbox = {-1.0,-0.5,-1.0, 1.0,2.5,1.0},
+ collisionbox = {-1.0,-0.5,-1.8, 1.0,2.5,1.8},
is_locomotive=true,
drops={"default:steelblock 4"},
--custom_on_activate = function(self, dtime_s)