Tabletop Simulator

Tabletop Simulator

Deck Alphabetizer [Broken]
8 Comments
Indimeco  [author] 19 Feb, 2019 @ 11:54pm 
@3tamatulg Thanks, I have done so.
3tamatulg 19 Feb, 2019 @ 12:58pm 
I'd say just stick [BROKEN] at the end of the title - seeing the way someone's done something can be really useful. Maybe someone will come along and fix it, might just be a couple of lines.
Indimeco  [author] 19 Feb, 2019 @ 1:53am 
@3tamatulg There's a good chance it is as I made it a really long time ago and TTS has undergone lots of scripting changes. If you can confirm that it doesn't work for you I'll hide it in the workshop so nobody gets misled.
3tamatulg 18 Feb, 2019 @ 7:02am 
Is this currently broken?
H3xx 16 Sep, 2017 @ 10:47am 
This would be great with a deck of NPC cards... made using my scripted note cards </shameless.self.plug>
darleth 6 Sep, 2017 @ 11:35pm 
Thanks a lot...
Indimeco  [author] 6 Sep, 2017 @ 3:50pm 
@dzikakulka Ah yeah. I didn't think table.sort() would work with key/value pairs without messing up the table but I figured it out. Thanks.
dzikakulka 6 Sep, 2017 @ 7:24am 
Hey, nice job, just wanted to note that you don't need to search for the "highest" (earliest in the alphabet) name in the table each time, Lua compares strings alphabetically by default. You can just slap a table.sort() with default comparison and go ahead :)