You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cards of certain subtypes always have specific rules-text (like Double/Triple/Priority/Terminal). The motivation is typos like #854.
Maybe we can add an "associated_text": field to card_subtypes.json, that is usable when testing card JSON. For example,
[
{
"id": "priority",
"name": "Priority",
"associated_text": [
"Play only as your first [click]"
]
},
{
"id": "double",
"name": "Double",
"associated_text": [
"As an additional cost to play this event, spend [click]",
"As an additional cost to play this operation, spend [click]"
]
},
{
"id": "triple",
"name": "Triple",
"associated_text": [
"As an additional cost to play this event, spend [click][click]",
"As an additional cost to play this operation, spend [click][click]"
]
},
{
"id": "terminal",
"name": "Terminal",
"associated_text": [
"After you resolve this event, end your action phase.",
"After you resolve this operation, end your action phase."
]
},
…
]
The value could be an string-array of possibile lines, or a regular expression (e.g. for (event|operation)), or something else.
The text was updated successfully, but these errors were encountered:
sboosali
changed the title
Add basic checks for JSON (to catch some typos)
Add basic text checks for JSON (to catch some typos)
Dec 13, 2024
Cards of certain subtypes always have specific rules-text (like
Double
/Triple
/Priority
/Terminal
). The motivation is typos like #854.Maybe we can add an
"associated_text":
field tocard_subtypes.json
, that is usable when testing card JSON. For example,The value could be an string-array of possibile lines, or a regular expression (e.g. for
(event|operation)
), or something else.The text was updated successfully, but these errors were encountered: