Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
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?