Tabletop Simulator

Tabletop Simulator

평점이 부족합니다.
Card Deck Renamer
   
어워드
즐겨찾기
즐겨찾기됨
즐겨찾기 해제
Assets: Scripting
파일 크기
게시일
22.567 KB
2018년 1월 9일 오후 10시 28분
업데이트 노트 1개 (보기)

다운로드 위해 구독하기
Card Deck Renamer

설명
Quickly rename decks of cards! Because laziness!

Go through a deck and select their values. Much quicker than manually typing it one by one (in most cases).

Set up your own naming conventions and even change what values are possible to select via a table in the script!

Instructions are included on useage.



Minor Warning: This is a tool for pretty niche situations when making custom content, I built it to speed up some work on another mod. If you don’t need to name cards in a deck using a variation of values or labels, this probably isn’t that useful for you.
댓글 11
Habanero 2025년 7월 30일 오전 2시 12분 
Made a version of this with GM Note support.

https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3537898477
Habanero 2025년 5월 22일 오후 6시 36분 
Also, I recommend editing the script and turning the width up to at least 8000 for both fields.
Habanero 2025년 3월 12일 오후 2시 02분 
Useful, but kinda janky. Be careful when using. I think I loaded a save or tried to move a card in the middle of renaming, and it ended up making "ghost" cards that couldn't be drawn or searched for (and if you try to draw it, it plays the draw SFX infinitely). It also pads the deck card count, which was annoying when I was QCing a mod. Drawing the cards and then deleting the leftover ghost deck might fix it, have to test.

Honestly since this script is almost 10 years old, maybe a newer one is needed.
Coping Kobold 2022년 6월 14일 오전 10시 56분 
Minor Bug: When there are 3 of the same card, it outputs 5 indices of that card on validation.
Coping Kobold 2022년 6월 14일 오전 10시 48분 
@ugleh You can do that by typing the card's name in the top field for every card.
Ugleh 2022년 1월 27일 오후 6시 04분 
When renaming huge decks for use in scripting, like games like Medium, I have had to use custom scripts that use chat. Every chat message is the cards name + Next. This is also cool but I think you should consider adding what I do as a toggable option?
Kranston Snord 2020년 12월 1일 오전 10시 25분 
Utterly brilliant tool. Super easy to use. No bugs and a really great piece of coding. Currently working on Port Royal, but I'll use this every time for future projects !!!!! THANK YOU THANK YOU THANK YOU
Lumito 2020년 7월 14일 오전 11시 25분 
Trying to make decks for blackjack and that script do not accept 1, 2,3 etc.
Only One, Two, Three etc.
Lumito 2020년 7월 14일 오전 11시 18분 
Could you make it so you can choose the values? I mean 1 or One, 2 or Two etc..
KALTec Games 2019년 3월 7일 오후 3시 04분 
I used this tool for naming the decks for Hull Breach.

Some things I changed (other than the suit and value).

Line 132 - I used "[suit]: [value]" so it would be nice for this to be a variable up top
Line 169 - Ditto
Line 230 - Ditto
Line 265 - Added data_nameFormat=card.getName() - this causes it to default to the current card name
Line 296 - Added self.editInput({index=0,value=card.getName()}) for the same reason

It would be nice to have similar functionality added for the previous button.
This makes it easier to keep what you have if you made a (partial) mistake on the first run thru.

Also I found it useful to run the deck's thru Mr. Stumps "Deck Duplicate GUID Fixer" after I got done. https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1180142950