Asenna Steam
kirjaudu sisään
|
kieli
简体中文 (yksinkertaistettu kiina)
繁體中文 (perinteinen kiina)
日本語 (japani)
한국어 (korea)
ไทย (thai)
български (bulgaria)
Čeština (tšekki)
Dansk (tanska)
Deutsch (saksa)
English (englanti)
Español – España (espanja – Espanja)
Español – Latinoamérica (espanja – Lat. Am.)
Ελληνικά (kreikka)
Français (ranska)
Italiano (italia)
Bahasa Indonesia (indonesia)
Magyar (unkari)
Nederlands (hollanti)
Norsk (norja)
Polski (puola)
Português (portugali – Portugali)
Português – Brasil (portugali – Brasilia)
Română (romania)
Русский (venäjä)
Svenska (ruotsi)
Türkçe (turkki)
Tiếng Việt (vietnam)
Українська (ukraina)
Ilmoita käännösongelmasta
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?