Tabletop Simulator

Tabletop Simulator

Sushi Go Party! [Scripted]
59 Comments
Rin-chan 15 Feb @ 7:48am 
Can't even start the game xD
GG Crono 28 Nov, 2022 @ 1:26pm 
This mod seems pretty well put-together, but I can't figure out how to swap from passing hands clockwise to counter-clockwise. Can someone enlighten me?
BradMang 3 Apr, 2022 @ 10:18pm 
Firstly, thank you for this mod! Unfortunately I'm experiencing the same hand rotation issues outlined by others. Hopefully this can be fixed soon.

And if I can be so bold, any chance this room/environment could be incorporated?
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=944054068

With that room, and fixed scripting, this would be the best Sushi Go Party mod on the workshop!
Joaco 25 Oct, 2021 @ 7:15pm 
I have the same problem, at least playing in hotseat mode (haven't tried it online yet). Hands stop working after starting the second round. One of the players stops receiving cards and all cards fall from each hand, even though drawing is still possible.
ntw3450 11 Jul, 2021 @ 11:22pm 
Hi, I love the automation in this, but the hand rotation for me is also broken! I'll try Lix's change and see if it works.
meow 23 May, 2021 @ 8:46am 
I managed to hack together a fix for it, so now it works for me. Created a variable before the for-loop that determines each player's target, called nToDeal. This variable is the amount of cards in a player's hand (took the first player from sortedSeatedPlayers). Created another variable called cardsMoved before the for-loop that moves the cards around. cardsMoved is set to 0, and inside the aforementioned for-loop, I added an if-statement that makes sure the rest of the loop only executes as long as cardsMoved < nToDeal. cardsMoved is incremented by 1 at the end, and the else-statement just breaks the for-loop. Also added a small wait before the card gets moved.
meow 23 May, 2021 @ 6:58am 
Also, in the script for the hand rotation (rotate clockwise), there's a definition for a local variable called thisHand, but I can't see it being used anywhere. Commenting it out doesn't seem to have an effect on anything.
meow 23 May, 2021 @ 6:55am 
I've been having issues with the hand rotation. Played a game with two friends yesterday. I was white, one was blue, and one was orange. Every time we rotated hands, it works as expected, except for the fact that blue's hand gets sent over to orange instead of white. They always got rotated and/or fell out of orange's hand, so I could at least tell which cards were supposed to be mine. Been playing around with the scripts a bit, although I don't have much experience with Lua. If I enable the debug variable in the rotation script, the rotation works as it should for 8 players. So it seems to work just fine for a max player game, but it runs into issues when there's only a few players, maybe? Will report back if I find something, otherwise please take a look at it or let me know of a fix!
Pandam 22 May, 2021 @ 6:39pm 
Hello, we have experience the same problem with black cards with the rotation of hands, also use the fix from Ghost is now working. In our case i was the white player but second player have to change the color from red to orange. Thank you for the mod TehCupcakes and GhostsShade for the fix
TehCupcakes  [author] 4 Apr, 2021 @ 4:16pm 
I don't have other players to test with but I guess there is some kind of race condition. That's not great, but at least waiting a little longer should mitigate it for most users... I went ahead and updated the mod with your suggestion GhostsShade. Hope that helps some people who were having issues. :)
david 4 Apr, 2021 @ 2:01pm 
Confirming that GhostsShade's fix addresses the rotation bug.
GhostsShade 16 Mar, 2021 @ 7:18pm 
Fixed rotation by editing the rotation script. changed line 70: "wait(1)" => "wait(5)"
Crash 16 Feb, 2021 @ 8:30pm 
yeah rotation still broken
Meg_ustaa 16 Feb, 2021 @ 3:27pm 
the hands rotation isnt work like not all of them go to the next persons hand
MeepleBits 28 Sep, 2020 @ 12:33pm 
Made a video for this mod, hope it helps, enjoy! https://youtu.be/aE21AgSXw50
clarkewithe 7 Aug, 2020 @ 3:52pm 
There's a bug in the rotate hands feature that will recognize blank spots at the table as belonging to a player. To overcome it you need to sit with a player at white and all of the other players immediately to the left of them. Also to overcome the bug where all pawns appear red for everyone but the white player you can replace the pawns with the stock ones (Objects -> Components -> Player Pawns)
Cannon Fodder 19 May, 2020 @ 6:44pm 
Looks like the recent update completely botched the scripts of most games :(
Mackles 12 May, 2020 @ 2:54pm 
The hand rotation isn't working properly, which is odd -- it worked one day and was broken the next. Also, all of the pieces appear red for every player other than white -- unclear if this is related to the hand rotation being broken or not, because hand rotation seemingly always thinks someone is seated at red, even when no one is.
Tom 7 May, 2020 @ 6:58pm 
This version of the hand rotator mod isn't working properly. It passes hands to empty seats, and in some cases, passes half of a hand to an empty and half the hand skips over the empty. And sometimes we just can't tell where a card went
joey_3000_ 6 Apr, 2020 @ 7:04pm 
This is so awesome that I made another off of it. Only difference is it deals out the menus from the instruction manual. Thanks so much for this. We love this game IRL. Feel free to use my sloppy code! I just threw it together in an afternoon basically cutting and pasting your stuff lol. BT dubs I play RL too.
Cafe Games 3 Apr, 2020 @ 5:40pm 
Hey Breeze, if you're here ... the common rule of alternating the direction of play in Sushi Go & Party appears to have come from a suggestion in the Sushi Go rulebook
TehCupcakes  [author] 7 Oct, 2019 @ 5:15am 
Thanks The Blitzmann! I don't have a room of people to test it out, but given the reports of it not working right I figured it was time to switch it out. I'm just going to trust you tested it and put it in. :)

