Zainstaluj Steam
zaloguj się
|
język
简体中文 (chiński uproszczony)
繁體中文 (chiński tradycyjny)
日本語 (japoński)
한국어 (koreański)
ไทย (tajski)
български (bułgarski)
Čeština (czeski)
Dansk (duński)
Deutsch (niemiecki)
English (angielski)
Español – España (hiszpański)
Español – Latinoamérica (hiszpański latynoamerykański)
Ελληνικά (grecki)
Français (francuski)
Italiano (włoski)
Bahasa Indonesia (indonezyjski)
Magyar (węgierski)
Nederlands (niderlandzki)
Norsk (norweski)
Português (portugalski – Portugalia)
Português – Brasil (portugalski brazylijski)
Română (rumuński)
Русский (rosyjski)
Suomi (fiński)
Svenska (szwedzki)
Türkçe (turecki)
Tiếng Việt (wietnamski)
Українська (ukraiński)
Zgłoś problem z tłumaczeniem
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?