diff options
author | orwell96 <orwell@bleipb.de> | 2018-01-09 18:30:29 +0100 |
---|---|---|
committer | orwell96 <orwell@bleipb.de> | 2018-01-09 18:30:29 +0100 |
commit | ea436e39c4922837fdc5ef870a2b6bfe1e39578e (patch) | |
tree | 40382dd8112fd0804e8ffafa5dae5e2f7d679da9 /advtrains_train_subway | |
parent | 97a6c8de1865b7c88bff5491acbb3637f59d7efa (diff) | |
download | basic_trains-ea436e39c4922837fdc5ef870a2b6bfe1e39578e.tar.gz basic_trains-ea436e39c4922837fdc5ef870a2b6bfe1e39578e.tar.bz2 basic_trains-ea436e39c4922837fdc5ef870a2b6bfe1e39578e.zip |
Move driving_ctrl_access property to seat group
there's now a more strict check for the train_operator privilege
Also added custom reasons on getting on a train.
Diffstat (limited to 'advtrains_train_subway')
-rw-r--r-- | advtrains_train_subway/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains_train_subway/init.lua b/advtrains_train_subway/init.lua index b8dfa4b..58677e8 100644 --- a/advtrains_train_subway/init.lua +++ b/advtrains_train_subway/init.lua @@ -15,7 +15,6 @@ advtrains.register_wagon("subway_wagon", { name="Driver stand", attach_offset={x=0, y=10, z=0}, view_offset={x=0, y=0, z=0}, - driving_ctrl_access=true, group="dstand", }, { @@ -48,6 +47,7 @@ advtrains.register_wagon("subway_wagon", { name = "Driver Stand", access_to = {"pass"}, require_doors_open=true, + driving_ctrl_access=true, }, pass={ name = "Passenger area", |