aboutsummaryrefslogtreecommitdiff
path: root/advtrains/advtrains_train_industrial
diff options
context:
space:
mode:
Diffstat (limited to 'advtrains/advtrains_train_industrial')
-rw-r--r--advtrains/advtrains_train_industrial/depends.txt3
-rw-r--r--advtrains/advtrains_train_industrial/init.lua9
2 files changed, 11 insertions, 1 deletions
diff --git a/advtrains/advtrains_train_industrial/depends.txt b/advtrains/advtrains_train_industrial/depends.txt
index 6f00bf6..1fb6665 100644
--- a/advtrains/advtrains_train_industrial/depends.txt
+++ b/advtrains/advtrains_train_industrial/depends.txt
@@ -1 +1,2 @@
-advtrains \ No newline at end of file
+advtrains
+intllib? \ No newline at end of file
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,