Thanks again.
The Blitzmann 6 Oct, 2019 @ 8:03pm 
Hey all,

I created a hand rotator mod with this game in mind, it can be found here: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1883012817

It's inspired by the popular Hand Rotator mod, however this mod didn't work right with this game (was also pretty buggy). I'm hoping the one I've published can be useful to anyone playing this game :)
dasBrennen 23 Jun, 2019 @ 9:56am 
I'm also seeing the error when I load the game. It can't find the custom model for the hand rotation object. That dropbox URL gives me a 404. Probably the people who already had this script installed already have that object cached locally, hence why they aren't seeing the error.

I put the URL of this simple coin object in the dialog that popped up, and that worked well enough for me: http://pastebin.com/raw/Uwe77bKQ
Detrian 22 May, 2019 @ 4:38am 
I get the error too so it's definitely there.
Knaughx 16 May, 2019 @ 7:40pm 
Not sure what to say. It appears to be trying to spawn something to the left of the round counter. I deleted the JSON and unsubscribed, and then resubscribed and opened 780801567.json which matches the workshop ID for this mod, and this is contained within:
"Nickname": "",
"Description": "",
"ColorDiffuse": {
"r": 0.0,
"g": 0.0,
"b": 0.08106164
},
"Locked": true,
"Grid": true,
"Snap": true,
"IgnoreFoW": false,
"Autoraise": true,
"Sticky": true,
"Tooltip": true,
"GridProjection": false,
"Hands": false,
"CustomMesh": {
"MeshURL": "https://www.dropbox.com/s/gnq07fiv6v0iest/token.obj?dl=1" ,
"DiffuseURL": "",
"NormalURL": "",
"ColliderURL": "",
"Convex": true,
"MaterialIndex": 0,
"TypeIndex": 0,
"CastShadows": true
},
TehCupcakes  [author] 16 May, 2019 @ 7:03pm 
@Knaughx I'm not sure where your error is coming from. Maybe you opened another mod or tried importing something from one of your chests? I'm pretty certain I've never put any of my TTS content in dropbox. I just checked this mod and everything appears to be stored in the steam cloud, so I don't think the error could be from this.

Also, @Prezombie, there are instruction pages in the bottom left side of the table. Maybe not the easiest format to consume, but it gets the job done.
Knaughx 16 May, 2019 @ 6:10pm 
Thanks for your great mod. I'm showing a mesh is missing at: https://www.dropbox.com/s/gnq07fiv6v0iest/token.obj?dl=1
TehCupcakes  [author] 8 May, 2019 @ 3:19pm 
The dessert is separate because it is dependent on the number of players and gets added between rounds. (Whereas the deck only gets "built" once, and then cleaned up between rounds.)

The omission of rules is kind of strange... Don't know why I didn't think of that.

I made this a few years ago when the scripting was pretty rudimentary and I remember some limitations getting in the way. I could probably rework it to be a bit smarter and reduce the buttons you need to press... But that would take some time and I don't really have the motivation at the moment. Sorry! Maybe some day. :)
Samantha Prezombie 8 May, 2019 @ 1:18pm 
the ordering of the buttons is a little weird, and why is the dessert separate?

adding a rulebook, either in the notebook or a side tile, would be very appreciated.
Masheen 7 Jan, 2019 @ 8:25am 
I click the 'redo'? button to the left of the "Round" counter section on the right. Not sure what it actually is, but the error was Error in Script (Custom Model - 034da2) function <Left>:chunk_1:(36,25-56): attempt to index a nil value <3>

