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 | 33a8f0f570a2f3597ec273a4049d00acfb483828 (patch) | |
tree | 70d61fc6f3fd874d0f0fd05415f3dd3d74b540ac /advtrains_train_steam | |
parent | 23da60848a1903af448bbd0312bce4e01b7f2197 (diff) | |
download | advtrains-33a8f0f570a2f3597ec273a4049d00acfb483828.tar.gz advtrains-33a8f0f570a2f3597ec273a4049d00acfb483828.tar.bz2 advtrains-33a8f0f570a2f3597ec273a4049d00acfb483828.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_steam')
-rwxr-xr-x | advtrains_train_steam/init.lua | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/advtrains_train_steam/init.lua b/advtrains_train_steam/init.lua index 461aa91..2afbe16 100755 --- a/advtrains_train_steam/init.lua +++ b/advtrains_train_steam/init.lua @@ -16,20 +16,19 @@ advtrains.register_wagon("newlocomotive", { name=S("Driver Stand (left)"), attach_offset={x=-5, y=10, z=-10}, view_offset={x=0, y=6, z=0}, - driving_ctrl_access=true, group = "dstand", }, { name=S("Driver Stand (right)"), attach_offset={x=5, y=10, z=-10}, view_offset={x=0, y=6, z=0}, - driving_ctrl_access=true, group = "dstand", }, }, seat_groups = { dstand={ name = "Driver Stand", + driving_ctrl_access=true, access_to = {}, }, }, @@ -86,20 +85,19 @@ advtrains.register_wagon("detailed_steam_engine", { name=S("Driver Stand (left)"), attach_offset={x=-5, y=10, z=-10}, view_offset={x=9, y=-2, z=-6}, - driving_ctrl_access=true, group = "dstand", }, { name=S("Driver Stand (right)"), attach_offset={x=5, y=10, z=-10}, view_offset={x=0, y=6, z=0}, - driving_ctrl_access=true, group = "dstand", }, }, seat_groups = { dstand={ name = "Driver Stand", + driving_ctrl_access=true, access_to = {}, }, }, |