Tabletop Simulator

Tabletop Simulator

Sort Hand Tool
15 条留言
TheWindMage 2024 年 5 月 26 日 下午 4:44 
I need to group cards based on value and not suit. How can I do this?
Il-Roberto 2023 年 12 月 19 日 上午 2:07 
Awesome tool!
1 thumb up for you!
Xtal Lattice  [作者] 2023 年 8 月 27 日 下午 12:55 
@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  [作者] 2023 年 8 月 27 日 下午 12:54 
@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 2023 年 3 月 16 日 上午 12:23 
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 2022 年 12 月 31 日 上午 5:04 
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 2022 年 10 月 19 日 下午 8:39 
@Xtal - thank you for the response - I will look to set this up and give it a try!
Xtal Lattice  [作者] 2022 年 7 月 10 日 下午 2:33 
@ZeekMaster, @calpoop:

You're very welcome! I'm glad you guys found this useful!
Xtal Lattice  [作者] 2022 年 7 月 10 日 下午 2:32 
@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 2022 年 6 月 23 日 下午 12:49 
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 2022 年 3 月 22 日 上午 11:11 
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 2022 年 2 月 2 日 下午 5:10 
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  [作者] 2020 年 9 月 13 日 下午 8:48 
@fried raccoon:

You're welcome! I'm glad you find it useful!
fried raccoon 2020 年 9 月 13 日 下午 6:27 
super nice tool for every modder! thanks!
Xtal Lattice  [作者] 2020 年 9 月 13 日 下午 5:25 
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.