onboard computer fix
parent
ffc3cf9d10
commit
6d7d9d0181
|
@ -556,7 +556,7 @@ function wagon:on_rightclick(clicker)
|
||||||
poss[#poss+1]={name=attrans("Show Inventory"), key="inv"}
|
poss[#poss+1]={name=attrans("Show Inventory"), key="inv"}
|
||||||
end
|
end
|
||||||
if self.seat_groups[sgr].driving_ctrl_access and advtrains.check_driving_couple_protection(pname, data.owner, data.whitelist) then
|
if self.seat_groups[sgr].driving_ctrl_access and advtrains.check_driving_couple_protection(pname, data.owner, data.whitelist) then
|
||||||
poss[#poss+1]={name=attrans("Board Computer"), key="bordcom"}
|
poss[#poss+1]={name=attrans("Onboard Computer"), key="bordcom"}
|
||||||
end
|
end
|
||||||
if data.owner==pname then
|
if data.owner==pname then
|
||||||
poss[#poss+1]={name=attrans("Wagon properties"), key="prop"}
|
poss[#poss+1]={name=attrans("Wagon properties"), key="prop"}
|
||||||
|
|
|
@ -29,9 +29,9 @@ advtrains.register_wagon("engine_industrial", {
|
||||||
},
|
},
|
||||||
seat_groups = {
|
seat_groups = {
|
||||||
dstand={
|
dstand={
|
||||||
|
|
||||||
name = "Driver Stand",
|
name = "Driver Stand",
|
||||||
access_to = {},
|
access_to = {},
|
||||||
|
driving_ctrl_access = true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
assign_to_seat_group = {"dstand"},
|
assign_to_seat_group = {"dstand"},
|
||||||
|
@ -67,9 +67,9 @@ advtrains.register_wagon("engine_industrial_big", {
|
||||||
},
|
},
|
||||||
seat_groups = {
|
seat_groups = {
|
||||||
dstand={
|
dstand={
|
||||||
|
|
||||||
name = "Driver Stand",
|
name = "Driver Stand",
|
||||||
access_to = {},
|
access_to = {},
|
||||||
|
driving_ctrl_access = true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
assign_to_seat_group = {"dstand"},
|
assign_to_seat_group = {"dstand"},
|
||||||
|
|
Loading…
Reference in New Issue