itsjustmustafa / sorcery_card_maker

0 stars 0 forks source link

Smart text-box formatting #1

Open PhillipVas opened 4 months ago

PhillipVas commented 4 months ago

Currently the JSON defines each line of card text, I think the rules text should just be one continuous JSON field.

itsjustmustafa commented 3 months ago

This is now working

image

{
    "name": "Prime Real Estate",
    "mana": 4,
    "text": "Target a site you own on a prime numbered square, it teleports with all units on it to a target prime numbered void square."
},

Includes allowing forced line breaks

image

{
    "name": "Coronavirus",
    "mana": 0,
    "text": "Must be played as soon as this is drawn.\nDeal 3 damage to each unit on each location with 3 or more units."
},