Tabletop Simulator

Tabletop Simulator

Moon Colony Bloodbath [Scripted]
33 Comments
The Saltman!  [author] Sep 4 @ 5:19pm 
@moonpost
Yup, solo mode is supported. Just pick a color and start the game. The Loneliness card will get added automatically if only one player is seated when the game starts.
moonpost Sep 3 @ 7:29pm 
single player? if so, how?
The Saltman!  [author] Aug 26 @ 3:54pm 
@DarthCaboose
Whoops. Fixed.
Darthcaboose Aug 26 @ 3:28pm 
Anyone else getting a weird bug where all the player colors are "Not a supported color" and it prompts you to select a different color?
The Saltman!  [author] Aug 25 @ 8:13pm 
The 'Ready Up' buttons are above each players player mat.
QCMBR Aug 25 @ 5:42pm 
Where is the ready up button?
Hoversquid Aug 17 @ 3:06pm 
Thank you for the quick fix!
The Saltman!  [author] Aug 17 @ 2:45pm 
Just pushed a fix. Thanks to @Hoversquid for reporting and @The Slothful Pixie for pointing out the erroneous functions. Hope everyone is enjoying the mod!
The Saltman!  [author] Aug 16 @ 8:12pm 
@Hoversquid @The Slothful Pixie
Thanks for letting me know, I should have time to get that updated tomorrow.
The Slothful Pixie Aug 16 @ 8:29am 
Yeah looking at it that sounds exactly like the issue - RevealPressed() only resets each player's invdividual Ready state to 0, it doesn't reset the counter PlayersReady to 0, that's only performed by ToggleReady.
Hoversquid Aug 14 @ 11:02pm 
Great scripting and setup - though I have a bug report.
Not sure what's causing this, but sometimes players pressing the Ready Up button will fire the next turn. It's happened every game that I've played, and it seems to happen somewhere in the middle of the game and then it will happen more frequently. It tends to happen the most with the Host player pressing the Ready Up, though I believe a non-host cuased the next turn to happen without everyone readied.
My guess is that the ready state isn't actually changed sometimes when hitting the 'Next Turn' button while other people are readied. Just a guess, though. I haven't studied the script myself.
Just thought I'd let you know!
Gorgo Primus May 19 @ 4:48pm 
Thanks again!
The Saltman!  [author] May 18 @ 8:09pm 
@Gorgo Primus
Sure, just made the change
Gorgo Primus May 18 @ 7:36pm 
I haven't had the error again since that one time yesterday too, so no worries!

I think I found a bug that I'd like to request be made a feature. Right now you can't subtract from People to make it a negative number (from 0) - unless it was <5 and you right clicked to subtract 5. I'm pretty sure the intent is to never let it go negative at all, because negative people isn't a thing you can have.

But by letting me go into negative people on the board I can more easily keep track of how many buildings I need to lose to pay for an event that costs more than I have, and makes it harder to forget what the final count should be even if the other players are also counting aloud or something. Example: I lost 5 people but I only have 3, which puts me to -2 and then I always know adding 7 brings that to 5 in the end.

So would it be possible to let it always let the People count go into negative numbers even if subtracting from 0?
The Saltman!  [author] May 18 @ 9:43am 
@Gorgo Primus
Awesome, glad the issue has been resolved, sorry its still a bit janky for you though
Gorgo Primus May 17 @ 1:48pm 
Ah I see. Well I appreciate it, thanks. The one time it happened since, the script quickly grabbed the extra cards and threw them back in the deck like nothing happened after a split second and and a 'blink and you'll miss it' global error message. So I'd say what you did worked for me and the problem is solved.
The Saltman!  [author] May 17 @ 8:30am 
@Gorgo Primus
Whats happening is when the End Turn button is pressed, it counts how many cards are in the deck. If more than 1 card has been added since the last time the End Turn button has been pressed, it will take that many cards from the top of the deck, move them over to that spot on the left, shuffle them, then place them back on top of the main deck. What you are seeing, is its taking all those cards from the top of the deck, then attempting to grab and shuffle them, but for some reason they are still moving slowly through space on your computer and haven't made it to that spot yet. I can't get the error to appear for me because on my computer all the cards make it to the spot before the code tries to grab and shuffle them. I just made the timer a little longer to allow more time for the cards to make it to that spot. The End Turn function will now run a little slower, but hopefully the additional time fixes the issue for you.
Gorgo Primus May 16 @ 7:24pm 
Now I sometimes get "Missing Cards, etc" messages. Which is better than before, but it still sometimes will send 2+ (seems to usually be in groups of 2) cards to a spot between the Twist and Event decks. Sorry that I can't give you more to go on here and thanks for looking into it.

