aboutsummaryrefslogtreecommitdiff
path: root/advtrains_train_japan
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2018-01-09 18:30:29 +0100
committerorwell96 <orwell@bleipb.de>2018-01-09 18:30:29 +0100
commit33a8f0f570a2f3597ec273a4049d00acfb483828 (patch)
tree70d61fc6f3fd874d0f0fd05415f3dd3d74b540ac /advtrains_train_japan
parent23da60848a1903af448bbd0312bce4e01b7f2197 (diff)
downloadadvtrains-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_japan')
-rw-r--r--advtrains_train_japan/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains_train_japan/init.lua b/advtrains_train_japan/init.lua
index 6cf6c6d..23027db 100644
--- a/advtrains_train_japan/init.lua
+++ b/advtrains_train_japan/init.lua
@@ -15,7 +15,6 @@ advtrains.register_wagon("engine_japan", {
name=S("Driver stand"),
attach_offset={x=0, y=8, z=13},
view_offset={x=0, y=0, z=0},
- driving_ctrl_access=true,
group="dstand",
},
{
@@ -48,6 +47,7 @@ advtrains.register_wagon("engine_japan", {
name = "Driver Stand",
access_to = {"pass"},
require_doors_open=true,
+ driving_ctrl_access=true,
},
pass={
name = "Passenger area",