News:

A forum for users of LackeyCCG

Main Menu

Card Text Viewing

Started by Penagain, June 13, 2020, 02:14:33 PM

Previous topic - Next topic

Penagain

OK, my next challenge...

I'm working with a game that has a fair number of cards with errata. The card info in Lackey accounts for that, but the card images (obviously) do not.

I know there is a setting in Lackey that will cause all cards text to be displayed in the card viewer, which is handy but covers up the bulk of the art on the cards.

Is there a way to code cards in the setlist so that the ones with errata display the card text in the viewer, but the ones without do not? That way we aren't covering cool card art with boring text boxes when we don't have to, only when we need to?

CrazyChucky

I don't know of a setting to do that selectively and automatically. Have you tried holding the `/~ key (in in the top left, just below escape) while mousing over cards? That should display the full card data next to the cursor.

Penagain

That works just fine, for sure.

I guess what I really need is a way to tag the card so that I even know when to check the text and when not to bother.

I'll keep thinking too. Thanks for letting me know there wasn't something basic I was just too dense to see!!

CrazyChucky

#3
Hmm... perhaps an initialization script on relevant cards?

/cn"I have errata"

will make a small blue N on the card (on the table, not in the viewer pane), and hovering over it will show the note. With some searching and replacing, you could even make the note be the full errata text if you want.

Caveat: Lackey apparently doesn't stop reading in the note if there's another script directly afterward. So this works:

/ch;/cn"I have errata"

But this doesn't:

/cn"I have errata";/ch

This only applies if they're separated merely by semicolons. Separately tagged scripts are fine:

<s><a>y</a><l>Initialize</l><f>/ch;/cn"I have errata"</f></s> <s><l>Reveal top card</l><f>/vp1at1</f>

Scripting guide: https://www.lackeyccg.com/forum/index.php?topic=2134.0
Older scripting guide, which is outdated in general, but is still a useful reference for its commands, which work when preceded by /c: https://www.lackeyccg.com/forum/index.php?topic=1801.0

Penagain

Quote from: CrazyChucky on June 14, 2020, 02:36:09 AM

Older scripting guide, which is outdated in general, but is still a useful reference for its commands, which work when preceded by /c: https://www.lackeyccg.com/forum/index.php?topic=1801.0

Ahh--I had ben looking at that. The /c was something I hadn't been able to puzzle out yet! THANK YOU!

To your knowledge, all of the scripts only activate upon playing to the table, right? Nothing will actually pop up on those cards in the Hand window?

CrazyChucky

Ah, yeah there is that. Scripts only work on the table, for better or for worse.

danivillso

Helpful topic, thank you guys  ;)