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
Container types, btw, are from the file media/newtiledefinitions.tiles.txt for the base game.
I had to sort through over 1000 entries to find the unique ones to add to the list. I could find no way of programmatically pulling the list. I'm not a LUA wizard, so maybe you will find how.
local tilesetNames = getWorld():getAllTilesName()
local count = 0
for i = 1, tilesetNames:size() do
local tilesetName = tilesetNames:get(i - 1)
local tileNames = getWorld():getAllTiles(tilesetName)
for j = 1, tileNames:size() do
local sprite = getSprite(tileNames:get(j - 1))
if sprite and sprite:getProperties():Is(IsoFlagType.container) then
count = count + 1
print(sprite:getName())
end
end
end
print("# of containers found: ", count)
end
this isn't reliable because I'm getting a lot of goofy stuff like vegetation_foilage_01_8 etc
I don't know why it printed with no indents but I ain't changing it :)
if you run the code above, it's not reliable. that method is not going to work.
The script change from JB's script seems to have FUBAR'd the functionality of the microwave. Oddly, the oven seems to work just fine with the change.
Now I'm trying to find the container types for vehicles, but that might cause vehicles to be too heavy to move. Not sure.