readme: ---
  license: unknown
  ---
  https://perchance.org/9898-mtg-card-generator-v3
  
  ---
  
  background = {import:background-image-plugin}
  commentsPlugin = {import:comments-plugin}
  o = [output]
  ocn = [output_card_name.selectUnique(1)]
  tCT = [thisCardType]
  ocm = [output_card_mana]
  oct = [output_card_type]
  octst = [output_cardtype_subtype]
  octxt = [output_card_text]
  octxtkact = [output_card_text_keyword_action]
  octxtkab = [output_card_text_keyword_ability]
  ocr = [output_card_rarity]
  ocsc = [output_card_set_code]
  ocpt = [output_card_power_toughness]
  c  = [colors]
  s = [scryfall.selectUnique(1).sentenceCase]
  r = <b>[ocn.selectUnique(1).titleCase]<p>[ocm.selectUnique(1)]<br>[tCT.selectUnique(1).titleCase]<br>[ocsc.selectUnique(1)] • [ocr.selectUnique(1)]<br>{{[scry_keyword_abilities.selectUnique(1)]|[scry_keyword_actions.selectUnique(1)]|[scry_ability_words.selectUnique(1)]}|[octxt.selectUnique(1)]|[octxtkact.selectUnique(1)]|[octxtkab.selectUnique(1)]|{[scry_keyword_abilities.selectUnique(1)]|[scry_keyword_actions.selectUnique(1)]|[scry_ability_words.selectUnique(1)]} [octxt.selectUnique(1)]|{[scry_keyword_abilities.selectUnique(1)]|[scry_keyword_actions.selectUnique(1)]|[scry_ability_words.selectUnique(1)]}|[octxt.selectUnique(1)] [octxtkact.selectUnique(1)]|{[scry_keyword_abilities.selectUnique(1)]|[scry_keyword_actions.selectUnique(1)]|[scry_ability_words.selectUnique(1)]}|[octxtkact.selectUnique(1)] [octxtkab.selectUnique(1)]}<br><b>[ocpt.selectUnique(1)] <br><br>— — — — — — — — — — — — — — — — — —<br>
  emo = {import:emotion}
  pageTitle = <u>9898-MTG Card Generator V3</u>
  pageSubtitle = 2023 © 9898-MTG
  ocbl = ocstbl = output_card_subtype_basic_land
  ocnbl = ocstnbl = output_card_subtype_nonbasic_land
  
  commentsOptions
    width = 400
  
  title
    9898-MTG Card Generator V3
  
  $output = <b>[ocn.selectUnique(1).titleCase]<p>[ocm.selectUnique(1)]<br>[tCT.selectUnique(1).titleCase]<br>[ocsc.selectUnique(1)] • [ocr.selectUnique(1)]<br>{{[scry_keyword_abilities.selectUnique(1)]|[scry_keyword_actions.selectUnique(1)]|[scry_ability_words.selectUnique(1)]}|[octxt.selectUnique(1)]|[octxtkact.selectUnique(1)]|[octxtkab.selectUnique(1)]|{[scry_keyword_abilities.selectUnique(1)]|[scry_keyword_actions.selectUnique(1)]|[scry_ability_words.selectUnique(1)]} [octxt.selectUnique(1)]|{[scry_keyword_abilities.selectUnique(1)]|[scry_keyword_actions.selectUnique(1)]|[scry_ability_words.selectUnique(1)]}|[octxt.selectUnique(1)] [octxtkact.selectUnique(1)]|{[scry_keyword_abilities.selectUnique(1)]|[scry_keyword_actions.selectUnique(1)]|[scry_ability_words.selectUnique(1)]}|[octxtkact.selectUnique(1)] [octxtkab.selectUnique(1)]}<br><b>[ocpt.selectUnique(1)] <br>— — — — — — — — — — — — — — — — — —<br>
  
  output1
    title = Name
    buttonText = Generate
    content = <b>[ocn.selectUnique(1).titleCase]
    
  output2
    title = Cost
    buttonText = Generate
    content = <b>[ocm.selectUnique(1)]
    
  output3
    title = Type — Subtype
    buttonText = Generate
    content = <b>{[tCT.selectUnique(1)]|[oct.selectUnique(1)] — [octst.selectUnique(1)]}
  
  output4
    title = Set Code • Rartity
    buttonText = Generate
    content = <b>[ocsc.selectUnique(1)] • [ocr.selectUnique(1)]
  
  output5
    title = Effects
    buttonText = Generate
    content = <b>{[octxt.selectUnique(1)]|[octxtkact.selectUnique(1)]|[octxtkab.selectUnique(1)]|[octxt.selectUnique(1)]|[octxt.selectUnique(1)], [octxtkact.selectUnique(1)]|[octxtkact.selectUnique(1)], [octxtkab.selectUnique(1)]}
    
  output6
    title = Power/Toughness
    buttonText = Generate
    content = [ocpt.selectUnique(1)]
  
  output7
    title = Results
    buttonText = Generate
    content = [r]
    
  
  output_card_name
    {{import:adjective}|{import:verb}} {{import:word}|{import:noun}}
    {import:adjective} {import:verb} {{import:word}|{import:noun}}
    {{import:adjective}|{import:verb}} {import:word} {import:noun}
    {import:adjective} {import:verb} {import:word} {import:noun}
  thisCardType
    [thisCardType = output_card_type] — [specificType]
  specificType
    [output_card_subtype_basic_land] ^[thisCardType == "Basic"]
    [output_card_subtype_nonbasic_land] ^[thisCardType == "NonBasic"]
    [output_card_subtype_creature] ^[thisCardType == "Creature"]
    [output_card_subtype_artifact] ^[thisCardType == "Artifact"]
    [output_card_subtype_enchantment] ^[thisCardType == "Enchantment"]
    [output_card_subtype_planeswalker] ^[thisCardType == "Planeswalker"]
    [output_card_subtype_instant] ^[thisCardType == "Instant"]
    [output_card_subtype_sorcery] ^[thisCardType == "Sorcery"]
    [output_card_subtype_creature] ^[thisCardType == "Creature"]
    [output_card_subtype_plane] ^[thisCardType == "Plane"]
  output_card_mana
    {{{0-12}|X}|{0-12}|X {0-6 [basic_mana]|[hybrid_mana]|[tri_hybrid_mana]|[four_color_mana]|[multicolor_mana]|[phyrexian_mana]|[prismatic_mana]}}  
  basic_mana
    {W|U|B|R|G|C|X|S}
  hybrid_mana
    {{1-2}/{W|U|B|R|G}|{W|U|B|R|G}}
  tri_hybrid_mana
    {W/B/G|W/U/G|W/U/B|U/B/R|W/U/R|B/R/G|W/B/R|W/R/G|U/B/G|U/R/G}
  four_color_mana
    {U/B/R/G|W/B/R/G|W/U/B/G|W/U/B/R}
  multicolor_mana
    {BR|UB|BG|RG|GU|