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
Also, if your chipList is not correctly formatted, it CAN cause TTS to lock up and die. The reason is the "return" loop in the tradeUp function. Avoid tradeUp while you are debugging the code to avoid crashes.
Thirdly, when you move the code to another object, or combine it with a lot of other code, it is a lot harder for me to troubleshot because I can't be sure what you have or have not changed. But give the fixes I've mentioned a try and see how it goes.
code -- http://pastebin.com/junZPbM4
map(without custom chips) -- https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=774292858
My lua is pretty shit.
Thanks for helping
Upload you full script to Pastebin and I'll take a look for you.
(1) When you right click on each chip, make sure the Name field has the name of the chip that you put into the script.
(2) Check you scripting zone and its GUID. Make sure the GUID of the scripting zone matches what is in the code.
(3) Make sure the GUID of the INFINITE bags all match each entry.
These are the usualy problems I see.
Ive added you can you help me?
For trading down, I used a simpler method of only trading down if there is one chip in the converter.
What you are asking for is generally possible, but I can't make a "universal" one. Add me on steam if you'd like to give me some specifics to make one for ya.
Also, it would be nice to add a text element showing the total of the chips currently in the zone.