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
As it is, you can just replace those missing models. They were only meant as placeholders anyway.
DFG: Add prices for what?
The best solution? Set up and use Atom for code editing (see the Knowledge Base on Beserk's website). If you don't want to do that, then just put your cursor where the code should be, hit Control+A to select all, Control+C to copy, and paste it into a text/code editor. Notepad ++ is a good option. Once you are done making any edits, Control+A, Control+C then paste it back into Tabletop Simulator.
If you want to add me and show me the full pastebin of the code, then I can be more helpful.
Here's the error:
----------------
Error in Global Script onObjectDropped function: chunk_1:(99,4-52): attempt to index a nil value
----------------
Powerup table:
http://pastebin.com/raw/EdGXhNyU
Function for powerup:
http://pastebin.com/raw/5L3fmpPW
(As you can see I basically just copy-pasted existing code for Clear powerup (banana) and added it as a Dealer Only powerup with an effect named Bust)
Any ideas what might cause it? I understand the error itself, but I'm not too familiar with Lua so I don't know how to read the chunk part of the error (probably at what line the error occurs or whatever?)
Thanks in advance, and thanks for an awesome contribution!
Instructions can be found here to help: http://pastebin.com/W4cx0eYL
if object.tag == "Chip" then
If you model is a "Chip" you can set the custom model to be a chip and it will now work. Otherwise, you can change the line to read:
if object.tag == "Chip" or object.tag == "YourTypeOfItem" then
Not sure what type of item it is? On the line before this one, just put print(object.tag) and it will tell you when you try to run the code the "tag" of every object in that zone. "Board" is the table, as is "Surface", so ignore those.