For now your script works perfectly for me if I just never use the Next Turn button and flip and shuffle the decks by hand, so it's not the 'add a card' buttons in themselves that are responsible for anything.
The Saltman!  [author] May 16 @ 4:42pm 
@Gorgo Primus
I wasn’t able to replicate the bug you encountered, but the error message gave me a clear idea of what’s going on. I just pushed an update to handle that specific error. While I was at it, I also refined the algorithm responsible for shuffling cards added during a turn. Previously, there were some rare cases where cards that shouldn’t have been shuffled were, and other times when shuffling occurred even if only one card was added. Hopefully those issues are resolved now.
Gorgo Primus May 14 @ 9:19pm 
Just tried a solo game and got an error on the first turn after an event addition. Rewinding a bunch and trying again got the same one. It looked like it threw the card somewhere weird.

Error in Script (Global): chunk_4(865,38-40): attempt to index a nil value
The Saltman!  [author] May 13 @ 8:45pm 
Fixed Dr. Banerlee's player board
Gorgo Primus May 13 @ 7:00pm 
Thanks for the upload! I've been trying to keep an eye out here for this since it came out. Also if you're still looking for a corrected image for Banerjee, there's one in the last post of that same thread.
The Saltman!  [author] Apr 27 @ 8:58am 
LOL I didn't even notice the image, I was just looking at the name! That's hilarious, good catch. If at any point someone uploads a fixed image I'll swap it out.
Qualith Apr 27 @ 8:12am 
https://boardgamegeek.com/thread/3448868/got-my-copy-initial-thoughts-before-playing It seems it really is a print mistake LOL. Nothing to say then. Than you again for your mod!
Qualith Apr 27 @ 8:09am 
Funny enough! It says Dr Banerjee but the picture is from Dr. Kaneko. It's a mistake from the original game then??
The Saltman!  [author] Apr 26 @ 1:05pm 
@Qualith
LOL I just checked but the back of Dr. Banerjee was correct on my end? Did it just load funny for you maybe?
Qualith Apr 24 @ 2:04pm 
Thank you for sharing your mod! It was a nice surprise finding it here :D
One silly error with 0 in game impact, if you want to check: The back of Dr Banerjee board is not hers. Don't ask me how I found it.. :steamhappy:
The Saltman!  [author] Apr 5 @ 11:32am 
@A7VM
Turns out I had a little more time right now than I thought I did. Just pushed an update that will shuffle new cards that are added to the top of the deck. Thanks for letting me know. Enjoy!
The Saltman!  [author] Apr 5 @ 10:47am 
@A7VM
Oh you are right. I remember discovering that rule, just forgot to implement it. I'll get that implemented, hopefully before the end of the weekend
A7VM Apr 5 @ 10:43am 
When you and other players add more than one card in a single turn, it has to be shuffled before to be added to the deck. For now the script don´t do this, for now the cards are just revealed in the opposite order that has been added.
Appart than this, I've not seen anything wrong.
Good work, thanks for the game.
mina Apr 5 @ 10:10am 
Works great, thanks! My physical copy is on its way.
Winged Apr 4 @ 2:23am 
Thanks so much for implementing this!
Adil3tr Apr 3 @ 8:20pm 
Thanks