Wife and I bought the actual game and what an amazing game it is, thank you for taking the time to make it much less script it on here.
TehCupcakes  [author] 28 Jul, 2018 @ 3:56am 
@benmhout What did the error say? When did you get it? How many people were you playing with? Did you play multiple rounds? Did you ever move the tiles or card piles manually?
kingneb 26 Jul, 2018 @ 5:42pm 
I got a scripting error when I played this last week. Anyone know what the issue is? Thanks!
TehCupcakes  [author] 3 Dec, 2017 @ 7:29pm 
@Ruduen Thanks. There was a typo on the tile. It's fixed now.
Ruduen 3 Dec, 2017 @ 6:26pm 
I just played a 3-player game, and it looks like Edamame's scripting is broken - when it was included, none of the cards automatically shuffled into the deck.
TehCupcakes  [author] 26 Apr, 2017 @ 3:34pm 
I changed it yet again. This one seems simpler and cleaner. If it's still causing problems for people, you can always go looking through the workshop for one yourself and bring it in with your chest. It's not ideal, but every time I've tested one of these they've worked fine so idk.
Sobriquet 26 Apr, 2017 @ 12:20pm 
Maybe put back the previous rotatehands logic if it was working for at least some patterns of play. I might get a chance to debug it at the weekend...
Hamtaro With A Gun 23 Apr, 2017 @ 9:21pm 
Rotating hands apparently breaks very easily now.
TehCupcakes  [author] 23 Apr, 2017 @ 5:27am 
I fixed the issue with the hidden cards. Idk what the issue with rotate hands is... It was written by someone else, so I'll let them know and maybe they can figure it out.
invisiblesimmer 22 Apr, 2017 @ 9:53pm 
I am playing with 5 people, and the rotate hands button had an error during the first round when there was one more card to rotate. The message in chat said "Error in Lua coroutine rotateCorountine". Going to the next round did not fix the button either. It essentially breaks the rotate hands button for the rest of the game.

Additionally, people in the Pink and Purple colours have half of their hand hidden by the white zone. They can only see 3 cards of their 9 card hand.
TehCupcakes  [author] 17 Apr, 2017 @ 7:56pm 
I've changed out the hand rotation script with another one made by a different user. Hopefully that does the trick and there's no more messy hand passing. ;) I don't love all the little hacks that this solution applies, but TTS being highly physics-based really hates colliding objects which makes hand passing particularly tricky.
Sobriquet 16 Apr, 2017 @ 6:16am 
This looks great, we love Sushi Go Party! We have an issue with the scripts with local 2-player (Red/White). The rotate hands script seems to dump all of the cards into the White player's hand. However, the dealing works correctly (even the correct number of cards for 2P). Any ideas?
TehCupcakes  [author] 23 Mar, 2017 @ 3:41am 
The host enters the game as white. At the time, I didn't know that I could change the player colors so the host would need to switch to Teal. (That's probably why you weren't seeing any buttons.) However, now I've solved this issue for good by just changing Teal to White, so the host will start as the right color.

There was also apparently a change to TTS which caused the hidden area to be slightly offset, so other colors could see the cards inside. I have fixed this as well.
Ruduen 22 Mar, 2017 @ 8:42pm 
I'm not seeing any buttons. Did something change to make them disappear, or is it an issue with my download?
TheJoester 13 Jan, 2017 @ 4:59am 
Why wouldnt you put the scripting options under the White player as that is the default host color?
TehCupcakes  [author] 29 Dec, 2016 @ 10:25am 
Fixed the Teal pawn color.

The other thing isn't an issue; it's standard TTS behavior, not unique to this mod.
JDario 28 Dec, 2016 @ 2:48pm 
Also, when a player is black (Game master - can see all information), cards get dealt to the whole table, even if there are players missing.
JDario 27 Dec, 2016 @ 9:31pm 
Also, just noticed this, but the teal player's pawn is not teal.

It's not a big deal and can easily be fixed when playing. Just wanted to let you know, in case you wanted to fix it :P
TehCupcakes  [author] 27 Dec, 2016 @ 2:40pm 
@Jfgdr Thanks for pointing that out. It should be fixed now!
JDario 27 Dec, 2016 @ 2:27pm 
First off, thank you so much for this mod! It's scripted very well, and it's super fun to play.

However, I wanted to let you know that the pink and purple players cannot see the cards in their hand, because the go into the teal zone. Just a small issue, but it stops groups from playing with 8 people.

Hopefully you can fix this. Thanks!