Tabletop Simulator

Tabletop Simulator

Sort Hand Tool
15 Comments
TheWindMage 26 May, 2024 @ 4:44pm 
I need to group cards based on value and not suit. How can I do this?
Il-Roberto 19 Dec, 2023 @ 2:07am 
Awesome tool!
1 thumb up for you!
Xtal Lattice  [author] 27 Aug, 2023 @ 12:55pm 
@grandpixel:

This shouldn't be a problem. It should import like any object and the code should be available just like you would expect it to.

If it's not showing up properly, that sounds like a TTS bug rather than anything with this particular object.
Xtal Lattice  [author] 27 Aug, 2023 @ 12:54pm 
@Leandro_Pires:

Thank you! And no, it wasn't designed to sort all players' hands because it was intended to give individual control to each player. This way, you could have different sorting methods based in individual preferences.

But in addition to that, people will occasionally stage sets within their hands (like putting together a full house, flush, etc...) and someone else triggering a sort would ruin their work.
G R Λ N D 16 Mar, 2023 @ 12:23am 
Can you tell me, how do I import this into my own game? I load this and I see the deck and the button and it works (except for modifying the refCardOrder - doesn't work), but when I copy the deck with labels you provide, and paste into my own game, and go to the modding/scripting button, it doesn't show your script, and I can't see where to add or import one. Thanks.
Leandro_Pires 31 Dec, 2022 @ 5:04am 
Awesome tool!
Is there any way of sorting all players' hand without each player click on it? (e.g., If the host clicks, all hands are sorted).
Mindspur 19 Oct, 2022 @ 8:39pm 
@Xtal - thank you for the response - I will look to set this up and give it a try!
Xtal Lattice  [author] 10 Jul, 2022 @ 2:33pm 
@ZeekMaster, @calpoop:

You're very welcome! I'm glad you guys found this useful!
Xtal Lattice  [author] 10 Jul, 2022 @ 2:32pm 
@Tim: Yes, you can. Just use whatever is in the name field to determine your sort order in the tool's configuration.

Example:

refCardOrder = {"1", "2", "3", }
ZeekMaster 23 Jun, 2022 @ 12:49pm 
Thank you @Xtal Lattice! I've reused your code to automatically sort the train cards on entry to a player's hand in the Ticket to Ride mod I put together.
Mindspur 22 Mar, 2022 @ 11:11am 
I'm not great with scripting, if my card names all begin an actual number (not spelled out), can I make this tool look at that and do the sort in numerical order only? No description on the cards, only card names with a leading number, followed by some text. Thx for any help you can provide.
calpoop 2 Feb, 2022 @ 5:10pm 
excellent tool! using it for my games, and also comes with a nice deck that has 2 different jokers, which i need! thank you
Xtal Lattice  [author] 13 Sep, 2020 @ 8:48pm 
@fried raccoon:

You're welcome! I'm glad you find it useful!
fried raccoon 13 Sep, 2020 @ 6:27pm 
super nice tool for every modder! thanks!
Xtal Lattice  [author] 13 Sep, 2020 @ 5:25pm 
Made a slight change to the mod title ("Sort Hands Tool" became "Sort Hand Tool").

If the mod in your TTS shows the old name:

1. Delete it from TTS.
2. In Steam, unsubscribe and then re-subscribe.


This way, it will make sure that you have a proper connection to get mod updates.

Sorry for the inconvenience, folks.