Nainstalovat Steam
přihlásit se
|
jazyk
简体中文 (Zjednodušená čínština)
繁體中文 (Tradiční čínština)
日本語 (Japonština)
한국어 (Korejština)
ไทย (Thajština)
български (Bulharština)
Dansk (Dánština)
Deutsch (Němčina)
English (Angličtina)
Español-España (Evropská španělština)
Español-Latinoamérica (Latin. španělština)
Ελληνικά (Řečtina)
Français (Francouzština)
Italiano (Italština)
Bahasa Indonesia (Indonéština)
Magyar (Maďarština)
Nederlands (Nizozemština)
Norsk (Norština)
Polski (Polština)
Português (Evropská portugalština)
Português-Brasil (Brazilská portugalština)
Română (Rumunština)
Русский (Ruština)
Suomi (Finština)
Svenska (Švédština)
Türkçe (Turečtina)
Tiếng Việt (Vietnamština)
Українська (Ukrajinština)
Nahlásit problém s překladem
but if carriage has two sets of bogies, where should be centre of main body?
if not data.metadata.transportVehicle.seats then
I'm still curious though why my attempt from my previous post didn't work.
and (data.metadata.transportVehicle.capacities.type ~= "PASSENGERS")
but that does nothing (the passenger wagons are still being adjusted). So I searched a bit further and added this instead:
(#data.metadata.transportVehicle.capacities == 1) and (data.metadata.transportVehicle.capacities[1].type ~= "PASSENGERS")
With that line it only adjusts two cargo wagons from a mod, but skips all other (cargo and passenger) wagons.
I figure I'm on the right track since it does something, but I don't understand what the # and [1] do in the second line and googling "#" doesn't work.
Could anyone point me in the right direction please?