Tabletop Simulator

Tabletop Simulator

Potion Explosion (Scripted Setup)
15 Comments
algizka 6 Dec, 2022 @ 8:09am 
Great work has been done and it's really impressive. But... it doesn't work. The marbles get stuck when you pick the previous ones.
Mercolt 11 Jul, 2021 @ 10:07am 
I don't understand how it works, but when I try to copy or replace the script zones for Random Potions (zoneL, zoneR), even with the same GUID, the script breaks. The whole day I racked my head, I don't understand anything in scripts, but I really wanted to transfer this script to my desk. Help me please. I understand that this looks like theft, but I make the table for playing with friends, not for publishing.
MeepleBits 5 Oct, 2020 @ 12:36pm 
Made a little video for this one, enjoy! https://youtu.be/VmOBRrcDSjU
MadEwokHerd  [author] 17 Jul, 2020 @ 10:42am 
Good to hear. I just updated the script so "Setup Ingredients" will work with any number of marbles in the bag so custom ratio away.
LeiGai 17 Jul, 2020 @ 3:16am 
Multiple of 5!!! That did it. I never would have guess that.

Thanks for the quick response. I was doing a custom ratio and I didn't like seeing empty tracks, plus I didn't like pushing the sweep button, which lead to a non divisible by 5 number. But it's all good now. Thanks again.
MadEwokHerd  [author] 16 Jul, 2020 @ 11:54am 
Nevermind, I misunderstood and I now see the mandragora leaf is from the 6th student expansion. I have only implemented the base game to start and haven't looked at anything for the expansions yet. Regardless, for a 2-4 player game there should still only be 80 marbles in the bag to start with according to the expansion rules (15 each of the base ingredients and 20 Mandragora Leaf).
MadEwokHerd  [author] 16 Jul, 2020 @ 11:39am 
Are you certain there are 80 marbles (the stock amount for the base game) in the bag when you start? The number of marbles in the ingredients bag must be a multiple of 5 for the "Setup Ingredients" script to execute properly. If it persists with 80 in the bag see if you can send me the save file with your edits and I'll take a look.

Are these mandragora leaf marbles from a workshop mod and if so could you link it? I wasn't able to turn anything up from a cursory search.
LeiGai 14 Jul, 2020 @ 12:55am 
Love it! Thanks for posting this, everything works great as is but...

I added in some mandragora leaf marbles and the script spits them out fine but, if I remove even one of the original ingredient marbles, after the bag empties, this script error pops up and the empty bag stays where it is.

Error in Script (Global) function
<startLuaCoroutine/draw>: Object reference not set to an instance of an object
hanzo 1 Jun, 2020 @ 10:01pm 
Best mod i've ever seen on Tabletop Simulator for sure. Thanks a lot!
Fatal_Flaw 25 May, 2020 @ 6:19pm 
Thanks!
MadEwokHerd  [author] 24 May, 2020 @ 10:40am 
I believe I have fixed it and it should run better on less powerful machines now as well. Not sure what changed in version 12.4 but it did not like loading all the potion models at once during that "Finish Potions Setup" step. Thanks for the heads up Fatal_Flaw.

If anyone encounters further problems feel free to leave a comment.
MadEwokHerd  [author] 23 May, 2020 @ 11:10pm 
Seems like my code for that phase and the latest update to TTS (v12.4) don't agree with each other as it crashes for me too now. I'll see what I can do to remedy it.
Fatal_Flaw 20 May, 2020 @ 1:26pm 
Great mod, but for me TTS keeps crashing during the "finish potion setup" phase. It might be a problem with TTS rather than the mod, but any suggestions?
Knaughx 12 May, 2020 @ 12:18pm 
Hi, wanted you know that your mod has been added to my collection: Board Game Geek - BGG - May 2020 - Best Mod for each of the Top 500 Rated Games. Collection here: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2086043930

The collection used this priority system:

1. Mod's Files Availability: Mod with all/most files still available for download
2. Feature completeness: Mod with greatest inclusion of expansions and/or promos available for the board game title
2. Scripting: Mod with scripting that most reduces work in setup/play for players
3. Component Quality: Mod with the best visuals/usability in terms of component quality
4. Table Setup/Ambiance: Mod with the best immersion with table, background, and other modeling.

Please also note that a mod that makes selection for this list very well could be one in which the mod author borrowed the majority of assets from another workshop listing, so full thanks to all who worked on a mod.

Thanks for your hard work!
ZerA 22 Apr, 2020 @ 3:00pm 
Nice work on the mod! The 3D potion models and the bunsen burners are a nice touch. No issues on my first playthough. Will play again for sure :)