Installera Steam
logga in
|
språk
简体中文 (förenklad kinesiska)
繁體中文 (traditionell kinesiska)
日本語 (japanska)
한국어 (koreanska)
ไทย (thailändska)
Български (bulgariska)
Čeština (tjeckiska)
Dansk (danska)
Deutsch (tyska)
English (engelska)
Español – España (spanska – Spanien)
Español – Latinoamérica (spanska – Latinamerika)
Ελληνικά (grekiska)
Français (franska)
Italiano (italienska)
Bahasa Indonesia (indonesiska)
Magyar (ungerska)
Nederlands (nederländska)
Norsk (norska)
Polski (polska)
Português (portugisiska – Portugal)
Português – Brasil (portugisiska – Brasilien)
Română (rumänska)
Русский (ryska)
Suomi (finska)
Türkçe (turkiska)
Tiếng Việt (vietnamesiska)
Українська (ukrainska)
Rapportera problem med översättningen
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?