aboutsummaryrefslogtreecommitdiff
path: root/advtrains/advtrains_train_industrial/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'advtrains/advtrains_train_industrial/init.lua')
-rw-r--r--advtrains/advtrains_train_industrial/init.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/advtrains/advtrains_train_industrial/init.lua b/advtrains/advtrains_train_industrial/init.lua
index 8b13cfe..2eed2b1 100644
--- a/advtrains/advtrains_train_industrial/init.lua
+++ b/advtrains/advtrains_train_industrial/init.lua
@@ -17,14 +17,23 @@ advtrains.register_wagon("engine_industrial", {
attach_offset={x=-5, y=10, z=-10},
view_offset={x=0, y=10, 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=10, z=0},
driving_ctrl_access=true,
+ group = "dstand",
},
},
+ seat_groups = {
+ dstand={
+ name = "Driver Stand",
+ access_to = {},
+ },
+ },
+ assign_to_seat_group = {"dstand"},
visual_size = {x=1, y=1},
wagon_span=2.6,
is_locomotive=true,