piface314 / ygo-fabrica

A project manager for EDOPro card packs.
MIT License
24 stars 4 forks source link

Adding custom effect strings #24

Open DuDono opened 4 months ago

DuDono commented 4 months ago

What I mean by "custom effect strings" is strings like the 'draw 1 card ?" that will pop up after using the effect of a co-linked Knightmare. I dunno how to add these, and the wiki didn't help.

piface314 commented 4 months ago

In order for ygofab make to add custom effect strings, you just have to add strings to a cards entry, as explained here. It should be an array of strings.

Example from Knightmare Unicorn:

[[card]]
id = 38342335
name = "Knightmare Unicorn"
type = "monster effect link"
link-rating = 3
link-arrows = "left right bottom"
attribute = "dark"
race = "fiend"
atk = 2200
strings = ["Return to deck", "Draw 1 card?"]
# effect and set fields were omitted