Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding custom effect strings #24

Open
DuDono opened this issue Jun 21, 2024 · 1 comment
Open

Adding custom effect strings #24

DuDono opened this issue Jun 21, 2024 · 1 comment

Comments

@DuDono
Copy link

DuDono commented Jun 21, 2024

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
Copy link
Owner

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 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants