Tabletop Simulator

Tabletop Simulator

Not enough ratings
Perfect Draw! Custom Editable Cards
   
Award
Favorite
Favorited
Unfavorite
Type: Objects
Complexity: Low Complexity
Assets: Scripting, Cards
File Size
Posted
Updated
306.028 KB
Mar 3, 2024 @ 5:49pm
Mar 12, 2024 @ 11:31am
3 Change Notes ( view )

Subscribe to download
Perfect Draw! Custom Editable Cards

Description
Customizable Cards for Perfect Draw!
get the demo here: https://noorasphere.itch.io/perfect-draw-demo

Edited from Central419's Editable Cards Mod: https://steamcommunity.com/sharedfiles/filedetails/?id=2457269570

The script is commented so you should be able to jump into it and make edits easily even without coding knowledge but it is still a rough wip. Feel free to make suggestions or upload your own version of this mod.

*despite what the screenshot says, bbcode should work on cards. I'll correct that the next time I take screenshots.

1.1.0 BACKWARDS COMPATIBILITY UPDATE
It would be incredibly tedious to have to move the title, type, and description of every card in your deck to a new card every update, but I'm going to be bug fixing and adding features as I get suggestions. Now you can paste the new code into an old card with minimal issues! (Any data stored in the json will be reset to defaults if your card is too old for the new version to parse the data: font sizes, tooltip show status, lock status.) Make sure if you edit the delimiter list, you keep it consistent with your old card after you paste in the new code!

Known issues:
- Tooltips take a moment to load, as far as I know this is a TTS thing.
- Lock mode moves the text fields to the back of the card. This means they are still editable when flipped. There is no way that I know of to fix that.
- Text and decals visually disappear when cards are placed into a deck face up. They return as soon as the card is drawn.
- Cards are unable to be tinted. I've provided 10 different colors corresponding to Tabletop Simulator's seat colors as a work around.
- Text will be blurry if the card is scaled up using the TTS scaling option. I do not know how to fix that.
- A card's name & type will be missing if updated code is pasted into a card and a delimiter mismatch occurs. This can be fixed by updating your delimiter list in the code (if it was edited on your old card) then cycling though delimiters. I think should be able to implement a fix for this eventually, but it will require rewriting multiple functions.