diff --git a/archenemy-standard.mse-style/card-sample.png b/archenemy-standard.mse-style/card-sample.png new file mode 100644 index 0000000..4fac8c1 Binary files /dev/null and b/archenemy-standard.mse-style/card-sample.png differ diff --git a/archenemy-standard.mse-style/card.png b/archenemy-standard.mse-style/card.png new file mode 100644 index 0000000..569a140 Binary files /dev/null and b/archenemy-standard.mse-style/card.png differ diff --git a/archenemy-standard.mse-style/image_mask.png b/archenemy-standard.mse-style/image_mask.png new file mode 100644 index 0000000..a4728c0 Binary files /dev/null and b/archenemy-standard.mse-style/image_mask.png differ diff --git a/archenemy-standard.mse-style/style b/archenemy-standard.mse-style/style new file mode 100644 index 0000000..f02fdf9 --- /dev/null +++ b/archenemy-standard.mse-style/style @@ -0,0 +1,249 @@ +mse version: 0.3.8 +game: archenemy +short name: Standard +installer group: Magic Archenemy/normal style +icon: card-sample.png +position hint: 01 + +version: 2010-05-20 +depends on: + package: archenemy.mse-game + version: 2010-05-17 +depends on: + package: magic-mana-small.mse-symbol-font + version: 2007-09-23 +depends on: + package: magic-future-common.mse-include + version: 2007-09-23 + +card width: 435 +card height: 621 +card dpi: 150 +# By Pichoro +# Images by Art_Freak +############################################################## Extra scripts +init script: + # Use the normal tap symbol + mana_t := { + if styling.tap_symbol == "old" then "old" + else if styling.tap_symbol == "diagonal T" then "older" + else "new" + } + # Use guild mana symbols? + guild_mana := { styling.use_guild_mana_symbols } + +############################################################## Set info fields +set info style: + symbol: + variation: + name: invertedcommon + border radius: 0.10 + fill type: solid + fill color: rgb(255,255,255) + border color: rgb(0,0,0) +############################################################## Extra style options +styling field: + type: boolean + name: use guild mana symbols + description: Use the Ravnica guild symbols instead of the official half/half circles for hybrid mana. + initial: no +styling field: + type: package choice + name: text box mana symbols + match: magic-mana-*.mse-symbol-font + initial: magic-mana-small.mse-symbol-font +styling field: + type: choice + name: tap symbol + description: What tap and untap symbols should be used on cards? + initial: modern + choice: modern + choice: old + choice: diagonal T +styling field: + type: boolean + name: inverted common symbol + description: Should the common rarity symbol be inverted, like in Coldsnap? + initial: no +styling field: + type: choice + name: artist font color + description: Should the illustrator, copyright, and illustrator paintbrush be white or black? + choice: white + choice: black +styling field: + type: package choice + name: overlay + description: Should there be an overlay applied, such as foil? + match: magic-overlay-*.mse-include + required: false +styling style: + use guild mana symbols: + choice images: + yes: /magic-mana-small.mse-symbol-font/mana_guild_rg.png + no: /magic-mana-small.mse-symbol-font/mana_rg.png + tap symbol: + render style: both + choice images: + modern: /magic-mana-small.mse-symbol-font/mana_t.png + old: /magic-mana-small.mse-symbol-font/mana_t_old.png + diagonal T: /magic-mana-small.mse-symbol-font/mana_t_older.png +############################################################## Card fields +card style: + ############################# Background stuff + border color: + left: 0 + top: 0 + width: 435 + height: 621 + radius: 16 + left width: 16 + right width: 15 + top width: 13 + bottom width: 15 + z index: 4 + ############################# Name line + name: + left: 63 + top: 35 + width: 306 + height: 27 + alignment: bottom center shrink-overflow + padding bottom: 0 + z index: 2 + font: + name: Matrix + size: 16 + weight: bold + color: black + ############################# Image + image: + left: 26 + top: 25 + width: 383 + height: 571 + z index: 1 + mask: image_mask.png + ############################# Card type + type: + left: 65 + top: 406 + width: { 312 - max(21,card_style.rarity.content_width) } + height: 21 + alignment: middle left shrink-overflow + z index: 2 + font: + name: Matrix + size: 14 + color: black + rarity: + right: 370 + top: 407 + width: 37 + height: 19 + z index: 2 + render style: image + alignment: middle right + choice images: + # Images based on the set symbol + common: + script: + if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") + else symbol_variation(symbol: set.symbol, variation: "common") + uncommon: script: symbol_variation(symbol: set.symbol, variation: "uncommon") + rare: script: symbol_variation(symbol: set.symbol, variation: "rare") + mythic rare: script: symbol_variation(symbol: set.symbol, variation: "mythic rare") + special: script: symbol_variation(symbol: set.symbol, variation: "special") + ############################# Text box + text: + left: 64 + top: 435 + width: 309 + height: 122 + font: + name: MPlantin + italic name: MPlantin-Italic + size: 14 + scale down to: 7 + color: black + symbol font: + name: { styling.text_box_mana_symbols } + size: 14 + alignment: middle left + z index: 2 + padding left: 5 + padding top: 2 + padding right: 5 + padding bottom: 2 + line height hard: 1.2 + line height line: 1.5 + ############################# Card sorting / numbering + ############################# Copyright stuff + illustrator: + left: 99 + top: 570 + width: 267 + height: 14 + alignment: center + z index: 2 + font: + name: Matrix + size: 11 + color: {styling.artist_font_color} + copyright line: + left: 67 + top: 587 + width: 296 + height: 14 + alignment: center + z index: 2 + font: + name: MPlantin + size: 6 + color: {styling.artist_font_color} +############################################################## Extra card fields +extra card field: + type: choice + name: frame + choice: frame + save value: false + editable: false +extra card field: + type: choice + name: foil layer + choice: foil + save value: false + editable: false +extra card field: + type: choice + name: paintbrush + script: styling.artist_font_color + editable: false + save value: false +extra card style: + paintbrush: + right: { 232 + ( card_style.illustrator.content_width * -0.5 ) } + top: 571 + width: 35 + height: 14 + z index: 6 + render style: image + choice images: + black: /magic-future-common.mse-include/paintbrush_black.png + white: /magic-future-common.mse-include/paintbrush_white.png + frame: + left: 0 + top: 0 + width: 435 + height: 621 + z index: 0 + render style: image + image: card.png + foil layer: + left: 0 + top: 0 + width: 435 + height: 621 + z index: 3 + render style: image + image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} diff --git a/archenemy.mse-game/card-sample.png b/archenemy.mse-game/card-sample.png new file mode 100644 index 0000000..6bbb014 Binary files /dev/null and b/archenemy.mse-game/card-sample.png differ diff --git a/archenemy.mse-game/game b/archenemy.mse-game/game new file mode 100644 index 0000000..976d768 --- /dev/null +++ b/archenemy.mse-game/game @@ -0,0 +1,1434 @@ +mse version: 2.0.0 +short name: Archenemy +full name: Magic Scheme Cards +installer group: Magic Archenemy/game files +icon: card-sample.png +position hint: 02 + +version: 2014-03-25 + +# By Pichoro +############################################################## Functions & filters +# General functions +init script: + ############################################################## Sorting mana symbols + + # correctly sort a mana symbol (no guild mana) + mana_sort := sort_text@(order: "XYZI[0123456789]HS(WUBRG)") + + # correctly sort guild mana + mana_sort_guild := sort_text@(order: "[XYZI01234567890HSWUBRG/|]") + + replace@( + match: "./.|././.|./././.|.[|]", + in_context: "(^|[^/])($|[^/])", + replace: {sort_text(order:"in_place((WUBRG)")} + ) + mana_has_guild := match@(match: "[/|]") # Is there guild or half mana in the input? + + # A mana cost can contain both normal and guild mana + mana_filter := to_upper + { + if mana_has_guild() then mana_sort_guild() + else mana_sort() + } + + # Like mana filter, only also allow tap symbols: + tap_filter := sort_text@(order: "") + + mana_filter_t := replace@( # Remove [] used for forcing mana symbols + match: "[\\[\\]]", + replace: "" + ) + { tap_filter() + mana_filter() } + + ############################################################## Utilities for keywords + + # replaces — correctly + add := "" # default is nothing + for_mana_costs := format_cost := { + if input.separator_before == "—" and contains(input.param, " ") then ( + if contains(input.param, match:",") then ( + if match(match: "^[HSCTQXYZIWUBRG0-9/|]+,", input.param) then + "{add}{combined_cost(input.param)}" + else "{combined_cost(input.param)}" + ) else + "{alternative_cost(input.param)}" + ) else + "{add}{input.param}" + } + alternative_cost := replace@(match:"^[A-Z]", replace: { to_lower() }) + combined_cost := replace@(match:", [A-Z]", replace: { to_lower() })+ + replace@(match:",", replace:" and")+ + replace@(match:"^[HSCTQXYZIWUBRG0-9/|]", in_context: "(^|[[:space:]])", replace: "&")+ + replace@(match:"^[A-Z]", replace: { to_lower() }) + long_dash := replace@(match:"-", replace:"—") + + # Converted mana cost + is_half_mana := match@(match: "1/2|[|][WUBRGS]") + is_colored_mana := match@(match: "[WUBRG]") + only_numbers := filter_text@(match: "^[0123456789]+") + cmc_split := break_text@(match: "(?ix) 1/2 | [|][WUBRG] | [0-9]+(?!/[WUBRGSCTQ2]) | [WUBRGHS0-9](/[WUBRGS])\{0,4} ") + cmc := {to_number( + for each sym in cmc_split() do ( + numbers := only_numbers(sym) + if is_half_mana(sym) then 0.5 + else if numbers != "" then max(1, to_int(numbers)) + else 1 # all other symbols are 1 + )) + } + + colored_mana := {to_number( + for each sym in cmc_split() do ( + numbers := only_numbers(sym) + if is_colored_mana(sym) then + if is_half_mana(sym) then 0.5 else 1 + else 0 + )) + } + + ############################################################## The text box + + # Filters for the text box + # context in which mana symbols are found + mana_context := + "(?ix) # case insensitive, ignore whitespace + (^|[[:space:]\"(]) # start of a word + ( : # G: something + | , # G, tap: something + | [ ]can[ ]be[ ]pay + | (pays?|additional|costs?|the # pay X. creatures cost 1 less. pay an additional G. + |adds?|pay(ed)?[ ](with|using) + ) + ([ ]either)? # pay either X or Y + ([ ]]*>[CTQHSXYZIWUBRG0-9/|]+]*>[ ](and|or))* # pay X or Y + [ ] + ([,.)]|$ # (end of word) + |[ ][^ .,]*$ # still typing... + |[ ]( or | and | in | less | more | to ) # or next word is ... + ) + ) + | # keyword argument that is declared as mana + | [ ]* # keyword argument that is declared as cost + | , # keyword argument that is declared as cost + "; + # the rule text filter + # - adds mana symbols + # - makes text in parentheses italic + text_filter := + # step 1 : remove all automatic tags + remove_tag@(tag: "") + + remove_tag@(tag: "") + + remove_tag@(tag: "{keyword}" + else keyword + if expand then " ({reminder})" } + ) + + # step 2b : move inline keywords' reminder text to the end of the line + replace@( + match: "(.*]*>)([^\n(]+)", + replace: "\\2\\1" + ) + + replace@( + match: "(.*]*>)([^\n(]+)", + replace: "\\2\\1" + ) + + replace@( + match: "(.*]*>)([^\n(]+)", + replace: "\\2\\1" + ) + + # step 3 : expand shortcut words ~ and CARDNAME + replace@( + match: "CARDNAME", + in_context: "(^|[[:space:]]|\\()", + replace: "" + ) + + # step 4 : explict non mana symbols + replace@( + match: "\\][HSCTQXYZIWUBRG0-9/|]+\\[", + replace: {"" + mana_filter_t() + ""} ) + + # step 5 : add mana & tap symbols + replace@( + match: "[HSCTQXYZIWUBRG0-9/|]+", + in_context: mana_context, + replace: {"" + mana_filter_t() + ""} ) + + # step 5b : add explict mana symbols + replace@( + match: "\\[[HSCTQXYZIWUBRG0-9/|]+\\]", + replace: {"" + mana_filter_t() + ""} ) + + # step 6 : curly quotes + curly_quotes + + # step 7 : italic reminder text + replace@( + match: "[(][^)\n]*[)]?", + in_context: "(^|[[:space:]])|", + replace: "&") + + # step 8 : automatic capitalization, but not after "(" + replace@( + match: "[a-z]", + in_context: "[ ]*: |—| — ", + replace: { to_upper() }) + + ############################################################## Other boxes + # the flavor text filter + # - makes all text italic + flavor_text_filter := + # step 2 : remove italic tags + remove_tag@(tag: "") + + # step 3 : surround by tags + { "" + input + "" } + + # curly quotes + replace@( + match: "[[.quotation-mark.]]|”", + in_context: "[ ]+|^|", + replace: "“" )+ + replace@( + match: "[[.quotation-mark.]]", + replace: "”" ) + + # Process the name for sorting rules + sort_name := + # Remove "The", "A", and "And" at the beginning + replace@(match: "^(The|An?) ", replace: "") + + # Remove commas and apostrophes + replace@(match: "(,|'|’)", replace: "") + + # Remove bold and italic tags + replace@(match: "(|||)", replace: "") + + # Make lowercase + to_lower + + #Necessary to make magic-mana-future play nicely + colorless_color := { "c" } + + word_count := break_text@(match:"[^[:space:]]+") + length + line_count := split_text@(match:"\n+",include_empty:false) + length + + # Move the cursor past the separator in the type box + type_over_type := replace@(match:" ?[-:]$", replace:"") + + type_filter := { + input := remove_tag(tag: "{input}" + } + + # Mana font scripts + ancestral_mana := {false} + use_v_mana := {contains(set.custom_mana_symbol_name, match:".png")} + use_large_v_mana := { use_v_mana() and contains(set.mana_symbol_options, match:"casting")} + use_small_v_mana := { use_v_mana() and contains(set.mana_symbol_options, match:"text")} + use_color_v_mana := { use_v_mana() and contains(set.mana_symbol_options, match:"colored") and not use_hybrid_v_mana()} + use_hybrid_v_mana := { use_v_mana() and contains(set.mana_symbol_options, match:"hybrid")} + v_mana_name := {if not use_v_mana() then "" else replace(set.custom_mana_symbol_name, match:"(.+/|\\.png)", replace:"")} + v_mana_loc := {if not use_v_mana() then "" else replace(set.custom_mana_symbol_name, match:"{v_mana_name()}\\.png", replace:"")} + white_text := {false} + symbol_font_small_color := { "black" } +############################################################## Set fields +set field: + type: info + name: Set Information +set field: + type: text + name: title +set field: + type: text + name: description + multi line: true +set field: + type: text + name: artist +set field: + type: text + name: copyright +set field: + type: symbol + name: symbol + description: The symbol for this set, double click to edit +set field: + type: info + name: Defaults and Automation +set field: + type: color + name: border color + description: The default border color for cards + choice: + name: black + color: rgb(0,0,0) + choice: + name: white + color: rgb(255,255,255) + choice: + name: silver + color: rgb(128,128,128) + choice: + name: gold + color: rgb(200,180,0) +set field: + type: multiple choice + name: automatic reminder text + choice: old + choice: core + choice: expert + choice: pseudo + choice: custom + initial: old, expert, pseudo, custom + # Convert from older mse versions + script: + if value == "yes" then "old, core, expert, custom" + else if value == "no" then "" + else value + description: For which kinds of keywords should reminder text be added by default? Note: you can enable/disable reminder text by right clicking the keyword. +set field: + type: boolean + name: automatic card numbers + initial: yes + description: Should card numbers be shown on the cards? +set field: + type: info + name: custom mana +set field: + type: text + name: custom mana symbol name + description: Use mana symbols from magic-mainframe-extras.mse-include. Input NAME.png here, check help below for file instructions. +set field: + type: multiple choice + name: mana symbol options + choice: enable in casting costs + choice: enable in text boxes + choice: colored mana symbols + choice: hybrid with colors +set field: + type: text + name: number hybrid variants + description: Change each number hybrid (0/X, 1/X, 2/X ... 11/X) up to this number to a specific variant instead of a hybrid symbol. +set field: + type: choice + name: mana symbol help + choice: Click here for mana symbol help! + choice: In your mainframe-extras folder, create folders named "large" and/or "small" depending on your usage + choice: Large is for only mana costs, small for only text, create both if you use both + choice: Additionally, you can create a "future" folder for M15 Future mana costs + choice: Save NAME.png to the relevant folders. Remember that large symbols have dropshadows + choice: For the name option above, set the address of the image, minus mainframe-extras and large/small/future + choice: Ex: magic-mainframe-extras/cajun/large/hazard.png would use cajun/hazard.png + choice: Standard size is 160x160 for small, 200x200 for small hybrid and future, 165x178 for large, 205x218 for large hybrid + choice: If your symbol mixes with colors (such as Phyrexian mana): Save NAME_w.png, NAME_u.png, etc to those folders too. + choice: If your symbol hybrids with colors (like 2/W): [Note, doesn't work on M15 Future mana costs.] + choice: Save NAME_h.png to those folders too. See mana_bb.png and similar for how this image should look. + choice: Your mana symbol will now be keyed to V (and V/W, V/U, etc. for colored/hybrid symbols). + choice: You can change number hybrids (2/V etc) to different mana symbols for even more custom symbols. + choice: Put the highest number to change (from 0 to 11) in "number hybrid variants" and save as NAME_0.png etc. +############################# Default style +default set style: + title: + padding left: 2 + font: + size: 16 + symbol: + max aspect ratio: 2.5 + variation: + name: common + border radius: 0.10 + fill type: solid + fill color: rgb(0,0,0) + border color: rgb(255,255,255) + variation: + name: uncommon + border radius: 0.07 + fill type: linear gradient + fill color 1: rgb(224,224,224) + fill color 2: rgb(84, 84, 84) + border color 1: rgb(0, 0, 0) + border color 2: rgb(0, 0, 0) + variation: + name: rare + border radius: 0.07 + fill type: linear gradient + fill color 1: rgb(214,196,94) + fill color 2: rgb(95, 84, 40) + border color 1: rgb(0, 0, 0) + border color 2: rgb(0, 0, 0) + variation: + name: mythic rare + border radius: 0.07 + fill type: linear gradient + fill color 1: rgb(245,148,31) + fill color 2: rgb(186,45,38) + border color 1: rgb(0, 0, 0) + border color 2: rgb(0, 0, 0) + variation: + name: special + border radius: 0.10 + fill type: linear gradient + fill color 1: rgb(224,170,247) + fill color 2: rgb(58,7,80) + border color 1: rgb(255,255,255) + border color 2: rgb(255,255,255) + automatic reminder text: + render style: checklist + direction: vertical + mana symbol options: + render style: checklist + direction: vertical +############################################################## Card fields +############################# Background stuff +card field: + type: color + name: border color + default: set.border_color + choice: + name: black + color: rgb(0,0,0) + choice: + name: white + color: rgb(255,255,255) + choice: + name: silver + color: rgb(128,128,128) + choice: + name: gold + color: rgb(200,180,0) + show statistics: false + description: The border of the card; can be any solid color +############################# Name line +card field: + type: text + name: name + identifying: true + show statistics: false + card list visible: true + card list column: 1 + card list width: 150 + description: The name of the card +#### compatibility with mana fonts +card field: + type: choice + name: card symbol + description: The symbol of the card. + show statistics: false + card list name: Symbol + card list column: 0920 + card list width: 100 + choice: none +############################# Image +card field: + type: image + name: image + show statistics: false + description: The image of the card +############################# Card type +card field: + type: text + name: type + icon: stats/type.png + card list visible: true + card list column: 2 + card list width: 100 + description: The type of the card + script: type_filter(value) +card field: + type: choice + name: rarity + icon: stats/rarity.png + position hint: 100 + choice: common + choice: uncommon + choice: rare + choice: mythic rare + choice: special + initial: common + card list visible: true + card list column: 4 + card list width: 50 + description: The rarity of the card, to edit the symbol switch to the 'set info' tab + choice colors: + common: rgb(33,33,33) + uncommon: rgb(224,224,224) + mythic rare: rgb(202, 49, 35) + rare: rgb(255,207,52) + special: rgb(190,0,255) +############################# Text box +card field: + type: text + name: rule text + script: text_filter(value) + show statistics: false + multi line: true + description: The rules text of the card +card field: + type: text + name: flavor text + script: flavor_text_filter(value) + show statistics: false + multi line: true + description: The flavor text of the card +card field: + type: text + name: text + multi line: true + save value: false + show statistics: false + script: + combined_editor(field1: card.rule_text, separator: "\n", field2: card.flavor_text) + description: The rules and flavor text for the card; use up and down arrows to switch +############################# Card sorting / numbering +card field: + type: text + name: card number + save value: false + script: + position( + of: card + in: set + order_by: { sort_name(card.name) } + ) + 1 + + "/" + + number_of_items(in: set) + card list visible: true + card list column: 10 + card list width: 50 + card list name: # + editable: false + show statistics: false +############################# Copyright stuff +card field: + type: text + name: illustrator + default: set.artist + description: The illustrator of the image + icon: stats/illustrator.png + position hint: 100 +card field: + type: text + name: copyright + default: set.copyright + show statistics: false + editable: false +card field: + type: text + name: copyright line + save value: false + show statistics: false + script: + if set.automatic_card_numbers then + combined_editor(field1: card.copyright, separator: " ", field2: card.card_number) + else + forward_editor(field: card.copyright) + description: The copyright and card number of the card +############################################################### Extra Statistics +statistics dimension: + name: keywords + position hint: 1000 + script: keyword_usage(unique:true) + show empty: false + split list: true + icon: stats/keywords.png +statistics dimension: + name: style + position hint: 1001 + script: stylesheet.short_name + icon: stats/stylesheet.png +statistics dimension: + name: text length (words) + position hint: 100 + script: word_count(to_text(card.rule_text)) + numeric: true + bin size: 5 + icon: stats/text_length.png +statistics dimension: + name: text length (lines) + position hint: 101 + script: line_count(to_text(card.rule_text)) + numeric: true + icon: stats/text_length.png +############################################################## Auto replace +# Do we need categories? +#auto replace category: text box +#auto replace category: copyright +#auto replace category: everywhere +auto replace: + match: (C) + replace: © +auto replace: + match: CR + replace: © +auto replace: + match: AE + replace: Æ + whole word: false +auto replace: + match: TM + replace: ™ + whole word: false +auto replace: + match: -- + replace: — +auto replace: + # note the spaces + match: + - + replace: + — +auto replace: + match: CIP + replace: enters the battlefield +auto replace: + match: AAA + replace: as an additional cost to cast +auto replace: + match: scheming + replace: When you set this scheme in motion, +auto replace: + match: hot seat + replace: When you set this scheme in motion, target opponent chooses self or others. If that player chooses self, +auto replace: + match: ~ + replace: this scheme +auto replace: + match: ' + replace: ’ +############################################################## Card pack items +pack type: + name: card + filter: card.name != "" +############################################################## Card packs +pack type: + name: booster pack + item: + name: card + amount: 1 +############################################################## Archenemy word lists +word list: + name: type + word: + name: Ongoing + is prefix: true + line below: true + word: Scheme +############################################################## Keywords +############################# Keyword rules + +has keywords: true + +#keyword preview: {keyword} ({reminder}) + +keyword mode: + name: old + description: Old keywords (Banding, Phasing, etc.) +keyword mode: + name: core + description: Core set keywords (Flying, Regenerate, etc.) +keyword mode: + name: expert + description: Expert level keywords (Scry, Vanishing, etc.) +keyword mode: + name: pseudo + description: Pseudo keyword / named ability (Hellbent, Threshold, etc.) +keyword mode: + is default: true + name: custom + description: Custom keywords + +keyword parameter type: + name: mana + match: [HSCTQXYZI0-9WUBRG/|]+ + refer script: + name: normal + description: No changes made + script: \{{input}\} + refer script: + name: converted mana cost + description: Converts mana to number + # "0" left in so users can easily see how to edit script. + script: \{cmc({input}) + 0\} + refer script: + name: colored mana cost + description: Converts mana to number of colored mana + # "0" left in so users can easily see how to edit script. + script: \{colored_mana({input}) + 0\} +# By pichoro and bunnierein +keyword parameter type: + name: cost + match: [ ][HSCTQXYZI0-9WUBRG/|]*|[-—][^(\n]* + separator before is: [ —-] + separator after is: [.] + optional: false + # note: the separator is part of match + refer script: + name: normal + description: When using mana only costs, doesn't include anything extra in the reminder text + script: \{{input}\} + refer script: + name: add "pay an additional " for mana costs + description: When using mana only costs, words the reminder text as "pay an additional " + script: \{for_mana_costs(add:"pay an additional ",{input})\} + refer script: + name: add "pay " for mana costs + description: When using mana only costs, words the reminder text as "pay " + script: \{for_mana_costs(add:"pay ",{input})\} + separator script: long_dash() +keyword parameter type: + name: number + match: [XYZ0-9]+ + refer script: + name: normal + description: (1,2,3) + script: \{{input}\} + refer script: + name: as words + description: (one, two, three) + script: \{english_number({input})\} + refer script: + name: as words, use "a" for 1 + description: (a, two, three) + script: \{english_number_a({input})\} + refer script: + name: as words, use "" for 1 + description: (, two, three) + script: \{english_number_multiple({input})\} +keyword parameter type: + name: action + match: [^(:\n]+ + separator after is: [.] + reminder script: alternative_cost() +keyword parameter type: + name: one_word + match: [A-Za-z0-9]+ +keyword parameter type: + name: name + match: [^(.:;\n—]+ + refer script: + name: normal + description: No changes made. + script: \{{input}\} + refer script: + name: singular + description: Removes plurality from words. + script: \{english_singular({input})\} +keyword parameter type: + name: english_number + match: [ upto]*[(an? |one |two |three |four |five |six |seven |eight |nine |ten )]* +keyword parameter type: + name: prefix + description: Prefix for things like "walk" + optional: false + match: [A-Z][A-Z,a-z’ ]* + example: Forest +keyword parameter type: + name: a + match: [an?]* +keyword parameter type: + name: nonland + match: ( n?o?n?l?a?n?d? ?) +############################# All Magic keywords +# By JrEye and Neko_Asakami, Updated by Pichoro and Buttock1234 +keyword: + keyword: Flying + match: flying + mode: core + reminder: It can’t be blocked except by creatures with flying or reach. +keyword: + keyword: First strike + match: first strike + mode: core + reminder: It deals combat damage before creatures without first strike. +keyword: + keyword: Trample + match: trample + mode: core + reminder: If it would deal enough combat damage to its blockers to destroy them, you may have it deal the rest of its damage to defending player or planeswalker. +keyword: + keyword: Banding + match: banding + mode: old + reminder: Any creatures with banding, and up to one without, can attack in a band. Bands are blocked as a group. If any creatures with banding you control are blocking or being blocked by a creature, you divide that creature’s combat damage, not its controller, among any of the creatures it’s being blocked by or is blocking. +keyword: + keyword: Landwalk + match: prefixwalk + mode: core + reminder: This creature is unblockable as long as defending player controls a {if match(param1.value, match: " land$") or contains(param1.value, match: "Snow") or contains(param1.value, match:"Basic") or contains(param1.value, match:"Legendary") then "{to_lower(param1)}" else "{param1}"}. +keyword: + keyword: Protection from + match: protection from name + mode: core + reminder: It can’t be blocked, targeted, dealt damage, enchanted, or equipped by anything {english_singular(param1)}. +keyword: + keyword: Regeneration + match: Regenerate + mode: core + reminder: The next time it would be destroyed this turn, it isn’t. If it is a creature, instead tap it, remove all damage from it, and remove it from combat. +keyword: + keyword: Bands with other + match: bands with other name + mode: old + reminder: Any {param1} can attack in a band as long as at least one has “bands with other {param1}.” Bands are blocked as a group. If at least two {param1} you control, one of which has “bands with other {param1},” are blocking or being blocked by the same creature, you divide that creature’s combat damage, not its controller, among any of the creatures it’s being blocked by or is blocking. +keyword: + keyword: Rampage + match: rampage number + mode: old + reminder: Whenever it becomes blocked, it gets +{param1}/+{param1} until end of turn for each creature blocking it beyond the first. +keyword: + keyword: Cumulative upkeep + match: cumulative upkeep cost + mode: old + reminder: At the beginning of your upkeep, put an age counter on it, then sacrifice it unless you pay its upkeep cost for each age counter on it. +keyword: + keyword: Phasing + match: phasing + mode: old + reminder: It phases in or out before you untap during each of your untap steps. While it’s phased out, it’s treated as though it doesn’t exist. +keyword: + keyword: Flanking + match: flanking + mode: expert + reminder: Whenever a creature without flanking blocks the creature, the blocking creature gets -1/-1 until end of turn. +keyword: + keyword: Shadow + match: shadow + mode: expert + reminder: It can block or be blocked by only creatures with shadow. +keyword: + keyword: Denimwalk + match: denimwalk + mode: old + reminder: If defending player is wearing any clothing made of denim, the creature is unblockable. +keyword: + keyword: Buyback + match: buyback cost + mode: expert + reminder: You may {for_mana_costs(add:"pay an additional ",param1)} as you cast it. If you do, put it into your hand as it resolves. +keyword: + keyword: Echo + match: echo cost + mode: expert + reminder: At the beginning of your upkeep, if the permanent came under your control since the beginning of your last upkeep, sacrifice it unless you pay its echo cost. +keyword: + keyword: Cycling + match: cycling cost + mode: expert + reminder: {param1}, Discard it: Draw a card. +keyword: + keyword: Haste + match: haste + mode: core + reminder: It can attack and T as soon as it comes under your control. +keyword: + keyword: Horsemanship + match: horsemanship + mode: old + reminder: It can’t be blocked except by creatures with horsemanship. +keyword: + keyword: Fading + match: fading number + mode: expert + reminder: It enters the battlefield with {english_number_a(param1)} fade counter(s) on it. At the beginning of your upkeep, remove a fade counter from it. If you can’t, sacrifice it. +keyword: + keyword: Kicker + match: kicker cost + mode: expert + reminder: You may {for_mana_costs(add:"pay an additional ",param1)} as you cast the card. +keyword: + keyword: Flashback + match: flashback cost + mode: expert + reminder: You may cast it from your graveyard for its flashback cost. Then exile it. +keyword: + keyword: Threshold + match: Threshold + mode: pseudo + rules: Threshold — [effect] as long as seven or more cards are in your graveyard. +keyword: + keyword: Madness + match: madness cost + mode: expert + reminder: If you discard it, you may cast it for its madness cost instead of putting it into your graveyard. +keyword: + keyword: Morph + match: morph cost + mode: expert + reminder: You may cast it face down as a 2/2 creature for 3. Turn it face up any time for its morph cost. +keyword: + keyword: Fear + match: fear + mode: old + reminder: It can’t be blocked except by artifact creatures and/or black creatures. +keyword: + keyword: Amplify + match: amplify number + mode: expert + reminder: As it enters the battlefield, put {english_number_a(param1)} +1/+1 counter(s) on it for each creature that shares a type with it that you reveal in your hand. +keyword: + keyword: Double strike + match: double strike + mode: core + reminder: It deals both first-strike and regular combat damage. +keyword: + keyword: Provoke + match: provoke + mode: expert + reminder: When it attacks, you may have target creature defending player controls untap and block it if able. +keyword: + keyword: Typecycling + match: prefixcycling cost + mode: expert + reminder: {param2}, Discard it: Search your library for a {param1} card, reveal it, and put it into your hand. Then shuffle your library. +keyword: + keyword: Storm + match: storm + mode: expert + reminder: When you cast it, copy it for each spell cast before it this turn. You may choose new targets for the copies. +keyword: + keyword: Affinity for + match: affinity for name + mode: expert + reminder: It costs 1 less to cast for each {english_singular(param1)} you control. +keyword: + keyword: Entwine + match: entwine cost + mode: expert + reminder: Choose both if you pay the entwine cost. +keyword: + keyword: Equip + match: equip cost + mode: core + reminder: {param1}: Attach to target creature you control. Equip only as a sorcery. +keyword: + keyword: Imprint + match: Imprint + mode: pseudo + rules: Imprint — When it enters the battlefield, you may exile a [something] from [somewhere]. +keyword: + keyword: Modular + match: modular number + mode: expert + reminder: It enters the battlefield with {english_number_a(param1)} +1/+1 counter(s) on it. When it’s put into a graveyard, you may put its +1/+1 counters on target artifact creature. +keyword: + keyword: Scry + match: Scry number + mode: expert + reminder: + To scry {param1}, look at the top { + if param1.value==1 then "card of your library, then you may put that card on the bottom of your library." + else "{english_number(param1)} cards of your library. Put any number of them on the bottom of your library in any order and the rest on top in any order." + } +keyword: + keyword: Sunburst + match: sunburst + mode: expert + reminder: It enters the battlefield with a +1/+1 counter on it for each color of mana spent to cast it. If it isn’t a creature, use charge counters instead. +keyword: + keyword: Art rampage + match: art rampage number + mode: expert + reminder: Whenever it blocked by a creature, it gets +{param1}/+{param1} for each creature in the blocker’s art beyond the first. +keyword: + keyword: Super haste + match: Super haste + mode: expert + reminder: It may attack the turn before you cast it. (You may have it enter the battlefield from your hand, tapped and attacking, during your declare attackers step. If you do, you lose the game at the end of your next turn unless you pay its mana cost during that turn.) +keyword: + keyword: Gotcha + match: Gotcha + mode: pseudo + rules: Gotcha — Whenever an opponent [does something], you may say “Gotcha!”. If you do, return [something] from your graveyard to your hand. +keyword: + keyword: Splice + match: splice onto name cost + mode: expert + reminder: As you cast a {param1} spell, you may reveal the card from your hand and pay its splice cost. If you do, add its effects to that spell. +keyword: + keyword: Bushido + match: bushido number + mode: expert + reminder: When it blocks or becomes blocked, it gets +{param1}/+{param1} until end of turn. +keyword: + keyword: Soulshift + match: soulshift number + mode: expert + reminder: When it is put into a graveyard from the battlefield, you may return target Spirit card with converted mana cost {param1} or less from your graveyard to your hand. +keyword: + keyword: Enchant + match: enchant name + mode: core + reminder: Target a {param1} as you cast the card. The card enters the battlefield attached to that {param1}. +keyword: + keyword: Vigilance + match: vigilance + mode: core + reminder: Attacking doesn’t cause it to tap. +keyword: + keyword: Defender + match: defender + mode: core + reminder: It can’t attack. +keyword: + keyword: Offering + match: prefix offering + mode: expert + reminder: You may cast it any time you could cast an instant by sacrificing a {param1} and paying the difference in mana costs between it and the sacrificed {param1}. Mana cost includes color. +keyword: + keyword: Ninjutsu + match: ninjutsu cost + mode: expert + reminder: {param1}, Return an unblocked attacker you control to hand: Put it onto the battlefield from your hand tapped and attacking. +keyword: + keyword: Epic + match: epic + mode: expert + reminder: For the rest of the game, you can’t cast spells. At the beginning of each of your upkeeps, copy the card except for its epic ability. If it has any targets, you may choose new targets for the copy. +keyword: + keyword: Channel + match: Channel + mode: pseudo + rules: Channel — [cost], Discard a card: [effect]. +keyword: + keyword: Sweep + match: Sweep + mode: pseudo + rules: Sweep — Return any number of [basic land type] you control to their owner’s hand. [effect based on number of lands returned]. +keyword: + keyword: Convoke + match: convoke + mode: expert + reminder: Each creature you tap while casting the card reduces its cost by 1 or by one mana of that creature’s color. +keyword: + keyword: Transmute + match: transmute cost + mode: expert + reminder: {param1}, Discard it: Search your library for a card with the same converted mana cost as the discarded card, reveal it, and put it into your hand. Then shuffle your library. Transmute only as a sorcery. +keyword: + keyword: Dredge + match: dredge number + mode: expert + reminder: If you would draw a card, instead you may put exactly {english_number(param1)} card(s) from the top of your library into your graveyard. If you do, return the card from your graveyard to your hand. Otherwise, draw a card. +keyword: + keyword: Radiance + match: Radiance + mode: pseudo + rules: Radiance — [effect to target permanent or spell and all cards of same card type that share a color with it]. +keyword: + keyword: Haunt + match: haunt + mode: expert + reminder: When it is put into a graveyard from the battlefield, or when it resolves if it is not a permanent, exile it haunting target creature. +keyword: + keyword: Bloodthirst + match: bloodthirst number + mode: expert + reminder: If an opponent was dealt damage this turn, the permanent enters the battlefield with {english_number_a(param1)} +1/+1 counter(s) on it. +keyword: + keyword: Replicate + match: replicate cost + mode: expert + reminder: When you cast it, copy it for each time you paid its replicate cost. You may choose new targets for the copies. +keyword: + keyword: Graft + match: graft number + mode: expert + reminder: It enters the battlefield with {english_number_a(param1)} +1/+1 counter(s) on it. Whenever a creature enters the battlefield, you may move a +1/+1 counter from the permanent onto it. +keyword: + keyword: Forecast + match: forecast — action, Reveal name from your hand: action + mode: expert + reminder: Activate the ability only during your upkeep and only once each turn. +keyword: + keyword: Hellbent + match: Hellbent + mode: pseudo + rules: Hellbent — [effect] if you have no cards in hand. +keyword: + keyword: Recover + match: recover cost + mode: expert + reminder: When a creature is put into your graveyard from the battlefield, you may {for_mana_costs(add:"pay ",param1)}. If you do, return the card from your graveyard to your hand. Otherwise, exile this card. +keyword: + keyword: Ripple + match: ripple number + mode: expert + reminder: When you cast it, you may reveal the top {english_number_multiple(param1)} card(s) of your library. You may cast any revealed cards with the same name as the card without paying their mana costs. Put the rest on the bottom of your library. +keyword: + keyword: Flash + match: flash + mode: core + reminder: You may cast it any time you could cast an instant. +keyword: + keyword: Split second + match: split second + mode: expert + reminder: As long as it is on the stack, players can’t cast spells or activate abilities that aren’t mana abilities. +keyword: + keyword: Suspend + match: suspend numbercost + mode: expert + reminder: Rather than cast it from your hand, you may pay {param2} and exile it with {english_number_a(param1)} time counter(s) on it. At the beginning of your upkeep, remove a time counter. When the last is removed, cast it without paying its mana cost. If it is a creature, it has haste. +keyword: + keyword: Vanishing + match: vanishing number + mode: expert + reminder: It enters the battlefield with {english_number_a(param1)} time counter(s) on it. At the beginning of your upkeep, remove a time counter from it. When the last is removed, sacrifice it. +keyword: + keyword: Deathtouch + match: deathtouch + mode: expert + reminder: Any amount of damage it deals to a creature is enough to destroy it. +keyword: + keyword: Reach + match: reach + mode: core + reminder: It can block creatures with flying. +keyword: + keyword: Gravestorm + match: gravestorm + mode: expert + reminder: When you cast it, copy it for each permanent put into a graveyard this turn. You may choose new targets for the copies. +keyword: + keyword: Lifelink + match: lifelink + mode: core + reminder: Damage dealt by it also causes you to gain that much life. +keyword: + keyword: Absorb + match: absorb number + mode: expert + reminder: If a source would deal damage to it, prevent {param1} of that damage. +keyword: + keyword: Fateseal + match: fateseal number + mode: expert + reminder: + Look at the top { + if param1.value==1 then "card of an opponent’s library, then you may put it on the bottom of that player’s library." + else "{english_number(param1)} cards of an opponent’s library, then put any number of them on the bottom of that player’s library and the rest on top in any order." + } +keyword: + keyword: Transfigure + match: transfigure cost + mode: expert + reminder: {param1}, Sacrifice it: Search your library for a creature card with the same converted mana cost as the sacrificed card and put that card onto the battlefield. Then shuffle your library. Transfigure only as a sorcery. +keyword: + keyword: Aura swap + match: aura swap cost + mode: expert + reminder: {param1}: Exchange it with an Aura card in your hand. +keyword: + keyword: Frenzy + match: frenzy number + mode: expert + reminder: Whenever it attacks and isn’t blocked, it gets +{param1}/+0 until end of turn. +keyword: + keyword: Delve + match: delve + mode: expert + reminder: You may exile any number of cards in your graveyard as you cast it. It costs 1 less to cast for each card exiled this way. +keyword: + keyword: Poisonous + match: poisonous number + mode: expert + reminder: Whenever it deals combat damage to a player, that player gets {english_number_a(param1)} poison counter(s). A player with ten or more poison counters loses the game. +keyword: + keyword: Shroud + match: shroud + mode: core + reminder: It can’t be the target of spells or abilities. +keyword: + keyword: Fortify + match: fortify cost + mode: expert + reminder: {param1}: Attach to target land you control. Fortify only as a sorcery. It enters the battlefield unattached and stays on the battlefield if the land leaves. +keyword: + keyword: Grandeur + match: Grandeur + mode: pseudo + rules: Grandeur — Discard another card named [something]: [effect]. +keyword: + keyword: Evoke + match: evoke cost + mode: expert + reminder: You may cast it for its evoke cost. If you do, it’s sacrificed when it enters the battlefield. +keyword: + keyword: Champion + match: champion a name + mode: expert + reminder: When it enters the battlefield, sacrifice it unless you exile another {param2} you control. When it leaves the battlefield, return that card to the battlefield. +keyword: + keyword: Clash + match: clash + mode: expert + reminder: Each clashing player reveals the top card of his or her library, then puts that card on the top or bottom. A player wins if his or her card had a higher converted mana cost. +keyword: + keyword: Changeling + match: changeling + mode: expert + reminder: It is every creature type at all times. +keyword: + keyword: Hideaway + match: hideaway + mode: expert + reminder: The land enters the battlefield tapped. When it does, look at the top four cards of your library, exile one face down, then put the rest on the bottom of your library. +keyword: + keyword: Prowl + match: prowl cost + mode: expert + reminder: You may cast it for its prowl cost if you dealt combat damage to a player this turn with a creature that shares a type with it. +keyword: + keyword: Reinforce + match: reinforce numbercost + mode: expert + reminder: {param2}, Discard it: Put {english_number_a(param1)} +1/+1 counter(s) on target creature. +keyword: + keyword: Kinship + match: Kinship + mode: pseudo + rules: Kinship — At the beginning of your upkeep, you may look at the top card of your library. If that card shares a creature type with it, you may reveal it. If you do, [effect]. +keyword: + keyword: Persist + match: persist + mode: expert + reminder: When it is put into a graveyard from the battlefield, if it had no -1/-1 counters on it, return it to the battlefield under its owner’s control with a -1/-1 counter on it. +keyword: + keyword: Wither + match: wither + mode: expert + reminder: It deals damage to creatures in the form of -1/-1 counters. +keyword: + keyword: Conspire + match: conspire + mode: expert + reminder: As you cast it, you may tap two untapped creatures you control that share a color with it. When you do, copy it and you may choose a new target for the copy. +keyword: + keyword: Retrace + match: retrace + mode: expert + reminder: You may cast it from your graveyard by discarding a land card in addition to paying its other costs. +keyword: + keyword: Chroma + match: Chroma + mode: pseudo + rules: Chroma — [effect] based on the number of [color] mana symbols [in graveyard, under your control, in cards you discard]. +keyword: + keyword: Unearth + match: unearth cost + mode: expert + reminder: {param1}: Return it from your graveyard to the battlefield. If it is a creature, it gains haste. Exile it at the beginning of the end step or if it would leave the battlefield. Unearth only as a sorcery. +keyword: + keyword: Devour + match: devour number + mode: expert + reminder: As it enters the battlefield, you may sacrifice any number of creatures. It enters the battlefield with { if param1.value == 1 then "" else if param1.value == 2 then "twice " else english_number(param1) + " times " }that many +1/+1 counters on it. +keyword: + keyword: Exalted + match: exalted + mode: expert + reminder: Whenever a creature you control attacks alone, that creature gets +1/+1 until end of turn. +keyword: + keyword: Domain + match: Domain + mode: pseudo + rules: Domain — [effect] for each basic land type among lands you control. +keyword: + keyword: Cascade + match: cascade + mode: expert + reminder: When you cast it, exile the top card of your library until you remove a nonland card that costs less. You may cast that card without paying its mana cost. Put the exiled cards on the bottom of your library at random. +keyword: + keyword: Intimidate + match: intimidate + mode: core + reminder: It can’t be blocked except by artifact creatures and/or creatures that share a color with it. +keyword: + keyword: Landfall + match: Landfall + mode: pseudo + rules: Landfall — Whenever a land enters the battlefield under your control, [effect]. +keyword: + keyword: Multikicker + match: multikicker cost + mode: expert + reminder: You may {for_mana_costs(add:"pay an additional ", param1)} any number of times as you cast it. +keyword: + keyword: Annihilator + match: annihilator number + mode: expert + reminder: Whenever it attacks, defending player sacrifices {english_number_a(param1)} permanent(s). +keyword: + keyword: Rebound + match: rebound + mode: expert + reminder: If you cast it from your hand, exile it as it resolves. At the beginning of your next upkeep, you may cast it from exile without paying its mana cost. +keyword: + keyword: Totem armor + match: totem armor + mode: expert + reminder: If enchanted creature would be destroyed, instead remove all damage from the creature and destroy it. +keyword: + keyword: Level up + match: level up cost + mode: expert + reminder: {param1}: Put a level counter on it. Level up only as a sorcery. +keyword: + keyword: Infect + match: infect + mode: expert + reminder: This creature deals damage to creatures in the form of -1/-1 counters and to players in the form of poison counters. +keyword: + keyword: Proliferate + match: proliferate + mode: expert + reminder: You may choose any number of permanents and/or players with counters on them, then give each another counter of a kind already there. +keyword: + keyword: Metalcraft + match: Metalcraft + mode: pseudo + rules: Metalcraft — As long as you control three or more artifacts, [effect]. +keyword: + keyword: Battlecry + match: battlecry + mode: expert + reminder: Whenever it attacks, each other attacking creature gets +1/+0 until end of turn. +keyword: + keyword: Living weapon + match: living weapon + mode: expert + reminder: When it enters the battlefield, put a 0/0 black Germ creature token onto the battlefield, then attach it to the creature. +keyword: + keyword: Living weapon + match: living weapon + mode: expert + reminder: When it enters the battlefield, put a 0/0 black Germ creature token onto the battlefield, then attach it to the creature. +keyword: + keyword: Hexproof + match: hexproof + mode: core + reminder: It can't be the target of spells or abilities your opponents control. +keyword: + keyword: Morbid + match: Morbid + mode: pseudo + rules: Morbid — If a creature died this turn, [effect]. +keyword: + keyword: Fight + match: fight + mode: action + reminder: Each deals damage equal to its power to the other. +keyword: + keyword: Undying + match: undying + mode: expert + reminder: When it dies, if it had no +1/+1 counters on it, return it to the battlefield under its owner's control with a +1/+1 counter on it. +keyword: + keyword: Fateful hour + match: Fateful hour + mode: pseudo + rules: Fateful hour — As long as you have 5 or less life, [effect]. +keyword: + keyword: Miracle + match: miracle cost + mode: expert + reminder: You may cast it for its miracle cost when you draw it if it's the first card you drew this turn. +keyword: + keyword: Soulbond + match: soulbond + mode: expert + reminder: You may pair it with another unpaired creature when either enters the battlefield. They remain paired for as long as you control both of them. +keyword: + keyword: Detain + match: detainenglish_numbertargetnonlandone_word + mode: action + reminder: Until your next turn, {if contains(param1.value, match:"one") or param1.value == " " then "that" else "those"} {param3} can't attack or block and its activated abilities can't be activated. +keyword: + keyword: Overload + match: overload cost + mode: expert + reminder: You may cast it for its overload cost. If you do, change its text by replacing all instances of "target" with "each". +keyword: + keyword: Unleash + match: unleash + mode: expert + reminder: You may have it enter the battlefield with a +1/+1 counter on it. It can't block as long as it has a +1/+1 counter on it. +keyword: + keyword: Scavenge + match: scavenge cost + mode: expert + reminder: {param1}, Exile it from your graveyard: Put a number of +1/+1 counters equal to its power on target creature. Scavenge only as a sorcery. +keyword: + keyword: Populate + match: populate + mode: action + reminder: Put a token onto the battlefield that's a copy of a creature token you control. +keyword: + keyword: Extort + match: extort + mode: expert + reminder: Whenever you cast spell, you may pay [W/B]. If you do, each opponent loses 1 life and you gain that much life. +keyword: + keyword: Cipher + match: cipher + mode: expert + reminder: Then you may exile it encoded on a creature you control. Whenever that creature deals combat damage to a player, its controller may cast a copy of the encoded card without paying its mana cost. +keyword: + keyword: Bloodrush + match: Bloodrush + mode: pseudo + rules: Bloodrush — [cost], Discard ~: Target attacking creature gets [effect]. +keyword: + keyword: Battalion + match: Battalion + mode: pseudo + rules: Battalion — Whenever ~ and at least two other creatures attack, [effect]. +keyword: + keyword: Evolve + match: evolve + mode: expert + reminder: Whenever a creature enters the battlefield under your control, if that creature has greater power or toughness than it, put a +1/+1 counter on it. +keyword: + keyword: Fuse + match: fuse + mode: expert + reminder: You may cast one or both halves of it from your hand. +keyword: + keyword: Indestructible + match: indestructible + mode: core + reminder: Damage and effects that say "destroy" don't destroy it. +keyword: + keyword: Hero's Reward + match: Hero's Reward + mode: pseudo +keyword: + keyword: Monstrosity + match: monstrosity number + mode: expert + reminder: If it isn’t monstrous, put {english_number_a(param1)} +1/+1 counter(s) on it and it becomes monstrous. +keyword: + keyword: Heroic + match: Heroic + mode: pseudo + rules: Whenever you cast a spell that targets ~, [effect]. +keyword: + keyword: Bestow + match: bestow cost + mode: expert + reminder: If you cast it for its bestow cost, it's an Aura spell with enchant creature. It becomes a creature again if it's not attached to a creature. +keyword: + keyword: Devotion + match: devotion to action + mode: action + reminder: Each {color_to_mana(param1)} in the mana costs of permanents you control counts toward your devotion to {param1}. +keyword: + keyword: Tribute + match: tribute number + mode: expert + reminder: As it enters the battlefield, an opponent of your choice may put {english_number_a(param1)} +1/+1 counter(s) on it. +keyword: + keyword: Inspiration + match: Inspiration + mode: pseudo + rules: Inspiration - Whenever ~ becomes untapped, [effect]. diff --git a/archenemy.mse-game/stats/illustrator.png b/archenemy.mse-game/stats/illustrator.png new file mode 100644 index 0000000..86117ef Binary files /dev/null and b/archenemy.mse-game/stats/illustrator.png differ diff --git a/archenemy.mse-game/stats/keywords.png b/archenemy.mse-game/stats/keywords.png new file mode 100644 index 0000000..4f1e07a Binary files /dev/null and b/archenemy.mse-game/stats/keywords.png differ diff --git a/archenemy.mse-game/stats/rarity.png b/archenemy.mse-game/stats/rarity.png new file mode 100644 index 0000000..62e77e4 Binary files /dev/null and b/archenemy.mse-game/stats/rarity.png differ diff --git a/archenemy.mse-game/stats/stylesheet.png b/archenemy.mse-game/stats/stylesheet.png new file mode 100644 index 0000000..3207223 Binary files /dev/null and b/archenemy.mse-game/stats/stylesheet.png differ diff --git a/archenemy.mse-game/stats/text_length.png b/archenemy.mse-game/stats/text_length.png new file mode 100644 index 0000000..e8c7904 Binary files /dev/null and b/archenemy.mse-game/stats/text_length.png differ diff --git a/archenemy.mse-game/stats/type.png b/archenemy.mse-game/stats/type.png new file mode 100644 index 0000000..d2b8f49 Binary files /dev/null and b/archenemy.mse-game/stats/type.png differ diff --git a/herospath-creature.mse-style/card-sample.png b/herospath-creature.mse-style/card-sample.png new file mode 100644 index 0000000..8d95ae7 Binary files /dev/null and b/herospath-creature.mse-style/card-sample.png differ diff --git a/herospath-creature.mse-style/default_image.png b/herospath-creature.mse-style/default_image.png new file mode 100644 index 0000000..94f8018 Binary files /dev/null and b/herospath-creature.mse-style/default_image.png differ diff --git a/herospath-creature.mse-style/gcard.jpg b/herospath-creature.mse-style/gcard.jpg new file mode 100644 index 0000000..3c2db95 Binary files /dev/null and b/herospath-creature.mse-style/gcard.jpg differ diff --git a/herospath-creature.mse-style/image_mask.png b/herospath-creature.mse-style/image_mask.png new file mode 100644 index 0000000..9c53935 Binary files /dev/null and b/herospath-creature.mse-style/image_mask.png differ diff --git a/herospath-creature.mse-style/style b/herospath-creature.mse-style/style new file mode 100644 index 0000000..23f813a --- /dev/null +++ b/herospath-creature.mse-style/style @@ -0,0 +1,221 @@ +mse version: 2.0.0 +game: herospath +short name: Creatures +installer group: Magic Hero's Path/creature style +icon: card-sample.png +position hint: 03 + +version: 2014-01-21 +depends on: + package: herospath.mse-game + version: 2014-01-21 +depends on: + package: magic-mana-small.mse-symbol-font + version: 2007-09-23 +depends on: + package: magic-embossedletters.mse-symbol-font + version: 2007-09-23 + +card width: 375 +card height: 523 +card dpi: 150 +############################################################## Extra scripts +init script: + # Use the normal tap symbol + mana_t := { + if styling.tap_symbol == "old" then "old" + else if styling.tap_symbol == "diagonal T" then "older" + else "new" + } + # Use guild mana symbols? + guild_mana := { styling.use_guild_mana_symbols } + +############################################################## Set info fields +set info style: + symbol: + variation: + name: invertedcommon + border radius: 0.10 + fill type: solid + fill color: rgb(255,255,255) + border color: rgb(0,0,0) +############################################################## Extra style options +styling field: + type: text + name: left +styling field: + type: text + name: top +styling field: + type: text + name: width +styling field: + type: text + name: height +styling field: + type: boolean + name: use guild mana symbols + description: Use the Ravnica guild symbols instead of the official half/half circles for hybrid mana. + initial: no +styling field: + type: package choice + name: text box mana symbols + match: magic-mana-*.mse-symbol-font + initial: magic-mana-small.mse-symbol-font +styling field: + type: choice + name: tap symbol + description: What tap and untap symbols should be used on cards? + initial: old + choice: modern + choice: old + choice: diagonal T +styling field: + type: boolean + name: inverted common symbol + description: Should the common rarity symbol be inverted, like in Coldsnap? + initial: no +styling style: + use guild mana symbols: + choice images: + yes: /magic-mana-small.mse-symbol-font/mana_guild_rg.png + no: /magic-mana-small.mse-symbol-font/mana_rg.png + tap symbol: + render style: both + choice images: + modern: /magic-mana-small.mse-symbol-font/mana_t.png + old: /magic-mana-small.mse-symbol-font/mana_t_old.png + diagonal T: /magic-mana-small.mse-symbol-font/mana_t_older.png + inverted common symbol: + choice images: + no: { symbol_variation(symbol: set.symbol, variation: "common") } + yes: { symbol_variation(symbol: set.symbol, variation: "invertedcommon") } +############################################################## Card fields +card style: + ############################# Background stuff + background: + left: 0 + top: 0 + width: 375 + height: 523 + z index: -2 + render style: image + popup style: in place + choice images: + green: gcard.jpg + ############################# Name line + name: + left: 80 + top: 32 + right: 293 + height: 23 + alignment: middle center shrink-overflow + padding bottom: 0 + z index: 1 + symbol font: + name: magic-embossedletters + size: 22 + alignment: bottom center + always symbol: true + ############################# Image + image: + left: 29 + top: 58 + width: 316 + height: 283 + z index: 1 + default: default_image.png + mask: image_mask.png + ############################# Card type + type: + left: 35 + top: 347 + width: { 308 - max(22,card_style.rarity.content_width) } + height: 20 + alignment: top shrink-overflow + z index: 1 + padding top: 2 + font: + name: Matrix + size: 14 + color: black + separator color: rgb(128,128,128) + rarity: + right: 342 + top: 347 + width: 44 + height: 22 + z index: 2 + render style: image + alignment: middle right + choice images: + # Images based on the set symbol + common: + script: + if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") + else symbol_variation(symbol: set.symbol, variation: "common") + uncommon: script: symbol_variation(symbol: set.symbol, variation: "uncommon") + rare: script: symbol_variation(symbol: set.symbol, variation: "rare") + mythic rare: script: symbol_variation(symbol: set.symbol, variation: "mythic rare") + special: script: symbol_variation(symbol: set.symbol, variation: "special") + ############################# Text box + text: + left: 31 + top: 379 + width: 312 + height: 95 + font: + name: MPlantin + italic name: MPlantin-Italic + size: 14 + scale down to: 6 + color: black + symbol font: + name: { styling.text_box_mana_symbols } + size: 14 + alignment: middle left + z index: 2 + padding left: 6 + padding right: 4 + line height hard: 1.2 + line height line: 1.5 + line height soft: 0.9 + line height hard max: 1.3 + line height line max: 1.6 + pt: + z index: 2 + left: 284 + top: 468 + width: 60 + height: 28 + alignment: center middle shrink-overflow + font: + name: ModMatrix + size: 17 + weight: bold + color: black + separator color: red + ############################# Card sorting / numbering + ############################# Copyright stuff + illustrator: + left: 59 + top: 482 + width: 217 + height: 16 + z index: 1 + font: + name: Matrix + size: 10 + weight: bold + color: black + copyright line: + left: 30 + top: 494 + width: 247 + height: 12 + z index: 1 + font: + name: MPlantin + size: 6.5 + color: black +############################################################## Extra card fields diff --git a/herospath-heroes.mse-style/card-sample.png b/herospath-heroes.mse-style/card-sample.png new file mode 100644 index 0000000..10d0ebe Binary files /dev/null and b/herospath-heroes.mse-style/card-sample.png differ diff --git a/herospath-heroes.mse-style/default_image.png b/herospath-heroes.mse-style/default_image.png new file mode 100644 index 0000000..94f8018 Binary files /dev/null and b/herospath-heroes.mse-style/default_image.png differ diff --git a/herospath-heroes.mse-style/gcard.jpg b/herospath-heroes.mse-style/gcard.jpg new file mode 100644 index 0000000..019d6df Binary files /dev/null and b/herospath-heroes.mse-style/gcard.jpg differ diff --git a/herospath-heroes.mse-style/rcard.jpg b/herospath-heroes.mse-style/rcard.jpg new file mode 100644 index 0000000..013953b Binary files /dev/null and b/herospath-heroes.mse-style/rcard.jpg differ diff --git a/herospath-heroes.mse-style/style b/herospath-heroes.mse-style/style new file mode 100644 index 0000000..6b21a55 --- /dev/null +++ b/herospath-heroes.mse-style/style @@ -0,0 +1,236 @@ +mse version: 2.0.0 +game: herospath +short name: Heroes +installer group: Magic Hero's Path/hero style +icon: card-sample.png +position hint: 01 + +version: 2014-01-20 +depends on: + package: herospath.mse-game + version: 2014-01-20 +depends on: + package: herospath-watermarks.mse-include + version: 2013-12-14 +depends on: + package: magic-mana-small.mse-symbol-font + version: 2007-09-23 +depends on: + package: magic-future-common.mse-include + version: 2007-09-23 + +card width: 375 +card height: 523 +card dpi: 150 +############################################################## Extra scripts +init script: + # Use the normal tap symbol + mana_t := { + if styling.tap_symbol == "old" then "old" + else if styling.tap_symbol == "diagonal T" then "older" + else "new" + } + # Use guild mana symbols? + guild_mana := { styling.use_guild_mana_symbols } + +############################################################## Set info fields +set info style: + symbol: + variation: + name: invertedcommon + border radius: 0.10 + fill type: solid + fill color: rgb(255,255,255) + border color: rgb(0,0,0) +############################################################## Extra style options +styling field: + type: boolean + name: use guild mana symbols + description: Use the Ravnica guild symbols instead of the official half/half circles for hybrid mana. + initial: no +styling field: + type: package choice + name: text box mana symbols + match: magic-mana-*.mse-symbol-font + initial: magic-mana-small.mse-symbol-font +styling field: + type: choice + name: tap symbol + description: What tap and untap symbols should be used on cards? + initial: old + choice: modern + choice: old + choice: diagonal T +styling field: + type: boolean + name: inverted common symbol + description: Should the common rarity symbol be inverted, like in Coldsnap? + initial: no +styling style: + use guild mana symbols: + choice images: + yes: /magic-mana-small.mse-symbol-font/mana_guild_rg.png + no: /magic-mana-small.mse-symbol-font/mana_rg.png + tap symbol: + render style: both + choice images: + modern: /magic-mana-small.mse-symbol-font/mana_t.png + old: /magic-mana-small.mse-symbol-font/mana_t_old.png + diagonal T: /magic-mana-small.mse-symbol-font/mana_t_older.png + inverted common symbol: + choice images: + no: { symbol_variation(symbol: set.symbol, variation: "common") } + yes: { symbol_variation(symbol: set.symbol, variation: "invertedcommon") } +############################################################## Card fields +card style: + ############################# Background stuff + border color: + left: 0 + top : 0 + width: 375 + height: 523 + radius: 18 + left width: 17 + right width: 17 + top width: 17 + bottom width: 18 + z index: 4 + background: + left: 0 + top: 0 + width: 375 + height: 523 + z index: -2 + render style: image + popup style: in place + choice images: + green: gcard.jpg + red: rcard.jpg + ############################# Name line + name: + left: 32 + top: 28 + right: 341 + height: 23 + alignment: bottom shrink-overflow + padding bottom: 0 + z index: 1 + font: + name: Matrix + size: 17 + weight: bold + color: black + ############################# Image + image: + left: 31 + top: 60 + width: 314 + height: 260 + z index: 1 + default: default_image.png + ############################# Card type + type: + left: 35 + top: 327 + width: { 308 - max(22,card_style.rarity.content_width) } + height: 20 + alignment: top shrink-overflow + z index: 1 + padding top: 2 + font: + name: Matrix + size: 14 + color: black + separator color: rgb(128,128,128) + rarity: + right: 342 + top : 327 + width: 44 + height: 22 + z index: 2 + render style: image + alignment: middle right + choice images: + # Images based on the set symbol + common: + script: + if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") + else symbol_variation(symbol: set.symbol, variation: "common") + uncommon: script: symbol_variation(symbol: set.symbol, variation: "uncommon") + rare: script: symbol_variation(symbol: set.symbol, variation: "rare") + mythic rare: script: symbol_variation(symbol: set.symbol, variation: "mythic rare") + special: script: symbol_variation(symbol: set.symbol, variation: "special") + ############################# Text box + text: + left: 31 + top: 359 + width: 312 + height: 112 + font: + name: MPlantin + italic name: MPlantin-Italic + size: 14 + scale down to: 6 + color: black + symbol font: + name: { styling.text_box_mana_symbols } + size: 14 + alignment: middle left + z index: 2 + padding left: 6 + padding right: 4 + line height hard: 1.2 + line height line: 1.5 + line height soft: 0.9 + line height hard max: 1.3 + line height line max: 1.6 + watermark: + left: 127 + top : 353 + width: 98 + height: 124 + z index: 1 + render style: image + alignment: middle center + include file: /herospath-watermarks.mse-include/watermarks + ############################# Card sorting / numbering + ############################# Copyright stuff + illustrator: + left: 56 + top : 481 + width: 217 + height: 16 + z index: 1 + font: + name: Matrix + size: 10 + weight: bold + color: black + copyright line: + left: 30 + top : 494 + width: 247 + height: 12 + z index: 1 + font: + name: MPlantin + size: 6.5 + color: black +############################################################## Extra card fields +extra card field: + type: choice + name: paintbrush + script: "black" + save value: false + editable: false +extra card style: + paintbrush: + left: 27 + top : 482 + width: 27 + height: 11 + z index: 2 + render style: image + choice images: + black: /magic-future-common.mse-include/paintbrush_black.png + white: /magic-future-common.mse-include/paintbrush_white.png diff --git a/herospath-spell.mse-style/card-sample.png b/herospath-spell.mse-style/card-sample.png new file mode 100644 index 0000000..5b63a3e Binary files /dev/null and b/herospath-spell.mse-style/card-sample.png differ diff --git a/herospath-spell.mse-style/default_image.png b/herospath-spell.mse-style/default_image.png new file mode 100644 index 0000000..94f8018 Binary files /dev/null and b/herospath-spell.mse-style/default_image.png differ diff --git a/herospath-spell.mse-style/gcard.jpg b/herospath-spell.mse-style/gcard.jpg new file mode 100644 index 0000000..c070612 Binary files /dev/null and b/herospath-spell.mse-style/gcard.jpg differ diff --git a/herospath-spell.mse-style/style b/herospath-spell.mse-style/style new file mode 100644 index 0000000..2b52622 --- /dev/null +++ b/herospath-spell.mse-style/style @@ -0,0 +1,192 @@ +mse version: 2.0.0 +game: herospath +short name: Spells +installer group: Magic Hero's Path/spell style +icon: card-sample.png +position hint: 02 + +version: 2014-01-20 +depends on: + package: herospath.mse-game + version: 2014-01-20 +depends on: + package: magic-mana-small.mse-symbol-font + version: 2007-09-23 + +card width: 375 +card height: 523 +card dpi: 150 +############################################################## Extra scripts +init script: + # Use the normal tap symbol + mana_t := { + if styling.tap_symbol == "old" then "old" + else if styling.tap_symbol == "diagonal T" then "older" + else "new" + } + # Use guild mana symbols? + guild_mana := { styling.use_guild_mana_symbols } + +############################################################## Set info fields +set info style: + symbol: + variation: + name: invertedcommon + border radius: 0.10 + fill type: solid + fill color: rgb(255,255,255) + border color: rgb(0,0,0) +############################################################## Extra style options +styling field: + type: boolean + name: use guild mana symbols + description: Use the Ravnica guild symbols instead of the official half/half circles for hybrid mana. + initial: no +styling field: + type: package choice + name: text box mana symbols + match: magic-mana-*.mse-symbol-font + initial: magic-mana-small.mse-symbol-font +styling field: + type: choice + name: tap symbol + description: What tap and untap symbols should be used on cards? + initial: old + choice: modern + choice: old + choice: diagonal T +styling field: + type: boolean + name: inverted common symbol + description: Should the common rarity symbol be inverted, like in Coldsnap? + initial: no +styling style: + use guild mana symbols: + choice images: + yes: /magic-mana-small.mse-symbol-font/mana_guild_rg.png + no: /magic-mana-small.mse-symbol-font/mana_rg.png + tap symbol: + render style: both + choice images: + modern: /magic-mana-small.mse-symbol-font/mana_t.png + old: /magic-mana-small.mse-symbol-font/mana_t_old.png + diagonal T: /magic-mana-small.mse-symbol-font/mana_t_older.png + inverted common symbol: + choice images: + no: { symbol_variation(symbol: set.symbol, variation: "common") } + yes: { symbol_variation(symbol: set.symbol, variation: "invertedcommon") } +############################################################## Card fields +card style: + ############################# Background stuff + background: + left: 0 + top: 0 + width: 375 + height: 523 + z index: -2 + render style: image + popup style: in place + choice images: + green: gcard.jpg + ############################# Name line + name: + left: 32 + top: 28 + right: 341 + height: 23 + alignment: bottom shrink-overflow + padding bottom: 0 + z index: 1 + font: + name: Matrix + size: 17 + weight: bold + color: black + ############################# Image + image: + left: 30 + top: 60 + width: 314 + height: 230 + z index: 1 + default: default_image.png + ############################# Card type + type: + left: 35 + top: 297 + width: { 308 - max(22,card_style.rarity.content_width) } + height: 20 + alignment: top shrink-overflow + z index: 1 + padding top: 2 + font: + name: Matrix + size: 14 + color: black + separator color: rgb(128,128,128) + rarity: + right: 342 + top: 297 + width: 44 + height: 22 + z index: 2 + render style: image + alignment: middle right + choice images: + # Images based on the set symbol + common: + script: + if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") + else symbol_variation(symbol: set.symbol, variation: "common") + uncommon: script: symbol_variation(symbol: set.symbol, variation: "uncommon") + rare: script: symbol_variation(symbol: set.symbol, variation: "rare") + mythic rare: script: symbol_variation(symbol: set.symbol, variation: "mythic rare") + special: script: symbol_variation(symbol: set.symbol, variation: "special") + ############################# Text box + text: + left: 31 + top: 329 + width: 312 + height: 142 + font: + name: MPlantin + italic name: MPlantin-Italic + size: 14 + scale down to: 6 + color: black + symbol font: + name: { styling.text_box_mana_symbols } + size: 14 + alignment: middle left + z index: 2 + padding left: 6 + padding right: 4 + line height hard: 1.2 + line height line: 1.5 + line height soft: 0.9 + line height hard max: 1.3 + line height line max: 1.6 + ############################# Card sorting / numbering + ############################# Copyright stuff + illustrator: + left: 59 + top: 480 + width: 217 + height: 16 + z index: 1 + font: + name: Matrix + size: 10 + weight: bold + color: black + copyright line: + left: 30 + top: 493 + width: 247 + height: 12 + z index: 1 + font: + name: MPlantin + size: 6.5 + color: black +############################################################## Extra card fields diff --git a/herospath-watermarks.mse-include/include b/herospath-watermarks.mse-include/include new file mode 100644 index 0000000..cbdde23 --- /dev/null +++ b/herospath-watermarks.mse-include/include @@ -0,0 +1,7 @@ +mse version: 2.0.0 +full name: Magic The Gathering Hero's Path watermarks +version: 2014-01-09 + +# This file doesn't do anything, other files in this directory can be included +# in game/style files: +# watermarks Includes references to the watermark images, to be used in a style file diff --git a/herospath-watermarks.mse-include/original images/quest1.png b/herospath-watermarks.mse-include/original images/quest1.png new file mode 100644 index 0000000..0fc4152 Binary files /dev/null and b/herospath-watermarks.mse-include/original images/quest1.png differ diff --git a/herospath-watermarks.mse-include/original images/quest2.png b/herospath-watermarks.mse-include/original images/quest2.png new file mode 100644 index 0000000..d25b52a Binary files /dev/null and b/herospath-watermarks.mse-include/original images/quest2.png differ diff --git a/herospath-watermarks.mse-include/original images/quest3.png b/herospath-watermarks.mse-include/original images/quest3.png new file mode 100644 index 0000000..013a403 Binary files /dev/null and b/herospath-watermarks.mse-include/original images/quest3.png differ diff --git a/herospath-watermarks.mse-include/original images/quest4.png b/herospath-watermarks.mse-include/original images/quest4.png new file mode 100644 index 0000000..48b379c Binary files /dev/null and b/herospath-watermarks.mse-include/original images/quest4.png differ diff --git a/herospath-watermarks.mse-include/original images/quest5.png b/herospath-watermarks.mse-include/original images/quest5.png new file mode 100644 index 0000000..939e3f6 Binary files /dev/null and b/herospath-watermarks.mse-include/original images/quest5.png differ diff --git a/herospath-watermarks.mse-include/original images/quest6.png b/herospath-watermarks.mse-include/original images/quest6.png new file mode 100644 index 0000000..fc86caa Binary files /dev/null and b/herospath-watermarks.mse-include/original images/quest6.png differ diff --git a/herospath-watermarks.mse-include/original images/quest7.png b/herospath-watermarks.mse-include/original images/quest7.png new file mode 100644 index 0000000..0902f5b Binary files /dev/null and b/herospath-watermarks.mse-include/original images/quest7.png differ diff --git a/herospath-watermarks.mse-include/original images/quest8.png b/herospath-watermarks.mse-include/original images/quest8.png new file mode 100644 index 0000000..a96489b Binary files /dev/null and b/herospath-watermarks.mse-include/original images/quest8.png differ diff --git a/herospath-watermarks.mse-include/original images/quest9.png b/herospath-watermarks.mse-include/original images/quest9.png new file mode 100644 index 0000000..78e4df7 Binary files /dev/null and b/herospath-watermarks.mse-include/original images/quest9.png differ diff --git a/herospath-watermarks.mse-include/quest1.png b/herospath-watermarks.mse-include/quest1.png new file mode 100644 index 0000000..a35324b Binary files /dev/null and b/herospath-watermarks.mse-include/quest1.png differ diff --git a/herospath-watermarks.mse-include/quest2.png b/herospath-watermarks.mse-include/quest2.png new file mode 100644 index 0000000..29cba7b Binary files /dev/null and b/herospath-watermarks.mse-include/quest2.png differ diff --git a/herospath-watermarks.mse-include/quest3.png b/herospath-watermarks.mse-include/quest3.png new file mode 100644 index 0000000..15d562d Binary files /dev/null and b/herospath-watermarks.mse-include/quest3.png differ diff --git a/herospath-watermarks.mse-include/quest4.png b/herospath-watermarks.mse-include/quest4.png new file mode 100644 index 0000000..6361148 Binary files /dev/null and b/herospath-watermarks.mse-include/quest4.png differ diff --git a/herospath-watermarks.mse-include/quest5.png b/herospath-watermarks.mse-include/quest5.png new file mode 100644 index 0000000..59a694a Binary files /dev/null and b/herospath-watermarks.mse-include/quest5.png differ diff --git a/herospath-watermarks.mse-include/quest6.png b/herospath-watermarks.mse-include/quest6.png new file mode 100644 index 0000000..52b156b Binary files /dev/null and b/herospath-watermarks.mse-include/quest6.png differ diff --git a/herospath-watermarks.mse-include/quest7.png b/herospath-watermarks.mse-include/quest7.png new file mode 100644 index 0000000..6f2c1c1 Binary files /dev/null and b/herospath-watermarks.mse-include/quest7.png differ diff --git a/herospath-watermarks.mse-include/quest8.png b/herospath-watermarks.mse-include/quest8.png new file mode 100644 index 0000000..a45cee8 Binary files /dev/null and b/herospath-watermarks.mse-include/quest8.png differ diff --git a/herospath-watermarks.mse-include/quest9.png b/herospath-watermarks.mse-include/quest9.png new file mode 100644 index 0000000..da802b1 Binary files /dev/null and b/herospath-watermarks.mse-include/quest9.png differ diff --git a/herospath-watermarks.mse-include/watermark-names b/herospath-watermarks.mse-include/watermark-names new file mode 100644 index 0000000..9fc4b1b --- /dev/null +++ b/herospath-watermarks.mse-include/watermark-names @@ -0,0 +1,19 @@ +# The watermark choices +# Included by a game file + +choice: + name: none + line below: true +choice: + name: quest icons + choice: quest 1 + choice: quest 2 + choice: quest 3 + choice: quest 4 + choice: quest 5 + choice: quest 6 + choice: quest 7 + choice: quest 8 + choice: quest 9 +choice: + name: set symbol diff --git a/herospath-watermarks.mse-include/watermarks b/herospath-watermarks.mse-include/watermarks new file mode 100644 index 0000000..5ff01ec --- /dev/null +++ b/herospath-watermarks.mse-include/watermarks @@ -0,0 +1,26 @@ +# Watermark images + +choice images: + quest icons quest 1: script: set_alpha(alpha: 0.4, input:"/herospath-watermarks.mse-include/quest1.png") + quest icons quest 2: script: set_alpha(alpha: 0.4, input:"/herospath-watermarks.mse-include/quest2.png") + quest icons quest 3: script: set_alpha(alpha: 0.4, input:"/herospath-watermarks.mse-include/quest3.png") + quest icons quest 4: script: set_alpha(alpha: 0.4, input:"/herospath-watermarks.mse-include/quest4.png") + quest icons quest 5: script: set_alpha(alpha: 0.4, input:"/herospath-watermarks.mse-include/quest5.png") + quest icons quest 6: script: set_alpha(alpha: 0.4, input:"/herospath-watermarks.mse-include/quest6.png") + quest icons quest 7: script: set_alpha(alpha: 0.4, input:"/herospath-watermarks.mse-include/quest7.png") + quest icons quest 8: script: set_alpha(alpha: 0.4, input:"/herospath-watermarks.mse-include/quest8.png") + quest icons quest 9: script: set_alpha(alpha: 0.4, input:"/herospath-watermarks.mse-include/quest9.png") + + set symbol: + { set_combine(combine:"shadow", + set_alpha( + alpha: 0.5, + #symbol_variation(symbol: set.symbol, variation: "common") + drop_shadow(offset_x: -0.01, offset_y: 0.03, blur_radius: 0.02, alpha: 1, color: rgb(0,0,0), + enlarge(border_size: 0.03, + symbol_variation(symbol: set.symbol, variation: "watermark") + ) + ) + ) + ) + } diff --git a/herospath.mse-game/card-sample.jpg b/herospath.mse-game/card-sample.jpg new file mode 100644 index 0000000..47977bb Binary files /dev/null and b/herospath.mse-game/card-sample.jpg differ diff --git a/herospath.mse-game/game b/herospath.mse-game/game new file mode 100644 index 0000000..f690a22 --- /dev/null +++ b/herospath.mse-game/game @@ -0,0 +1,1448 @@ +mse version: 2.0.0 +short name: Hero's Path +full name: Magic Hero's Path +installer group: Magic Hero's Path/game files +icon: card-sample.jpg +position hint: 02 + +version: 2014-03-25 +depends on: + package: herospath-watermarks.mse-include + version: 2013-12-14 + +############################################################## Functions & filters +# General functions +init script: + ############################################################## Sorting mana symbols + + # correctly sort a mana symbol (no guild mana) + mana_sort := sort_text@(order: "XYZI[0123456789]HS(WUBRG)") + # correctly sort guild mana + mana_sort_guild := sort_text@(order: "[XYZI01234567890HSWUBRG/|]") + + replace@( + match: "./.|././.|./././.|.[|]", + in_context: "(^|[^/])($|[^/])", + replace: {sort_text(order:"in_place((WUBRG)")} + ) + mana_has_guild := match@(match: "[/|]") # Is there guild or half mana in the input? + # A mana cost can contain both normal and guild mana + mana_filter := to_upper + { + if mana_has_guild() then mana_sort_guild() + else mana_sort() + } + # Like mana filter, only also allow tap symbols: + tap_filter := sort_text@(order: "") + mana_filter_t := replace@( # Remove [] used for forcing mana symbols + match: "[\\[\\]]", + replace: "" + ) + { tap_filter() + mana_filter() } + + ############################################################## Utilities for keywords + + # replaces — correctly + add := "" # default is nothing + for_mana_costs := format_cost := { + if input.separator_before == "—" and contains(input.param, " ") then ( + if contains(input.param, match:",") then ( + if match(match: "^[HSCTQXYZIWUBRG0-9/|]+,", input.param) then + "{add}{combined_cost(input.param)}" + else "{combined_cost(input.param)}" + ) else + "{alternative_cost(input.param)}" + ) else + "{add}{input.param}" + } + alternative_cost := replace@(match:"^[A-Z]", replace: { to_lower() }) + combined_cost := replace@(match:", [A-Z]", replace: { to_lower() })+ + replace@(match:",", replace:" and")+ + replace@(match:"^[HSCTQXYZIWUBRG0-9/|]", in_context: "(^|[[:space:]])", replace: "&")+ + replace@(match:"^[A-Z]", replace: { to_lower() }) + long_dash := replace@(match:"-", replace:"—") + + # Converted mana cost + is_half_mana := match@(match: "1/2|[|][WUBRGS]") + is_colored_mana := match@(match: "[WUBRG]") + only_numbers := filter_text@(match: "^[0123456789]+") + cmc_split := break_text@(match: "(?ix) 1/2 | [|][WUBRG] | [0-9]+(?!/[WUBRGSCTQ2]) | [WUBRGHS0-9](/[WUBRGS])\{0,4} ") + cmc := {to_number( + for each sym in cmc_split() do ( + numbers := only_numbers(sym) + if is_half_mana(sym) then 0.5 + else if numbers != "" then max(1, to_int(numbers)) + else 1 # all other symbols are 1 + )) + } + + colored_mana := {to_number( + for each sym in cmc_split() do ( + numbers := only_numbers(sym) + if is_colored_mana(sym) then + if is_half_mana(sym) then 0.5 else 1 + else 0 + )) + } + + ############################################################## The text box + + # Filters for the text box + # context in which mana symbols are found + mana_context := + "(?ix) # case insensitive, ignore whitespace + (^|[[:space:]\"(]) # start of a word + ( : # G: something + | , # G, tap: something + | [ ]can[ ]be[ ]pay + | (pays?|additional|costs?|the # pay X. creatures cost 1 less. pay an additional G. + |adds?|pay(ed)?[ ](with|using) + ) + ([ ]either)? # pay either X or Y + ([ ]]*>[CTQSXYZIWUBRG0-9/|]+]*>[ ](and|or))* # pay X or Y + [ ] + ([,.)]|$ # (end of word) + |[ ][^ .,]*$ # still typing... + |[ ]( or | and | in | less | more | to ) # or next word is ... + ) + ) + | # keyword argument that is declared as mana + | [ ]* # keyword argument that is declared as cost + | , # keyword argument that is declared as cost + "; + # the rule text filter + # - adds mana symbols + # - makes text in parentheses italic + text_filter := + # step 1 : remove all automatic tags + remove_tag@(tag: "") + + remove_tag@(tag: "") + + remove_tag@(tag: "{keyword}" + else keyword + if expand then " ({reminder})" } + ) + + # step 2b : move inline keywords' reminder text to the end of the line + replace@( + match: "(.*]*>)([^\n(]+)", + replace: "\\2\\1" + ) + + replace@( + match: "(.*]*>)([^\n(]+)", + replace: "\\2\\1" + ) + + replace@( + match: "(.*]*>)([^\n(]+)", + replace: "\\2\\1" + ) + + # step 3 : expand shortcut words ~ and CARDNAME + replace@( + match: "CARDNAME", + in_context: "(^|[[:space:]]|\\()", + replace: "" + ) + + # step 4 : fill in atom fields + tag_contents@( + tag: "", + contents: { if card.name=="" then "CARDNAME" else card.type + " - " + card.name } + ) + + # step 4.5 : explict non mana symbols + replace@( + match: "\\][HSCTQXYZIWUBRG0-9/|]+\\[", + replace: {"" + mana_filter_t() + ""} ) + + # step 5 : add mana & tap symbols + replace@( + match: "[HSCTQXYZIWUBRG0-9/|]+", + in_context: mana_context, + replace: {"" + mana_filter_t() + ""} ) + + # step 5b : add explict mana symbols + replace@( + match: "\\[[HSCTQXYZIWUBRG0-9/|]+\\]", + replace: {"" + mana_filter_t() + ""} ) + + # step 7 : italic reminder text + replace@( + match: "[(][^)\n]*[)]?", + in_context: "(^|[[:space:]])|", + replace: "&") + + # step 8 : automatic capitalization, but not after "(" + replace@( + match: "[a-z]", + in_context: "[ ]*: |—| — ", + replace: { to_upper() })+ + curly_quotes + + ############################################################## Other boxes + # the flavor text filter + # - makes all text italic + flavor_text_filter := + # step 2 : remove italic tags + remove_tag@(tag: "") + + # step 3 : surround by tags + { "" + input + "" } + + # curly quotes + curly_quotes + + # Process the name for sorting rules + sort_name := + # Remove "The", "A", and "And" at the beginning + replace@(match: "^(The|An?) ", replace: "") + + # Remove commas and apostrophes + replace@(match: "(,|'|’)", replace: "") + + # Remove bold and italic tags + replace@(match: "(|||)", replace: "") + + # Make lowercase + to_lower + + #Necessary to make magic-mana-future play nicely + colorless_color := { "c" } + + word_count := break_text@(match:"[^[:space:]]+") + length + line_count := split_text@(match:"\n+",include_empty:false) + length + + # Move the cursor past the separator in the p/t and type boxes + type_over_pt := replace@(match:"/$", replace:"") + + ############################################################## Mainframe mana + use_v_mana := {contains(set.custom_mana_symbol_name, match:".png")} + use_large_v_mana := { use_v_mana() and chosen(set.mana_symbol_options, choice:"enable in casting costs")} + use_small_v_mana := { use_v_mana() and chosen(set.mana_symbol_options, choice:"enable in text boxes")} + use_color_v_mana := { use_v_mana() and chosen(set.mana_symbol_options, choice:"colored mana symbols") and not use_hybrid_v_mana()} + use_hybrid_v_mana := { use_v_mana() and chosen(set.mana_symbol_options, choice:"hybrid with colors")} + v_mana_name := {if not use_v_mana() then "" else replace(set.custom_mana_symbol_name, match:"(.+/|\\.png)", replace:"")} + v_mana_loc := {if not use_v_mana() then "" else replace(set.custom_mana_symbol_name, match:"{v_mana_name()}\\.png", replace:"")} + v_mana_num := {max(to_number(set.number_hybrid_variants),0) or else -1} + ancestral_mana := {false} + white_text := {false} + symbol_font_small_color := { "black" } + +############################################################## Set fields +set field: + type: info + name: Set Information +set field: + type: text + name: title +set field: + type: text + name: description + multi line: true +set field: + type: text + name: artist +set field: + type: text + name: copyright +set field: + type: symbol + name: symbol + description: The symbol for this set, double click to edit +set field: + type: info + name: Defaults and Automation +set field: + type: color + name: border color + description: The default border color for cards + choice: + name: black + color: rgb(0,0,0) + choice: + name: white + color: rgb(255,255,255) + choice: + name: silver + color: rgb(128,128,128) + choice: + name: gold + color: rgb(200,180,0) +set field: + type: multiple choice + name: automatic reminder text + choice: old + choice: core + choice: expert + choice: pseudo + choice: custom + initial: old, pseudo, custom + # Convert from older mse versions + script: + if value == "yes" then "old, core, expert, custom" + else if value == "no" then "" + else value + description: For which kinds of keywords should reminder text be added by default? Note: you can enable/disable reminder text by right clicking the keyword. +set field: + type: boolean + name: automatic card numbers + initial: no + description: Should card numbers be shown on the cards? +set field: + type: info + name: custom mana +set field: + type: text + name: custom mana symbol name + description: Use mana symbols from magic-mainframe-extras.mse-include. Input NAME.png here, check help below for file instructions. +set field: + type: multiple choice + name: mana symbol options + choice: enable in casting costs + choice: enable in text boxes + choice: colored mana symbols + choice: hybrid with colors +set field: + type: text + name: number hybrid variants + description: Change each number hybrid (0/X, 1/X, 2/X ... 11/X) up to this number to a specific variant instead of a hybrid symbol. +set field: + type: choice + name: mana symbol help + choice: Click here for mana symbol help! + choice: In your mainframe-extras folder, create folders named "large" and/or "small" depending on your usage + choice: Large is for only mana costs, small for only text, create both if you use both + choice: Additionally, you can create a "future" folder for M15 Future mana costs + choice: Save NAME.png to the relevant folders. Remember that large symbols have dropshadows + choice: For the name option above, set the address of the image, minus mainframe-extras and large/small/future + choice: Ex: magic-mainframe-extras/cajun/large/hazard.png would use cajun/hazard.png + choice: Standard size is 160x160 for small, 200x200 for small hybrid and future, 165x178 for large, 205x218 for large hybrid + choice: If your symbol mixes with colors (such as Phyrexian mana): Save NAME_w.png, NAME_u.png, etc to those folders too. + choice: If your symbol hybrids with colors (like 2/W): [Note, doesn't work on M15 Future mana costs.] + choice: Save NAME_h.png to those folders too. See mana_bb.png and similar for how this image should look. + choice: Your mana symbol will now be keyed to V (and V/W, V/U, etc. for colored/hybrid symbols). + choice: You can change number hybrids (2/V etc) to different mana symbols for even more custom symbols. + choice: Put the highest number to change (from 0 to 11) in "number hybrid variants" and save as NAME_0.png etc. +############################# Default style +default set style: + title: + padding left: 2 + font: + size: 16 + symbol: + max aspect ratio: 2.5 + variation: + name: common + border radius: 0.10 + fill type: solid + fill color: rgb(0,0,0) + border color: rgb(255,255,255) + variation: + name: uncommon + border radius: 0.07 + fill type: linear gradient + fill color 1: rgb(224,224,224) + fill color 2: rgb(84, 84, 84) + border color 1: rgb(0, 0, 0) + border color 2: rgb(0, 0, 0) + variation: + name: rare + border radius: 0.07 + fill type: linear gradient + fill color 1: rgb(214,196,94) + fill color 2: rgb(95, 84, 40) + border color 1: rgb(0, 0, 0) + border color 2: rgb(0, 0, 0) + variation: + name: mythic rare + border radius: 0.07 + fill type: linear gradient + fill color 1: rgb(245,148,31) + fill color 2: rgb(186,45,38) + border color 1: rgb(0, 0, 0) + border color 2: rgb(0, 0, 0) + variation: + name: special + border radius: 0.10 + fill type: linear gradient + fill color 1: rgb(224,170,247) + fill color 2: rgb(58,7,80) + border color 1: rgb(255,255,255) + border color 2: rgb(255,255,255) + variation: + name: watermark + border radius: 0.10 + fill type: solid + fill color: rgb(255,255,255) + border color: rgba(0,0,0,0) + automatic reminder text: + render style: checklist + direction: vertical +############################################################## Card fields +############################# Background stuff +card field: + type: color + name: border color + default: set.border_color + choice: + name: black + color: rgb(0,0,0) + choice: + name: white + color: rgb(255,255,255) + choice: + name: silver + color: rgb(128,128,128) + choice: + name: gold + color: rgb(200,180,0) + show statistics: false + description: The border of the card; can be any solid color +card field: + type: choice + name: background + show statistics: false + choice: green + choice: red + choice: purple +############################# Name line +card field: + type: text + name: name + identifying: true + show statistics: false + card list visible: true + card list column: 1 + card list width: 150 + description: The name of the card +#### compatibility with mana fonts +card field: + type: choice + name: card symbol + description: The symbol of the card. + show statistics: false + card list name: Symbol + card list column: 0920 + card list width: 100 + choice: none +############################# Image +card field: + type: image + name: image + show statistics: false + description: The image of the card +############################# Card type +card field: + type: text + name: type + card list visible: true + card list column: 2 + description: The type of the card + icon: stats/card_type.png +card field: + type: choice + name: rarity + icon: stats/rarity.png + position hint: 100 + choice: common + choice: uncommon + choice: rare + choice: mythic rare + choice: special + initial: common + card list visible: true + card list column: 6 + description: The rarity of the card, to edit the symbol switch to the 'set info' tab + choice colors: + common: rgb(33,33,33) + uncommon: rgb(224,224,224) + mythic rare: rgb(202, 49, 35) + rare: rgb(255,207,52) + special: rgb(190,0,255) +############################# Text box +card field: + type: text + name: rule text + script: text_filter(value) + show statistics: false + multi line: true + description: The rules text of the card +card field: + type: text + name: flavor text + script: flavor_text_filter(value) + show statistics: false + multi line: true + description: The flavor text of the card +card field: + type: text + name: text + multi line: true + save value: false + show statistics: false + script: + combined_editor(field1: card.rule_text, separator: "\n", field2: card.flavor_text) + description: The rules and flavor text for the card; use up and down arrows to switch +card field: + type: choice + name: watermark + icon: stats/watermark.png + position hint: 200 + include file: /herospath-watermarks.mse-include/watermark-names + description: A watermark for below the textbox, this can be a quest icon or a set symbol +############################# PT +card field: + type: text + name: power + icon: stats/power.png + show statistics: false + script: type_over_pt(value) + description: The power of a creature +card field: + type: text + name: toughness + show statistics: false + icon: stats/toughness.png + description: The toughness of a creature +card field: + type: text + name: pt + save value: false + script: + combined_editor( + field1: card.power, + separator: "/", + field2: card.toughness, + soft_before_empty: true, + hide_when_empty: true + ) + card list visible: true + card list column: 5 + card list width: 50 + card list name: P/T + description: Power/toughness of a creature + show statistics: false +############################# Card sorting / numbering +card field: + type: text + name: card number + save value: false + script: + position( + of: card + in: set + order_by: { sort_name(card.name) } + ) + 1 + + "/" + + number_of_items(in: set) + card list visible: true + card list column: 10 + card list width: 50 + card list name: # + editable: false + show statistics: false +############################# Copyright stuff +card field: + type: text + name: illustrator + default: set.artist + description: The illustrator of the image + icon: stats/illustrator.png +card field: + type: text + name: copyright + default: set.copyright + show statistics: false + editable: false +card field: + type: text + name: copyright line + save value: false + show statistics: false + script: + if set.automatic_card_numbers then + combined_editor(field1: card.copyright, separator: " ", field2: card.card_number) + else + forward_editor(field: card.copyright) + description: The copyright and card number of the card +############################################################### Extra Statistics +statistics dimension: + name: text length (words) + position hint: 100 + script: word_count(to_text(card.rule_text)) + numeric: true + bin size: 5 + icon: stats/text_length.png +statistics dimension: + name: text length (lines) + position hint: 101 + script: line_count(to_text(card.rule_text)) + numeric: true + icon: stats/text_length.png +statistics dimension: + name: keywords + position hint: 1000 + script: keyword_usage(unique:true) + show empty: false + split list: true + icon: stats/keywords.png +statistics dimension: + name: style + position hint: 1001 + script: stylesheet.short_name + icon: stats/stylesheet.png +############################################################## Auto replace +# Do we need categories? +#auto replace category: text box +#auto replace category: copyright +#auto replace category: everywhere +auto replace: + match: (C) + replace: © +auto replace: + match: AE + replace: Æ + whole word: false +auto replace: + match: TM + replace: ™ + whole word: false +auto replace: + match: -- + replace: — +auto replace: + # note the spaces + match: + - + replace: + — +auto replace: + match: CIP + replace: enters the battlefield +auto replace: + match: AAA + replace: as an additional cost to cast +auto replace: + match: ~ + replace: CARDNAME +auto replace: + match: ' + replace: ’ +############################################################## Card pack items +pack type: + name: card + filter: card.name != "" +############################################################## Card packs +pack type: + name: booster pack + item: + name: card + amount: 1 +############################################################## Keywords +############################# Keyword rules + +has keywords: true + +#keyword preview: {keyword} ({reminder}) + +keyword mode: + name: old + description: Old keywords (Banding, Phasing, etc.) +keyword mode: + name: core + description: Core set keywords (Flying, Regenerate, etc.) +keyword mode: + name: expert + description: Expert level keywords (Scry, Vanishing, etc.) +keyword mode: + name: pseudo + description: Pseudo keyword / named ability (Hellbent, Threshold, etc.) +keyword mode: + is default: true + name: custom + description: Custom keywords + +keyword parameter type: + name: mana + match: [HSCTQXYZI0-9WUBRG/|]+ + refer script: + name: normal + description: No changes made + script: \{{input}\} + refer script: + name: converted mana cost + description: Converts mana to number + # "0" left in so users can easily see how to edit script. + script: \{cmc({input}) + 0\} + refer script: + name: colored mana cost + description: Converts mana to number of colored mana + # "0" left in so users can easily see how to edit script. + script: \{colored_mana({input}) + 0\} +# By pichoro and bunnierein +keyword parameter type: + name: cost + match: [ ][HSCTQXYZI0-9WUBRG/|]*|[-—][^(\n]* + separator before is: [ —-] + separator after is: [.] + optional: false + # note: the separator is part of match + refer script: + name: normal + description: When using mana only costs, doesn't include anything extra in the reminder text + script: \{{input}\} + refer script: + name: add "pay an additional " for mana costs + description: When using mana only costs, words the reminder text as "pay an additional " + script: \{for_mana_costs(add:"pay an additional ",{input})\} + refer script: + name: add "pay " for mana costs + description: When using mana only costs, words the reminder text as "pay " + script: \{for_mana_costs(add:"pay ",{input})\} + separator script: long_dash() +keyword parameter type: + name: number + match: [XYZ0-9]+ + refer script: + name: normal + description: (1,2,3) + script: \{{input}\} + refer script: + name: as words + description: (one, two, three) + script: \{english_number({input})\} + refer script: + name: as words, use "a" for 1 + description: (a, two, three) + script: \{english_number_a({input})\} + refer script: + name: as words, use "" for 1 + description: (, two, three) + script: \{english_number_multiple({input})\} +keyword parameter type: + name: action + match: [^(:\n]+ + separator after is: [.] + reminder script: alternative_cost() +keyword parameter type: + name: one_word + match: [A-Za-z0-9]+ +keyword parameter type: + name: name + match: [^(.:;\n—]+ + refer script: + name: normal + description: No changes made. + script: \{{input}\} + refer script: + name: singular + description: Removes plurality from words. + script: \{english_singular({input})\} +keyword parameter type: + name: english_number + match: [ upto]*[(an? |one |two |three |four |five |six |seven |eight |nine |ten )]* +keyword parameter type: + name: prefix + description: Prefix for things like "walk" + optional: false + match: [A-Z][A-Z,a-z’ ]* + example: Forest +keyword parameter type: + name: a + match: [an?]* +keyword parameter type: + name: nonland + match: ( n?o?n?l?a?n?d? ?) +############################# All Magic keywords +# By JrEye and Neko_Asakami, Updated by Pichoro and Buttock1234 +keyword: + keyword: Flying + match: flying + mode: core + reminder: It can’t be blocked except by creatures with flying or reach. +keyword: + keyword: First strike + match: first strike + mode: core + reminder: It deals combat damage before creatures without first strike. +keyword: + keyword: Trample + match: trample + mode: core + reminder: If it would deal enough combat damage to its blockers to destroy them, you may have it deal the rest of its damage to defending player or planeswalker. +keyword: + keyword: Banding + match: banding + mode: old + reminder: Any creatures with banding, and up to one without, can attack in a band. Bands are blocked as a group. If any creatures with banding you control are blocking or being blocked by a creature, you divide that creature’s combat damage, not its controller, among any of the creatures it’s being blocked by or is blocking. +keyword: + keyword: Landwalk + match: prefixwalk + mode: core + reminder: This creature is unblockable as long as defending player controls a {if match(param1.value, match: " land$") or contains(param1.value, match: "Snow") or contains(param1.value, match:"Basic") or contains(param1.value, match:"Legendary") then "{to_lower(param1)}" else "{param1}"}. +keyword: + keyword: Protection from + match: protection from name + mode: core + reminder: It can’t be blocked, targeted, dealt damage, enchanted, or equipped by anything {english_singular(param1)}. +keyword: + keyword: Regeneration + match: Regenerate + mode: core + reminder: The next time it would be destroyed this turn, it isn’t. If it is a creature, instead tap it, remove all damage from it, and remove it from combat. +keyword: + keyword: Bands with other + match: bands with other name + mode: old + reminder: Any {param1} can attack in a band as long as at least one has “bands with other {param1}.” Bands are blocked as a group. If at least two {param1} you control, one of which has “bands with other {param1},” are blocking or being blocked by the same creature, you divide that creature’s combat damage, not its controller, among any of the creatures it’s being blocked by or is blocking. +keyword: + keyword: Rampage + match: rampage number + mode: old + reminder: Whenever it becomes blocked, it gets +{param1}/+{param1} until end of turn for each creature blocking it beyond the first. +keyword: + keyword: Cumulative upkeep + match: cumulative upkeep cost + mode: old + reminder: At the beginning of your upkeep, put an age counter on it, then sacrifice it unless you pay its upkeep cost for each age counter on it. +keyword: + keyword: Phasing + match: phasing + mode: old + reminder: It phases in or out before you untap during each of your untap steps. While it’s phased out, it’s treated as though it doesn’t exist. +keyword: + keyword: Flanking + match: flanking + mode: expert + reminder: Whenever a creature without flanking blocks the creature, the blocking creature gets -1/-1 until end of turn. +keyword: + keyword: Shadow + match: shadow + mode: expert + reminder: It can block or be blocked by only creatures with shadow. +keyword: + keyword: Denimwalk + match: denimwalk + mode: old + reminder: If defending player is wearing any clothing made of denim, the creature is unblockable. +keyword: + keyword: Buyback + match: buyback cost + mode: expert + reminder: You may {for_mana_costs(add:"pay an additional ",param1)} as you cast it. If you do, put it into your hand as it resolves. +keyword: + keyword: Echo + match: echo cost + mode: expert + reminder: At the beginning of your upkeep, if the permanent came under your control since the beginning of your last upkeep, sacrifice it unless you pay its echo cost. +keyword: + keyword: Cycling + match: cycling cost + mode: expert + reminder: {param1}, Discard it: Draw a card. +keyword: + keyword: Haste + match: haste + mode: core + reminder: It can attack and T as soon as it comes under your control. +keyword: + keyword: Horsemanship + match: horsemanship + mode: old + reminder: It can’t be blocked except by creatures with horsemanship. +keyword: + keyword: Fading + match: fading number + mode: expert + reminder: It enters the battlefield with {english_number_a(param1)} fade counter(s) on it. At the beginning of your upkeep, remove a fade counter from it. If you can’t, sacrifice it. +keyword: + keyword: Kicker + match: kicker cost + mode: expert + reminder: You may {for_mana_costs(add:"pay an additional ",param1)} as you cast the card. +keyword: + keyword: Flashback + match: flashback cost + mode: expert + reminder: You may cast it from your graveyard for its flashback cost. Then exile it. +keyword: + keyword: Threshold + match: Threshold + mode: pseudo + rules: Threshold — [effect] as long as seven or more cards are in your graveyard. +keyword: + keyword: Madness + match: madness cost + mode: expert + reminder: If you discard it, you may cast it for its madness cost instead of putting it into your graveyard. +keyword: + keyword: Morph + match: morph cost + mode: expert + reminder: You may cast it face down as a 2/2 creature for 3. Turn it face up any time for its morph cost. +keyword: + keyword: Fear + match: fear + mode: old + reminder: It can’t be blocked except by artifact creatures and/or black creatures. +keyword: + keyword: Amplify + match: amplify number + mode: expert + reminder: As it enters the battlefield, put {english_number_a(param1)} +1/+1 counter(s) on it for each creature that shares a type with it that you reveal in your hand. +keyword: + keyword: Double strike + match: double strike + mode: core + reminder: It deals both first-strike and regular combat damage. +keyword: + keyword: Provoke + match: provoke + mode: expert + reminder: When it attacks, you may have target creature defending player controls untap and block it if able. +keyword: + keyword: Typecycling + match: prefixcycling cost + mode: expert + reminder: {param2}, Discard it: Search your library for a {param1} card, reveal it, and put it into your hand. Then shuffle your library. +keyword: + keyword: Storm + match: storm + mode: expert + reminder: When you cast it, copy it for each spell cast before it this turn. You may choose new targets for the copies. +keyword: + keyword: Affinity for + match: affinity for name + mode: expert + reminder: It costs 1 less to cast for each {english_singular(param1)} you control. +keyword: + keyword: Entwine + match: entwine cost + mode: expert + reminder: Choose both if you pay the entwine cost. +keyword: + keyword: Equip + match: equip cost + mode: core + reminder: {param1}: Attach to target creature you control. Equip only as a sorcery. +keyword: + keyword: Imprint + match: Imprint + mode: pseudo + rules: Imprint — When it enters the battlefield, you may exile a [something] from [somewhere]. +keyword: + keyword: Modular + match: modular number + mode: expert + reminder: It enters the battlefield with {english_number_a(param1)} +1/+1 counter(s) on it. When it’s put into a graveyard, you may put its +1/+1 counters on target artifact creature. +keyword: + keyword: Scry + match: Scry number + mode: expert + reminder: + To scry {param1}, look at the top { + if param1.value==1 then "card of your library, then you may put that card on the bottom of your library." + else "{english_number(param1)} cards of your library. Put any number of them on the bottom of your library in any order and the rest on top in any order." + } +keyword: + keyword: Sunburst + match: sunburst + mode: expert + reminder: It enters the battlefield with a +1/+1 counter on it for each color of mana spent to cast it. If it isn’t a creature, use charge counters instead. +keyword: + keyword: Art rampage + match: art rampage number + mode: expert + reminder: Whenever it blocked by a creature, it gets +{param1}/+{param1} for each creature in the blocker’s art beyond the first. +keyword: + keyword: Super haste + match: Super haste + mode: expert + reminder: It may attack the turn before you cast it. (You may have it enter the battlefield from your hand, tapped and attacking, during your declare attackers step. If you do, you lose the game at the end of your next turn unless you pay its mana cost during that turn.) +keyword: + keyword: Gotcha + match: Gotcha + mode: pseudo + rules: Gotcha — Whenever an opponent [does something], you may say “Gotcha!”. If you do, return [something] from your graveyard to your hand. +keyword: + keyword: Splice + match: splice onto name cost + mode: expert + reminder: As you cast a {param1} spell, you may reveal the card from your hand and pay its splice cost. If you do, add its effects to that spell. +keyword: + keyword: Bushido + match: bushido number + mode: expert + reminder: When it blocks or becomes blocked, it gets +{param1}/+{param1} until end of turn. +keyword: + keyword: Soulshift + match: soulshift number + mode: expert + reminder: When it is put into a graveyard from the battlefield, you may return target Spirit card with converted mana cost {param1} or less from your graveyard to your hand. +keyword: + keyword: Enchant + match: enchant name + mode: core + reminder: Target a {param1} as you cast the card. The card enters the battlefield attached to that {param1}. +keyword: + keyword: Vigilance + match: vigilance + mode: core + reminder: Attacking doesn’t cause it to tap. +keyword: + keyword: Defender + match: defender + mode: core + reminder: It can’t attack. +keyword: + keyword: Offering + match: prefix offering + mode: expert + reminder: You may cast it any time you could cast an instant by sacrificing a {param1} and paying the difference in mana costs between it and the sacrificed {param1}. Mana cost includes color. +keyword: + keyword: Ninjutsu + match: ninjutsu cost + mode: expert + reminder: {param1}, Return an unblocked attacker you control to hand: Put it onto the battlefield from your hand tapped and attacking. +keyword: + keyword: Epic + match: epic + mode: expert + reminder: For the rest of the game, you can’t cast spells. At the beginning of each of your upkeeps, copy the card except for its epic ability. If it has any targets, you may choose new targets for the copy. +keyword: + keyword: Channel + match: Channel + mode: pseudo + rules: Channel — [cost], Discard a card: [effect]. +keyword: + keyword: Sweep + match: Sweep + mode: pseudo + rules: Sweep — Return any number of [basic land type] you control to their owner’s hand. [effect based on number of lands returned]. +keyword: + keyword: Convoke + match: convoke + mode: expert + reminder: Each creature you tap while casting the card reduces its cost by 1 or by one mana of that creature’s color. +keyword: + keyword: Transmute + match: transmute cost + mode: expert + reminder: {param1}, Discard it: Search your library for a card with the same converted mana cost as the discarded card, reveal it, and put it into your hand. Then shuffle your library. Transmute only as a sorcery. +keyword: + keyword: Dredge + match: dredge number + mode: expert + reminder: If you would draw a card, instead you may put exactly {english_number(param1)} card(s) from the top of your library into your graveyard. If you do, return the card from your graveyard to your hand. Otherwise, draw a card. +keyword: + keyword: Radiance + match: Radiance + mode: pseudo + rules: Radiance — [effect to target permanent or spell and all cards of same card type that share a color with it]. +keyword: + keyword: Haunt + match: haunt + mode: expert + reminder: When it is put into a graveyard from the battlefield, or when it resolves if it is not a permanent, exile it haunting target creature. +keyword: + keyword: Bloodthirst + match: bloodthirst number + mode: expert + reminder: If an opponent was dealt damage this turn, the permanent enters the battlefield with {english_number_a(param1)} +1/+1 counter(s) on it. +keyword: + keyword: Replicate + match: replicate cost + mode: expert + reminder: When you cast it, copy it for each time you paid its replicate cost. You may choose new targets for the copies. +keyword: + keyword: Graft + match: graft number + mode: expert + reminder: It enters the battlefield with {english_number_a(param1)} +1/+1 counter(s) on it. Whenever a creature enters the battlefield, you may move a +1/+1 counter from the permanent onto it. +keyword: + keyword: Forecast + match: forecast — action, Reveal name from your hand: action + mode: expert + reminder: Activate the ability only during your upkeep and only once each turn. +keyword: + keyword: Hellbent + match: Hellbent + mode: pseudo + rules: Hellbent — [effect] if you have no cards in hand. +keyword: + keyword: Recover + match: recover cost + mode: expert + reminder: When a creature is put into your graveyard from the battlefield, you may {for_mana_costs(add:"pay ",param1)}. If you do, return the card from your graveyard to your hand. Otherwise, exile this card. +keyword: + keyword: Ripple + match: ripple number + mode: expert + reminder: When you cast it, you may reveal the top {english_number_multiple(param1)} card(s) of your library. You may cast any revealed cards with the same name as the card without paying their mana costs. Put the rest on the bottom of your library. +keyword: + keyword: Flash + match: flash + mode: core + reminder: You may cast it any time you could cast an instant. +keyword: + keyword: Split second + match: split second + mode: expert + reminder: As long as it is on the stack, players can’t cast spells or activate abilities that aren’t mana abilities. +keyword: + keyword: Suspend + match: suspend numbercost + mode: expert + reminder: Rather than cast it from your hand, you may pay {param2} and exile it with {english_number_a(param1)} time counter(s) on it. At the beginning of your upkeep, remove a time counter. When the last is removed, cast it without paying its mana cost. If it is a creature, it has haste. +keyword: + keyword: Vanishing + match: vanishing number + mode: expert + reminder: It enters the battlefield with {english_number_a(param1)} time counter(s) on it. At the beginning of your upkeep, remove a time counter from it. When the last is removed, sacrifice it. +keyword: + keyword: Deathtouch + match: deathtouch + mode: expert + reminder: Any amount of damage it deals to a creature is enough to destroy it. +keyword: + keyword: Reach + match: reach + mode: core + reminder: It can block creatures with flying. +keyword: + keyword: Gravestorm + match: gravestorm + mode: expert + reminder: When you cast it, copy it for each permanent put into a graveyard this turn. You may choose new targets for the copies. +keyword: + keyword: Lifelink + match: lifelink + mode: core + reminder: Damage dealt by it also causes you to gain that much life. +keyword: + keyword: Absorb + match: absorb number + mode: expert + reminder: If a source would deal damage to it, prevent {param1} of that damage. +keyword: + keyword: Fateseal + match: fateseal number + mode: expert + reminder: + Look at the top { + if param1.value==1 then "card of an opponent’s library, then you may put it on the bottom of that player’s library." + else "{english_number(param1)} cards of an opponent’s library, then put any number of them on the bottom of that player’s library and the rest on top in any order." + } +keyword: + keyword: Transfigure + match: transfigure cost + mode: expert + reminder: {param1}, Sacrifice it: Search your library for a creature card with the same converted mana cost as the sacrificed card and put that card onto the battlefield. Then shuffle your library. Transfigure only as a sorcery. +keyword: + keyword: Aura swap + match: aura swap cost + mode: expert + reminder: {param1}: Exchange it with an Aura card in your hand. +keyword: + keyword: Frenzy + match: frenzy number + mode: expert + reminder: Whenever it attacks and isn’t blocked, it gets +{param1}/+0 until end of turn. +keyword: + keyword: Delve + match: delve + mode: expert + reminder: You may exile any number of cards in your graveyard as you cast it. It costs 1 less to cast for each card exiled this way. +keyword: + keyword: Poisonous + match: poisonous number + mode: expert + reminder: Whenever it deals combat damage to a player, that player gets {english_number_a(param1)} poison counter(s). A player with ten or more poison counters loses the game. +keyword: + keyword: Shroud + match: shroud + mode: core + reminder: It can’t be the target of spells or abilities. +keyword: + keyword: Fortify + match: fortify cost + mode: expert + reminder: {param1}: Attach to target land you control. Fortify only as a sorcery. It enters the battlefield unattached and stays on the battlefield if the land leaves. +keyword: + keyword: Grandeur + match: Grandeur + mode: pseudo + rules: Grandeur — Discard another card named [something]: [effect]. +keyword: + keyword: Evoke + match: evoke cost + mode: expert + reminder: You may cast it for its evoke cost. If you do, it’s sacrificed when it enters the battlefield. +keyword: + keyword: Champion + match: champion a name + mode: expert + reminder: When it enters the battlefield, sacrifice it unless you exile another {param2} you control. When it leaves the battlefield, return that card to the battlefield. +keyword: + keyword: Clash + match: clash + mode: expert + reminder: Each clashing player reveals the top card of his or her library, then puts that card on the top or bottom. A player wins if his or her card had a higher converted mana cost. +keyword: + keyword: Changeling + match: changeling + mode: expert + reminder: It is every creature type at all times. +keyword: + keyword: Hideaway + match: hideaway + mode: expert + reminder: The land enters the battlefield tapped. When it does, look at the top four cards of your library, exile one face down, then put the rest on the bottom of your library. +keyword: + keyword: Prowl + match: prowl cost + mode: expert + reminder: You may cast it for its prowl cost if you dealt combat damage to a player this turn with a creature that shares a type with it. +keyword: + keyword: Reinforce + match: reinforce numbercost + mode: expert + reminder: {param2}, Discard it: Put {english_number_a(param1)} +1/+1 counter(s) on target creature. +keyword: + keyword: Kinship + match: Kinship + mode: pseudo + rules: Kinship — At the beginning of your upkeep, you may look at the top card of your library. If that card shares a creature type with it, you may reveal it. If you do, [effect]. +keyword: + keyword: Persist + match: persist + mode: expert + reminder: When it is put into a graveyard from the battlefield, if it had no -1/-1 counters on it, return it to the battlefield under its owner’s control with a -1/-1 counter on it. +keyword: + keyword: Wither + match: wither + mode: expert + reminder: It deals damage to creatures in the form of -1/-1 counters. +keyword: + keyword: Conspire + match: conspire + mode: expert + reminder: As you cast it, you may tap two untapped creatures you control that share a color with it. When you do, copy it and you may choose a new target for the copy. +keyword: + keyword: Retrace + match: retrace + mode: expert + reminder: You may cast it from your graveyard by discarding a land card in addition to paying its other costs. +keyword: + keyword: Chroma + match: Chroma + mode: pseudo + rules: Chroma — [effect] based on the number of [color] mana symbols [in graveyard, under your control, in cards you discard]. +keyword: + keyword: Unearth + match: unearth cost + mode: expert + reminder: {param1}: Return it from your graveyard to the battlefield. If it is a creature, it gains haste. Exile it at the beginning of the end step or if it would leave the battlefield. Unearth only as a sorcery. +keyword: + keyword: Devour + match: devour number + mode: expert + reminder: As it enters the battlefield, you may sacrifice any number of creatures. It enters the battlefield with { if param1.value == 1 then "" else if param1.value == 2 then "twice " else english_number(param1) + " times " }that many +1/+1 counters on it. +keyword: + keyword: Exalted + match: exalted + mode: expert + reminder: Whenever a creature you control attacks alone, that creature gets +1/+1 until end of turn. +keyword: + keyword: Domain + match: Domain + mode: pseudo + rules: Domain — [effect] for each basic land type among lands you control. +keyword: + keyword: Cascade + match: cascade + mode: expert + reminder: When you cast it, exile the top card of your library until you remove a nonland card that costs less. You may cast that card without paying its mana cost. Put the exiled cards on the bottom of your library at random. +keyword: + keyword: Intimidate + match: intimidate + mode: core + reminder: It can’t be blocked except by artifact creatures and/or creatures that share a color with it. +keyword: + keyword: Landfall + match: Landfall + mode: pseudo + rules: Landfall — Whenever a land enters the battlefield under your control, [effect]. +keyword: + keyword: Multikicker + match: multikicker cost + mode: expert + reminder: You may {for_mana_costs(add:"pay an additional ", param1)} any number of times as you cast it. +keyword: + keyword: Annihilator + match: annihilator number + mode: expert + reminder: Whenever it attacks, defending player sacrifices {english_number_a(param1)} permanent(s). +keyword: + keyword: Rebound + match: rebound + mode: expert + reminder: If you cast it from your hand, exile it as it resolves. At the beginning of your next upkeep, you may cast it from exile without paying its mana cost. +keyword: + keyword: Totem armor + match: totem armor + mode: expert + reminder: If enchanted creature would be destroyed, instead remove all damage from the creature and destroy it. +keyword: + keyword: Level up + match: level up cost + mode: expert + reminder: {param1}: Put a level counter on it. Level up only as a sorcery. +keyword: + keyword: Infect + match: infect + mode: expert + reminder: This creature deals damage to creatures in the form of -1/-1 counters and to players in the form of poison counters. +keyword: + keyword: Proliferate + match: proliferate + mode: expert + reminder: You may choose any number of permanents and/or players with counters on them, then give each another counter of a kind already there. +keyword: + keyword: Metalcraft + match: Metalcraft + mode: pseudo + rules: Metalcraft — As long as you control three or more artifacts, [effect]. +keyword: + keyword: Battlecry + match: battlecry + mode: expert + reminder: Whenever it attacks, each other attacking creature gets +1/+0 until end of turn. +keyword: + keyword: Living weapon + match: living weapon + mode: expert + reminder: When it enters the battlefield, put a 0/0 black Germ creature token onto the battlefield, then attach it to the creature. +keyword: + keyword: Hexproof + match: hexproof + mode: core + reminder: It can't be the target of spells or abilities your opponents control. +keyword: + keyword: Morbid + match: Morbid + mode: pseudo + rules: Morbid — If a creature died this turn, [effect]. +keyword: + keyword: Fight + match: fight + mode: action + reminder: Each deals damage equal to its power to the other. +keyword: + keyword: Undying + match: undying + mode: expert + reminder: When it dies, if it had no +1/+1 counters on it, return it to the battlefield under its owner's control with a +1/+1 counter on it. +keyword: + keyword: Fateful hour + match: Fateful hour + mode: pseudo + rules: Fateful hour — As long as you have 5 or less life, [effect]. +keyword: + keyword: Miracle + match: miracle cost + mode: expert + reminder: You may cast it for its miracle cost when you draw it if it's the first card you drew this turn. +keyword: + keyword: Soulbond + match: soulbond + mode: expert + reminder: You may pair it with another unpaired creature when either enters the battlefield. They remain paired for as long as you control both of them. +keyword: + keyword: Detain + match: detainenglish_numbertargetnonlandone_word + mode: action + reminder: Until your next turn, {if contains(param1.value, match:"one") or param1.value == " " then "that" else "those"} {param3} can't attack or block and its activated abilities can't be activated. +keyword: + keyword: Overload + match: overload cost + mode: expert + reminder: You may cast it for its overload cost. If you do, change its text by replacing all instances of "target" with "each". +keyword: + keyword: Unleash + match: unleash + mode: expert + reminder: You may have it enter the battlefield with a +1/+1 counter on it. It can't block as long as it has a +1/+1 counter on it. +keyword: + keyword: Scavenge + match: scavenge cost + mode: expert + reminder: {param1}, Exile it from your graveyard: Put a number of +1/+1 counters equal to its power on target creature. Scavenge only as a sorcery. +keyword: + keyword: Populate + match: populate + mode: action + reminder: Put a token onto the battlefield that's a copy of a creature token you control. +keyword: + keyword: Extort + match: extort + mode: expert + reminder: Whenever you cast spell, you may pay [W/B]. If you do, each opponent loses 1 life and you gain that much life. +keyword: + keyword: Cipher + match: cipher + mode: expert + reminder: Then you may exile it encoded on a creature you control. Whenever that creature deals combat damage to a player, its controller may cast a copy of the encoded card without paying its mana cost. +keyword: + keyword: Bloodrush + match: Bloodrush + mode: pseudo + rules: Bloodrush — [cost], Discard ~: Target attacking creature gets [effect]. +keyword: + keyword: Battalion + match: Battalion + mode: pseudo + rules: Battalion — Whenever ~ and at least two other creatures attack, [effect]. +keyword: + keyword: Evolve + match: evolve + mode: expert + reminder: Whenever a creature enters the battlefield under your control, if that creature has greater power or toughness than it, put a +1/+1 counter on it. +keyword: + keyword: Fuse + match: fuse + mode: expert + reminder: You may cast one or both halves of it from your hand. +keyword: + keyword: Indestructible + match: indestructible + mode: core + reminder: Damage and effects that say "destroy" don't destroy it. +keyword: + keyword: Hero's Reward + match: Hero's Reward + mode: pseudo +keyword: + keyword: Monstrosity + match: monstrosity number + mode: expert + reminder: If it isn’t monstrous, put {english_number_a(param1)} +1/+1 counter(s) on it and it becomes monstrous. +keyword: + keyword: Heroic + match: Heroic + mode: pseudo + rules: Whenever you cast a spell that targets ~, [effect]. +keyword: + keyword: Bestow + match: bestow cost + mode: expert + reminder: If you cast it for its bestow cost, it's an Aura spell with enchant creature. It becomes a creature again if it's not attached to a creature. +keyword: + keyword: Devotion + match: devotion to action + mode: action + reminder: Each {color_to_mana(param1)} in the mana costs of permanents you control counts toward your devotion to {param1}. +keyword: + keyword: Tribute + match: tribute number + mode: expert + reminder: As it enters the battlefield, an opponent of your choice may put {english_number_a(param1)} +1/+1 counter(s) on it. +keyword: + keyword: Inspiration + match: Inspiration + mode: pseudo + rules: Inspiration - Whenever ~ becomes untapped, [effect]. diff --git a/herospath.mse-game/stats/card_type.png b/herospath.mse-game/stats/card_type.png new file mode 100644 index 0000000..d2b8f49 Binary files /dev/null and b/herospath.mse-game/stats/card_type.png differ diff --git a/herospath.mse-game/stats/illustrator.png b/herospath.mse-game/stats/illustrator.png new file mode 100644 index 0000000..86117ef Binary files /dev/null and b/herospath.mse-game/stats/illustrator.png differ diff --git a/herospath.mse-game/stats/keywords.png b/herospath.mse-game/stats/keywords.png new file mode 100644 index 0000000..4f1e07a Binary files /dev/null and b/herospath.mse-game/stats/keywords.png differ diff --git a/herospath.mse-game/stats/number.png b/herospath.mse-game/stats/number.png new file mode 100644 index 0000000..21e566f Binary files /dev/null and b/herospath.mse-game/stats/number.png differ diff --git a/herospath.mse-game/stats/power.png b/herospath.mse-game/stats/power.png new file mode 100644 index 0000000..2d3a811 Binary files /dev/null and b/herospath.mse-game/stats/power.png differ diff --git a/herospath.mse-game/stats/pt.png b/herospath.mse-game/stats/pt.png new file mode 100644 index 0000000..91c1aae Binary files /dev/null and b/herospath.mse-game/stats/pt.png differ diff --git a/herospath.mse-game/stats/rarity.png b/herospath.mse-game/stats/rarity.png new file mode 100644 index 0000000..62e77e4 Binary files /dev/null and b/herospath.mse-game/stats/rarity.png differ diff --git a/herospath.mse-game/stats/stylesheet.png b/herospath.mse-game/stats/stylesheet.png new file mode 100644 index 0000000..3207223 Binary files /dev/null and b/herospath.mse-game/stats/stylesheet.png differ diff --git a/herospath.mse-game/stats/text_length.png b/herospath.mse-game/stats/text_length.png new file mode 100644 index 0000000..e8c7904 Binary files /dev/null and b/herospath.mse-game/stats/text_length.png differ diff --git a/herospath.mse-game/stats/toughness.png b/herospath.mse-game/stats/toughness.png new file mode 100644 index 0000000..59a3c25 Binary files /dev/null and b/herospath.mse-game/stats/toughness.png differ diff --git a/herospath.mse-game/stats/watermark.png b/herospath.mse-game/stats/watermark.png new file mode 100644 index 0000000..ba03f30 Binary files /dev/null and b/herospath.mse-game/stats/watermark.png differ diff --git a/planechase-cbg.mse-style/backdrop.jpg b/planechase-cbg.mse-style/backdrop.jpg new file mode 100644 index 0000000..6b944b4 Binary files /dev/null and b/planechase-cbg.mse-style/backdrop.jpg differ diff --git a/planechase-cbg.mse-style/card-sample.png b/planechase-cbg.mse-style/card-sample.png new file mode 100644 index 0000000..c765b58 Binary files /dev/null and b/planechase-cbg.mse-style/card-sample.png differ diff --git a/planechase-cbg.mse-style/frame.png b/planechase-cbg.mse-style/frame.png new file mode 100644 index 0000000..057f8c4 Binary files /dev/null and b/planechase-cbg.mse-style/frame.png differ diff --git a/planechase-cbg.mse-style/style b/planechase-cbg.mse-style/style new file mode 100644 index 0000000..4aef93e --- /dev/null +++ b/planechase-cbg.mse-style/style @@ -0,0 +1,250 @@ +mse version: 0.3.8 +game: planechase +short name: CBG +full name: Planes +installer group: Magic Planes/cbg style +icon: card-sample.png +position hint: 04 + +version: 2010-01-23 +depends on: + package: planechase.mse-game + version: 2009-08-11 +depends on: + package: magic-mana-small.mse-symbol-font + version: 2009-08-10 + +card width: 523 +card height: 375 +card dpi: 150 +#Images by Artfreakwiu +#Code by Pichoro +############################################################## Extra scripts +init script: + # Use the normal tap symbol + mana_t := { + if styling.tap_symbol == "old" then "old" + else if styling.tap_symbol == "diagonal T" then "older" + else "new" + } + + # Use guild mana symbols? + guild_mana := { styling.use_guild_mana_symbols } + +############################################################## Set info fields +set info style: + symbol: + variation: + name: invertedcommon + border radius: 0.10 + fill type: solid + fill color: rgb(255,255,255) + border color: rgb(0,0,0) +############################################################## Extra style options +styling field: + type: boolean + name: use guild mana symbols + description: Use the Ravnica guild symbols instead of the official half/half circles for hybrid mana. + initial: no +styling field: + type: package choice + name: text box mana symbols + match: magic-mana-*.mse-symbol-font + initial: magic-mana-small.mse-symbol-font +styling field: + type: choice + name: tap symbol + description: What tap and untap symbols should be used on cards? + initial: modern + choice: modern + choice: old + choice: diagonal T +styling field: + type: boolean + name: inverted common symbol + description: Should the common rarity symbol be inverted, like in Coldsnap? + initial: no +styling field: + type: boolean + name: art behind textbox + description: Should the art extend behind the textbox? + initial: yes +styling style: + use guild mana symbols: + choice images: + yes: /magic-mana-small.mse-symbol-font/mana_guild_rg.png + no: /magic-mana-small.mse-symbol-font/mana_rg.png + tap symbol: + render style: both + choice images: + modern: /magic-mana-small.mse-symbol-font/mana_t.png + old: /magic-mana-small.mse-symbol-font/mana_t_old.png + diagonal T: /magic-mana-small.mse-symbol-font/mana_t_older.png +############################################################## Card fields +card style: + ############################# Background stuff + ############################# Name line + name: + left: 44 + top : 22 + right: 483 + height: 23 + alignment: bottom shrink-overflow + padding bottom: 0 + z index: 3 + font: + name: MatrixRegularSmallCaps + size: 17 + weight: bold + color: rgb(255,255,255) + ############################# Image + image: + left: 44 + top: 51 + width: 439 + height: { if styling.art_behind_textbox then 272 else 165 } + z index: 1 + ############################# Card type + type: + left: 40 + top : 220 + width: 416 + height: 20 + alignment: top right shrink-overflow + z index: 3 + padding top: 2 + font: + name: Matrix + size: 12 + color: rgb(255,255,255) + separator color: rgb(128,128,128) + rarity: + right: 500 + top : 224 + width: 42 + height: 26 + z index: 3 + render style: image + alignment: middle center + choice images: + # Images based on the set symbol + basic land: + script: + if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") + else symbol_variation(symbol: set.symbol, variation: "common") + common: + script: + if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") + else symbol_variation(symbol: set.symbol, variation: "common") + uncommon: script: symbol_variation(symbol: set.symbol, variation: "uncommon") + rare: script: symbol_variation(symbol: set.symbol, variation: "rare") + mythic rare: script: symbol_variation(symbol: set.symbol, variation: "mythic rare") + special: script: symbol_variation(symbol: set.symbol, variation: "special") + ############################# Text box + ############################# Loyalty + ############################# Card sorting / numbering + ############################# Copyright stuff + illustrator: + left: 66 + top : 328 + width: 425 + height: 11 + z index: 3 + alignment: top left + font: + name: Matrix + size: 8 + weight: bold + color: rgb(255,255,255) + copyright line: + left: 41 + top : 339 + width: 445 + height: 9 + z index: 3 + alignment: top left + font: + name: MPlantin + size: 6 + color: rgb(255,255,255) +############################################################## Extra card fields +extra card field: + type: choice + name: background + editable: false + save value: false + choice: backdrop +extra card field: + type: choice + name: frame + editable: false + save value: false + choice: frame +extra card field: + type: choice + name: chaos symbol + editable: false + save value: false + choice: chaos +extra card field: + type: text + name: text + multi line: true + save value: false + script: + combined_editor(field1: card.rule_text, separator: "\n", field2: card.flavor_text) + description: The rules and flavor text for the card; use up and down arrows to switch +extra card style: + background: + left: 0 + top: 0 + width: 523 + height: 375 + z index: 0 + render style: image + choice images: + backdrop: backdrop.jpg + frame: + left: 0 + top: 0 + width: 523 + height: 375 + z index: 2 + render style: image + choice images: + frame: frame.png + chaos symbol: + left: 48 + top: 288 + width: 35 + height: 27 + z index: 3 + render style: image + choice images: + chaos: /magic-mana-small.mse-symbol-font/mana_chaos.png + text: + left: 45 + top : 245 + width: 437 + height: 78 + font: + name: MPlantin + italic name: MPlantin-Italic + size: 14 + scale down to: 6 + color: rgb(0,0,0) + symbol font: + name: { styling.text_box_mana_symbols } + size: 14 + paragraph height: 39 + alignment: middle left + z index: 3 + padding left: 6 + padding right: 4 + padding bottom: 2 + line height hard: 1.2 + line height line: 1.5 + line height soft: 0.9 + line height hard max: 1.3 + line height line max: 1.6 + mask: textbox_mask.png diff --git a/planechase-cbg.mse-style/textbox_mask.png b/planechase-cbg.mse-style/textbox_mask.png new file mode 100644 index 0000000..9b3aab7 Binary files /dev/null and b/planechase-cbg.mse-style/textbox_mask.png differ diff --git a/planechase-forum.mse-export-template/export-template b/planechase-forum.mse-export-template/export-template new file mode 100644 index 0000000..1156273 --- /dev/null +++ b/planechase-forum.mse-export-template/export-template @@ -0,0 +1,215 @@ +mse version: 0.3.8 +short name: Forum +full name: Spoiler Exporter +position hint: 002 +icon: icon.png +version: 2010-05-11 +installer group: Magic Planes/Export/forum + +depends on: + package: planechase.mse-game + version: 2009-08-11 + +game: planechase +file type: *.txt|*.txt|*.*|*.* + +# By Pichoro +# Based on code by Idle Muse, Innuendo and Seeonee + +option field: + type: choice + name: forum + choice: mse + choice: mtgsalvation + description: What forum should the spoiler be formatted for? +option field: + type: boolean + name: text costs + initial: yes + description: Should mana costs be plain text? Symbols usually can't be copied and pasted. +option field: + type: text + name: creator + description: The creator of the set. +option field: + type: boolean + name: include notes + description: Should card notes be included? + initial: no +option field: + type: boolean + name: color rarities + description: Should rarities be colored? + initial: yes +script: + # Colored rarity markers. + rarity_color := { + if card.rarity == "basic land" then " (C)" + else if card.rarity == "common" then " (C)" + else if card.rarity == "uncommon" then " [color=silver](U)[/color]" + else if card.rarity == "rare" then " [color=gold](R)[/color]" + else if card.rarity == "mythic rare" then " [color=orange](M)[/color]" + else if card.rarity == "special" then " [color=purple](S)[/color]" + else " (C)" + } + # Non colored rarity markers. + rarity_uncolor := { + if card.rarity == "basic land" then " (C)" + else if card.rarity == "common" then " (C)" + else if card.rarity == "uncommon" then " (U)" + else if card.rarity == "rare" then " (R)" + else if card.rarity == "mythic rare" then " (M)" + else if card.rarity == "special" then " (S)" + else " (C)" + } + # Formats rules text w/ only italic tags. + forum_rules_filter_plain := replace@(match:"[(]", replace:"[i](")+ + replace@(match:"[)]", replace: ")[/i]") + # Formats rules text w/ mana symbols. MSE and mtgsally use same bbcode tags for mana. + forum_rules_filter_mtgsally_mse := + # Italics around parenthesis. + replace@(match:"[(]", replace:"[i](")+ + replace@(match:"[)]", replace: ")[/i]")+ + # 2/C's don't appear in regular english, format them all. + replace@(match:"2/W", replace:":sym2w:")+ + replace@(match:"2/U", replace:":sym2u:")+ + replace@(match:"2/B", replace:":sym2b:")+ + replace@(match:"2/R", replace:":sym2r:")+ + replace@(match:"2/G", replace:":sym2g:")+ + # C/D's don't appear in regular english, format them all. + replace@(match:"W/U", replace:":symwu:")+ + replace@(match:"W/B", replace:":symwb:")+ + replace@(match:"U/B", replace:":symub:")+ + replace@(match:"U/R", replace:":symur:")+ + replace@(match:"B/R", replace:":symbr:")+ + replace@(match:"B/G", replace:":symbg:")+ + replace@(match:"R/G", replace:":symrg:")+ + replace@(match:"R/W", replace:":symrw:")+ + replace@(match:"G/W", replace:":symgw:")+ + replace@(match:"G/U", replace:":symgu:")+ + # Various positions for taps, untaps and chaos symbols. + replace@(match:" T ", replace:" :symtap: ")+ + replace@(match:" Q ", replace:" :symq: ")+ + replace@(match:" C ", replace:" :symch: ")+ + replace@(match:"T,", replace:":symtap:,")+ + replace@(match:"Q,", replace:":symq:,")+ + replace@(match:"C,", replace:":symch:,")+ + replace@(match:"T:", replace:":symtap::")+ + replace@(match:"Q:", replace:":symq::")+ + replace@(match:"C:", replace:":symch::")+ + # Mana right before a space. + replace@(match:"G ", replace:":symg: ")+ + replace@(match:"R ", replace:":symr: ")+ + replace@(match:"B ", replace:":symb: ")+ + replace@(match:"U ", replace:":symu: ")+ + replace@(match:"W ", replace:":symw: ")+ + replace@(match:"S ", replace:":snow: ")+ + # Mana right before a comma. + replace@(match:"G,", replace:":symg:,")+ + replace@(match:"R,", replace:":symr:,")+ + replace@(match:"B,", replace:":symb:,")+ + replace@(match:"U,", replace:":symu:,")+ + replace@(match:"W,", replace:":symw:,")+ + replace@(match:"S,", replace:":snow:,")+ + # Mana right before a colon. + replace@(match:"G:", replace:":symg::")+ + replace@(match:"R:", replace:":symr::")+ + replace@(match:"B:", replace:":symb::")+ + replace@(match:"U:", replace:":symu::")+ + replace@(match:"W:", replace:":symw::")+ + # Drag rules text to search for more mana characters. Reverse color wheel order works better. Repeat several times. + replace@(match:"G:", replace:":symg::")+ + replace@(match:"R:", replace:":symr::")+ + replace@(match:"B:", replace:":symb::")+ + replace@(match:"U:", replace:":symu::")+ + replace@(match:"W:", replace:":symw::")+ + replace@(match:"G:", replace:":symg::")+ + replace@(match:"R:", replace:":symr::")+ + replace@(match:"B:", replace:":symb::")+ + replace@(match:"U:", replace:":symu::")+ + replace@(match:"W:", replace:":symw::")+ + replace@(match:"G:", replace:":symg::")+ + replace@(match:"R:", replace:":symr::")+ + replace@(match:"B:", replace:":symb::")+ + replace@(match:"U:", replace:":symu::")+ + replace@(match:"W:", replace:":symw::")+ + # Symbolize snow. + replace@(match:"S:", replace:":snow::")+ + replace@(match:"S:", replace:":snow::")+ + replace@(match:"S:", replace:":snow::")+ + # Symbolize numbers from 20-0 when before a comma. + replace@(match:"20,", replace:":20mana:,")+ + replace@(match:"19,", replace:":19mana:,")+ + replace@(match:"18,", replace:":18mana:,")+ + replace@(match:"17,", replace:":17mana:,")+ + replace@(match:"16,", replace:":16mana:,")+ + replace@(match:"15,", replace:":15mana:,")+ + replace@(match:"14,", replace:":14mana:,")+ + replace@(match:"13,", replace:":13mana:,")+ + replace@(match:"12,", replace:":12mana:,")+ + replace@(match:"11,", replace:":11mana:,")+ + replace@(match:"10,", replace:":10mana:,")+ + replace@(match:"9,", replace:":9mana:,")+ + replace@(match:"8,", replace:":8mana:,")+ + replace@(match:"7,", replace:":7mana:,")+ + replace@(match:"6,", replace:":6mana:,")+ + replace@(match:"5,", replace:":5mana:,")+ + replace@(match:"4,", replace:":4mana:,")+ + replace@(match:"3,", replace:":3mana:,")+ + replace@(match:"2,", replace:":2mana:,")+ + replace@(match:"1,", replace:":1mana:,")+ + replace@(match:"0,", replace:":0mana:,")+ + # Symbolize numbers from 20-0 when before another symbol or a colon. + replace@(match:"20:", replace:":20mana::")+ + replace@(match:"19:", replace:":19mana::")+ + replace@(match:"18:", replace:":18mana::")+ + replace@(match:"17:", replace:":17mana::")+ + replace@(match:"16:", replace:":16mana::")+ + replace@(match:"15:", replace:":15mana::")+ + replace@(match:"14:", replace:":14mana::")+ + replace@(match:"13:", replace:":13mana::")+ + replace@(match:"12:", replace:":12mana::")+ + replace@(match:"11:", replace:":11mana::")+ + replace@(match:"10:", replace:":10mana::")+ + replace@(match:"9:", replace:":9mana::")+ + replace@(match:"8:", replace:":8mana::")+ + replace@(match:"7:", replace:":7mana::")+ + replace@(match:"6:", replace:":6mana::")+ + replace@(match:"5:", replace:":5mana::")+ + replace@(match:"4:", replace:":4mana::")+ + replace@(match:"3:", replace:":3mana::")+ + replace@(match:"2:", replace:":2mana::")+ + replace@(match:"1:", replace:":1mana::")+ + replace@(match:"0:", replace:":0mana::")+ + # Symbolize X and Y when before a comma. + replace@(match:"Y,", replace:":symy:,")+ + replace@(match:"X,", replace:":symx:,")+ + # Symbolize X and Y when before another symbol or a colon. + replace@(match:"Y:", replace:":symy::")+ + replace@(match:"X:", replace:":symx::")+ + # Add a Chaos symbol in front of Chaos abilities. + replace@(match:"Whenever you roll :symch:,", replace:":symch: - Whenever you roll :symch:,")+ + # Remove consecutive spaces, as they are meant to adjust text position. + replace@(match:" ", replace:"") + # Count the number of paragraphs to detect number of walker abilities. + write_card := { + # The Name + "\n[b]"+card.name+"[/b]" + # The Type and Rarity + +"\n"+card.type+(if options.color_rarities then rarity_color() else rarity_uncolor()) + # The Rules Text + +(if card.rule_text != "" then "\n") + +(if not options.text_costs then forum_rules_filter_mtgsally_mse(remove_tags(card.rule_text))) + +(if options.text_costs then forum_rules_filter_plain(card.rule_text)) + # The Flavor Text + +(if card.flavor_text != "" then "\n[i]") + +card.flavor_text + +(if card.flavor_text != "" then "[/i]") + # The Notes + +(if options.include_notes and card.notes !="" then "\n[spoiler]Card Notes: ") + +(if options.include_notes and card.notes !="" then card.notes) + +(if options.include_notes and card.notes !="" then "[/spoiler]") + +"\n" + } + write_cards := to_text(for each card in sort_list(set, order_by: {input.card_number}) do write_card()) + to_string("Full Spoiler List for "+set.title+"\nSet by "+options.creator+"\n"+set.description+"\n"+write_cards) diff --git a/planechase-forum.mse-export-template/icon.png b/planechase-forum.mse-export-template/icon.png new file mode 100644 index 0000000..6fd47bc Binary files /dev/null and b/planechase-forum.mse-export-template/icon.png differ diff --git a/planechase-fullart-horizontal.mse-style/card-sample.png b/planechase-fullart-horizontal.mse-style/card-sample.png new file mode 100644 index 0000000..36f763b Binary files /dev/null and b/planechase-fullart-horizontal.mse-style/card-sample.png differ diff --git a/planechase-fullart-horizontal.mse-style/style b/planechase-fullart-horizontal.mse-style/style new file mode 100644 index 0000000..2fa1a75 --- /dev/null +++ b/planechase-fullart-horizontal.mse-style/style @@ -0,0 +1,224 @@ +mse version: 2.0.0 +game: planechase +full name: Full Art Style +short name: Horizontal +installer group: Magic Planes/fullart style/horizontal +icon: card-sample.png +position hint: 100 + +version: 2014-02-04 +depends on: + package: planechase.mse-game + version: 2009-08-10 +depends on: + package: magic-mana-small.mse-symbol-font + version: 2009-08-10 + +card width: 523 +card height: 375 +card dpi: 150 +#By Pichoro +############################################################## Extra scripts +init script: + artist_color := { + if to_int(card.border_color) < 96 then "white" else "black" + } + + # Use the normal tap symbol + mana_t := { + if styling.tap_symbol == "old" then "old" + else if styling.tap_symbol == "diagonal T" then "older" + else "new" + } + # Use guild mana symbols? + guild_mana := { styling.use_guild_mana_symbols } + +############################################################## Set info fields +############################################################## Extra style options +styling field: + type: boolean + name: reverse text color + description: Should text color be black with a white shadow? + initial: no +styling field: + type: text + name: textbox left + description: The top coordinate for the textbox. +styling field: + type: text + name: textbox top + description: The top coordinate for the textbox. +styling field: + type: text + name: textbox width + description: The top coordinate for the textbox. +styling field: + type: text + name: textbox height + description: The height coordinate for the textbox. +styling field: + type: text + name: textbox angle + description: The angle of the textbox. +styling field: + type: choice + name: textbox alignment + description: The alignment of the textbox. + choice: left top shrink-overflow + choice: center top shrink-overflow + choice: right top shrink-overflow + choice: left middle shrink-overflow + choice: center middle shrink-overflow + choice: right middle shrink-overflow + choice: left bottom shrink-overflow + choice: center bottom shrink-overflow + choice: right bottom shrink-overflow +styling field: + type: boolean + name: use guild mana symbols + description: Use the Ravnica guild symbols instead of the official half/half circles for hybrid mana. + initial: no +styling field: + type: package choice + name: text box mana symbols + match: magic-mana-*.mse-symbol-font + initial: magic-mana-small.mse-symbol-font +styling field: + type: choice + name: tap symbol + description: What tap and untap symbols should be used on cards? + initial: old + choice: modern + choice: old + choice: diagonal T +styling style: + use guild mana symbols: + choice images: + yes: /magic-mana-small.mse-symbol-font/mana_guild_rg.png + no: /magic-mana-small.mse-symbol-font/mana_rg.png + tap symbol: + render style: both + choice images: + modern: /magic-mana-small.mse-symbol-font/mana_t.png + old: /magic-mana-small.mse-symbol-font/mana_t_old.png + diagonal T: /magic-mana-small.mse-symbol-font/mana_t_older.png +############################################################## Card fields +card style: + ############################# Background stuff + border color: + left: 0 + top : 0 + width: 523 + height: 375 + radius: 18 + left width: 17 + right width: 17 + top width: 17 + bottom width: 18 + z index: -1 + ############################# Text + name: + left: 18 + top: 18 + height: 23 + width: 487 + alignment: bottom shrink-overflow + padding bottom: 0 + z index: 1 + font: + name: Matrix + size: 17 + weight: bold + color: {if styling.reverse_text_color then "black" else "white"} + shadow color: {if styling.reverse_text_color then "white" else "black"} + shadow displacement x: 2 + shadow displacement y: 2 + shadow blur: 2 + type: + left: 18 + top: 41 + height: 23 + width: 487 + alignment: bottom shrink-overflow + padding bottom: 0 + z index: 1 + font: + name: Matrix + size: 13 + weight: bold + color: {if styling.reverse_text_color then "black" else "white"} + shadow color: {if styling.reverse_text_color then "white" else "black"} + shadow displacement x: 2 + shadow displacement y: 2 + shadow blur: 2 + ############################# Image + image: + left: 17 + top: 17 + width: 489 + height: 340 + z index: 0 + ############################# Rules Text + rule text: + left: {if styling.textbox_left == "" then 0 else styling.textbox_left} + top : {if styling.textbox_top == "" then 0 else styling.textbox_top} + width: {if styling.textbox_width == "" then 0 else styling.textbox_width} + height: {if styling.textbox_height == "" then 0 else styling.textbox_height} + angle: {if styling.textbox_angle == "" then 0 else styling.textbox_angle} + font: + name: MPlantin + italic name: MPlantin-Italic + size: 14 + scale down to: 0 + color: {if styling.reverse_text_color then "black" else "white"} + shadow color: {if styling.reverse_text_color then "white" else "black"} + shadow displacement x: 2 + shadow displacement y: 2 + shadow blur: 2 + symbol font: + name: { styling.text_box_mana_symbols } + size: 14 + alignment: {styling.textbox_alignment} + z index: 2 + padding left: 4 + padding top: 2 + padding right: 4 + padding bottom: 2 + line height hard: 1.2 + line height line: 1.5 + ############################# Copyright stuff + copyright line: + left: 507 + #left: 359 + top: 345 + #top: 493 + width: 252 + #width: 400 + height: 10 + angle: 90 + z index: 2 + font: + name: Matrix + size: 8 + weight: bold + color: { artist_color() } +extra card field: + type: text + name: artist line + save value: false + script: forward_editor(prefix: "Illustrated by ", field: card.illustrator) + description: The artist of the card. +extra card style: + artist line: + left: 30 + top: 359 + #top : 507 + width: 365 + #width: 217 + height: 10 + z index: 2 + font: + name: Matrix + size: 8 + weight: bold + color: { artist_color() } diff --git a/planechase-fullart.mse-style/card-sample.png b/planechase-fullart.mse-style/card-sample.png new file mode 100644 index 0000000..36f763b Binary files /dev/null and b/planechase-fullart.mse-style/card-sample.png differ diff --git a/planechase-fullart.mse-style/style b/planechase-fullart.mse-style/style new file mode 100644 index 0000000..af3548a --- /dev/null +++ b/planechase-fullart.mse-style/style @@ -0,0 +1,219 @@ +mse version: 2.0.0 +game: planechase +full name: Full Art Style +short name: Full Art +installer group: Magic Planes/fullart style +icon: card-sample.png +position hint: 100 + +version: 2014-02-04 +depends on: + package: planechase.mse-game + version: 2009-08-10 +depends on: + package: magic-mana-small.mse-symbol-font + version: 2009-08-10 + +card width: 375 +card height: 523 +card dpi: 150 +#By Pichoro +############################################################## Extra scripts +init script: + artist_color := { + if to_int(card.border_color) < 96 then "white" else "black" + } + + # Use the normal tap symbol + mana_t := { + if styling.tap_symbol == "old" then "old" + else if styling.tap_symbol == "diagonal T" then "older" + else "new" + } + # Use guild mana symbols? + guild_mana := { styling.use_guild_mana_symbols } + +############################################################## Set info fields +############################################################## Extra style options +styling field: + type: boolean + name: reverse text color + description: Should text color be black with a white shadow? + initial: no +styling field: + type: text + name: textbox left + description: The top coordinate for the textbox. +styling field: + type: text + name: textbox top + description: The top coordinate for the textbox. +styling field: + type: text + name: textbox width + description: The top coordinate for the textbox. +styling field: + type: text + name: textbox height + description: The height coordinate for the textbox. +styling field: + type: text + name: textbox angle + description: The angle of the textbox. +styling field: + type: choice + name: textbox alignment + description: The alignment of the textbox. + choice: left top shrink-overflow + choice: center top shrink-overflow + choice: right top shrink-overflow + choice: left middle shrink-overflow + choice: center middle shrink-overflow + choice: right middle shrink-overflow + choice: left bottom shrink-overflow + choice: center bottom shrink-overflow + choice: right bottom shrink-overflow +styling field: + type: boolean + name: use guild mana symbols + description: Use the Ravnica guild symbols instead of the official half/half circles for hybrid mana. + initial: no +styling field: + type: package choice + name: text box mana symbols + match: magic-mana-*.mse-symbol-font + initial: magic-mana-small.mse-symbol-font +styling field: + type: choice + name: tap symbol + description: What tap and untap symbols should be used on cards? + initial: old + choice: modern + choice: old + choice: diagonal T +styling style: + use guild mana symbols: + choice images: + yes: /magic-mana-small.mse-symbol-font/mana_guild_rg.png + no: /magic-mana-small.mse-symbol-font/mana_rg.png + tap symbol: + render style: both + choice images: + modern: /magic-mana-small.mse-symbol-font/mana_t.png + old: /magic-mana-small.mse-symbol-font/mana_t_old.png + diagonal T: /magic-mana-small.mse-symbol-font/mana_t_older.png +############################################################## Card fields +card style: + ############################# Background stuff + border color: + left: 0 + top : 0 + width: 375 + height: 523 + radius: 18 + left width: 17 + right width: 17 + top width: 17 + bottom width: 18 + z index: -1 + ############################# Text + name: + left: 18 + top: 18 + height: 23 + width: 339 + alignment: bottom shrink-overflow + padding bottom: 0 + z index: 1 + font: + name: Matrix + size: 17 + weight: bold + color: {if styling.reverse_text_color then "black" else "white"} + shadow color: {if styling.reverse_text_color then "white" else "black"} + shadow displacement x: 2 + shadow displacement y: 2 + shadow blur: 2 + type: + left: 18 + top: 41 + height: 23 + width: 339 + alignment: bottom shrink-overflow + padding bottom: 0 + z index: 1 + font: + name: Matrix + size: 13 + weight: bold + color: {if styling.reverse_text_color then "black" else "white"} + shadow color: {if styling.reverse_text_color then "white" else "black"} + shadow displacement x: 2 + shadow displacement y: 2 + shadow blur: 2 + ############################# Image + image: + left: 17 + top: 17 + width: 341 + height: 488 + z index: 0 + ############################# Rules Text + rule text: + left: {if styling.textbox_left == "" then 0 else styling.textbox_left} + top : {if styling.textbox_top == "" then 0 else styling.textbox_top} + width: {if styling.textbox_width == "" then 0 else styling.textbox_width} + height: {if styling.textbox_height == "" then 0 else styling.textbox_height} + angle: {if styling.textbox_angle == "" then 0 else styling.textbox_angle} + font: + name: MPlantin + italic name: MPlantin-Italic + size: 14 + scale down to: 0 + color: {if styling.reverse_text_color then "black" else "white"} + shadow color: {if styling.reverse_text_color then "white" else "black"} + shadow displacement x: 2 + shadow displacement y: 2 + shadow blur: 2 + symbol font: + name: { styling.text_box_mana_symbols } + size: 14 + alignment: {styling.textbox_alignment} + z index: 2 + padding left: 4 + padding top: 2 + padding right: 4 + padding bottom: 2 + line height hard: 1.2 + line height line: 1.5 + ############################# Copyright stuff + copyright line: + left: 359 + top: 493 + width: 400 + height: 10 + angle: 90 + z index: 2 + font: + name: Matrix + size: 8 + weight: bold + color: { artist_color() } +extra card field: + type: text + name: artist line + save value: false + script: forward_editor(prefix: "Illustrated by ", field: card.illustrator) + description: The artist of the card. +extra card style: + artist line: + left: 30 + top : 507 + width: 217 + height: 10 + z index: 2 + font: + name: Matrix + size: 8 + weight: bold + color: { artist_color() } diff --git a/planechase-mainframe.mse-style/artist_arrow.png b/planechase-mainframe.mse-style/artist_arrow.png new file mode 100644 index 0000000..6c91374 Binary files /dev/null and b/planechase-mainframe.mse-style/artist_arrow.png differ diff --git a/planechase-mainframe.mse-style/card-sample.png b/planechase-mainframe.mse-style/card-sample.png new file mode 100644 index 0000000..c9030a2 Binary files /dev/null and b/planechase-mainframe.mse-style/card-sample.png differ diff --git a/planechase-mainframe.mse-style/card.png b/planechase-mainframe.mse-style/card.png new file mode 100644 index 0000000..2e98bf0 Binary files /dev/null and b/planechase-mainframe.mse-style/card.png differ diff --git a/planechase-mainframe.mse-style/image_mask.png b/planechase-mainframe.mse-style/image_mask.png new file mode 100644 index 0000000..5247836 Binary files /dev/null and b/planechase-mainframe.mse-style/image_mask.png differ diff --git a/planechase-mainframe.mse-style/image_mask_high.png b/planechase-mainframe.mse-style/image_mask_high.png new file mode 100644 index 0000000..e70c33b Binary files /dev/null and b/planechase-mainframe.mse-style/image_mask_high.png differ diff --git a/planechase-mainframe.mse-style/image_mask_low.png b/planechase-mainframe.mse-style/image_mask_low.png new file mode 100644 index 0000000..1ee3c6e Binary files /dev/null and b/planechase-mainframe.mse-style/image_mask_low.png differ diff --git a/planechase-mainframe.mse-style/image_mask_middle.png b/planechase-mainframe.mse-style/image_mask_middle.png new file mode 100644 index 0000000..112525c Binary files /dev/null and b/planechase-mainframe.mse-style/image_mask_middle.png differ diff --git a/planechase-mainframe.mse-style/image_mask_nom.png b/planechase-mainframe.mse-style/image_mask_nom.png new file mode 100644 index 0000000..7bebfb8 Binary files /dev/null and b/planechase-mainframe.mse-style/image_mask_nom.png differ diff --git a/planechase-mainframe.mse-style/style b/planechase-mainframe.mse-style/style new file mode 100644 index 0000000..7b1f3c5 --- /dev/null +++ b/planechase-mainframe.mse-style/style @@ -0,0 +1,304 @@ +mse version: 0.3.8 +game: planechase +short name: Planechase +full name: Mainframe Update +installer group: Magic Planes/normal style +icon: card-sample.png +position hint: 01 + +version: 2018-06-02 +depends on: + package: planechase.mse-game + version: 2009-08-11 +depends on: + package: magic-mana-small.mse-symbol-font + version: 2009-08-10 + +card width: 800 +card height: 559 +card dpi: 150 +#By Pichoro +#Images by Art_Freak +############################################################## Extra scripts +init script: + # Use the normal tap symbol + mana_t := { + if styling.tap_symbol == "old" then "old" + else if styling.tap_symbol == "diagonal T" then "older" + else "new" + } + # Use guild mana symbols? + guild_mana := { styling.use_guild_mana_symbols } + + is_nom := {card.supertype == "Phenomenon" } + card_shape := { "plane card" } +############################################################## Set info fields +set info style: + symbol: + variation: + name: invertedcommon + border radius: 0.10 + fill type: solid + fill color: rgb(255,255,255) + border color: rgb(0,0,0) +############################################################## Extra style options +styling field: + type: text + name: font size + description: Set the maximum font size. Default is 16. +styling field: + type: choice + name: chaos break + description: Places the break for the chaos ability. + choice: high + choice: middle + choice: low + initial: middle +styling field: + type: boolean + name: center set info + description: disables the copyright field and centers set and card information + initial: no +styling field: + type: boolean + name: use guild mana symbols + description: Use the Ravnica guild symbols instead of the official half/half circles for hybrid mana. + initial: no +styling field: + type: package choice + name: text box mana symbols + match: magic-mana-*.mse-symbol-font + initial: magic-mana-small.mse-symbol-font +styling field: + type: choice + name: tap symbol + description: What tap and untap symbols should be used on cards? + initial: old + choice: modern + choice: old + choice: diagonal T +styling field: + type: boolean + name: inverted common symbol + description: Should the common rarity symbol be inverted, like in Coldsnap? + initial: no +styling style: + use guild mana symbols: + choice images: + yes: /magic-mana-small.mse-symbol-font/mana_guild_rg.png + no: /magic-mana-small.mse-symbol-font/mana_rg.png + tap symbol: + render style: both + choice images: + modern: /magic-mana-small.mse-symbol-font/mana_t.png + old: /magic-mana-small.mse-symbol-font/mana_t_old.png + diagonal T: /magic-mana-small.mse-symbol-font/mana_t_older.png + inverted common symbol: + choice images: + no: { symbol_variation(symbol: set.symbol, variation: "common") } + yes: { symbol_variation(symbol: set.symbol, variation: "invertedcommon") } +############################################################## Card fields +card style: + ############################# Name line + name: + left: 129 + top: 29 + width: 542 + height: 34 + alignment: bottom center shrink-overflow + padding bottom: 0 + z index: 2 + font: + name: Beleren Bold + size: 19 + color: black + ############################# Image + image: + left: 24 + top: 22 + width: 753 + height: 513 + z index: 1 + mask: { if is_nom() then "image_mask_nom.png" else "image_mask_" + styling.chaos_break + ".png" } + ############################# Card type + type: + left: 176 + top: 362 + width: 450 + height: 34 + alignment: bottom center shrink-overflow + padding bottom: 0 + z index: 2 + font: + name: Beleren Bold + size: 14 + color: black + rarity: + right: 624 + top: 377 + width: 43 + height: 21 + z index: 2 + render style: image + alignment: middle right + choice images: + # Images based on the set symbol + common: + script: + if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") + else symbol_variation(symbol: set.symbol, variation: "common") + uncommon: script: symbol_variation(symbol: set.symbol, variation: "uncommon") + rare: script: symbol_variation(symbol: set.symbol, variation: "rare") + mythic rare: script: symbol_variation(symbol: set.symbol, variation: "mythic rare") + special: script: symbol_variation(symbol: set.symbol, variation: "special") + masterpiece: script: symbol_variation(symbol: set.masterpiece_symbol, variation: "mythic rare") + ############################# Text box + text: + left: 95 + width: 613 + top: 402 + height: { if is_nom() then 116 else if styling.chaos_break == "high" then 48 else if styling.chaos_break == "low" then 71 else 62 } + font: + name: MPlantin + italic name: MPlantin-Italic + size: { if styling.font_size != "" then styling.font_size else 16 } + scale down to: 1 + color: black + symbol font: + name: { styling.text_box_mana_symbols } + size: { if styling.font_size != "" then styling.font_size else 16 } + alignment: middle left + z index: 2 + line height hard: 1.15 + line height soft: 1.0 + chaos text: + left: 143 + width: { if is_nom() then 0 else 565 } + top: { if styling.chaos_break == "high" then 453 else if styling.chaos_break == "low" then 477 else 469 } + height: { if is_nom() then 0 else if styling.chaos_break == "high" then 65 else if styling.chaos_break == "low" then 42 else 47 } + font: + name: MPlantin + italic name: MPlantin-Italic + size: { if styling.font_size != "" then styling.font_size else 16 } + scale down to: 1 + color: black + symbol font: + name: { styling.text_box_mana_symbols } + size: { if styling.font_size != "" then styling.font_size else 16 } + alignment: middle left + z index: 2 + line height hard: 1.2 + ############################# Card sorting / numbering + ############################# Copyright stuff + illustrator: + right: 480 + top: 528 + width: 140 + height: 10 + z index: 2 + alignment: center + font: + name: Beleren Small Caps Bold + size: 7.25 + color: white + copyright: + right: 530 + top: 542 + width: { if styling.center_set_info then 0 else 150 } + height: { if styling.center_set_info then 0 else 10 } + z index: 2 + alignment: middle right shrink-overflow + font: + name: Matrix + size: 8 + color: white + weight: bold + visible: {not set.automatic_copyright} + set code: + left: { (if styling.center_set_info then 365 else 275) + card_style.card_number_m15.content_width } + top: 542 + width: 50 + height: 19 + z index: 1 + font: + name: Relay-Medium + size: 7 + color: white + weight: bold + card number m15: + left: { if styling.center_set_info then 360 else 270 } + top: 542 + width: 120 + height: 19 + z index: 1 + font: + name: Relay-Medium + size: 7 + color: white + weight: bold +############################################################## Extra card fields +extra card field: + type: choice + name: background + editable: false + save value: false + choice: frame +extra card field: + type: text + name: auto copyright + script: set.copyright + save value: false + editable: false + show statistics: false +extra card field: + type: choice + name: chaos symbol + editable: false + save value: false + choice: chaos +extra card field: + type: choice + name: artist arrow + save value: false + choice: white + editable: false +extra card style: + background: + left: 0 + top: 0 + width: 800 + height: 559 + z index: 0 + render style: image + choice images: + frame: card.png + chaos symbol: + left: 95 + top: { if styling.chaos_break == "high" then 468 else if styling.chaos_break == "low" then 483 else 477 } + width: { if is_nom() then 0 else 38 } + height: { if is_nom() then 0 else 33 } + z index: 2 + render style: image + choice images: + chaos: /magic-mana-small.mse-symbol-font/mana_chaos.png + artist arrow: + left: { 395 - card_style.illustrator.content_width * 0.5 } + top: 531 + width: 12 + height: 7 + z index: 6 + render style: image + image: artist_arrow.png + auto copyright: + right: 530 + top: 542 + width: { if styling.center_set_info then 0 else 150 } + height: { if styling.center_set_info then 0 else 10 } + z index: 2 + alignment: middle right shrink-overflow + font: + name: Matrix + size: 8 + color: white + weight: bold + visible: {set.automatic_copyright} diff --git a/planechase-mainframe.mse-style/textbox_mask.png b/planechase-mainframe.mse-style/textbox_mask.png new file mode 100644 index 0000000..1d867a9 Binary files /dev/null and b/planechase-mainframe.mse-style/textbox_mask.png differ diff --git a/planechase-mini.mse-style/artist_arrow.png b/planechase-mini.mse-style/artist_arrow.png new file mode 100644 index 0000000..6c91374 Binary files /dev/null and b/planechase-mini.mse-style/artist_arrow.png differ diff --git a/planechase-mini.mse-style/card-sample.png b/planechase-mini.mse-style/card-sample.png new file mode 100644 index 0000000..c9030a2 Binary files /dev/null and b/planechase-mini.mse-style/card-sample.png differ diff --git a/planechase-mini.mse-style/card.png b/planechase-mini.mse-style/card.png new file mode 100644 index 0000000..2e98bf0 Binary files /dev/null and b/planechase-mini.mse-style/card.png differ diff --git a/planechase-mini.mse-style/image_mask.png b/planechase-mini.mse-style/image_mask.png new file mode 100644 index 0000000..5247836 Binary files /dev/null and b/planechase-mini.mse-style/image_mask.png differ diff --git a/planechase-mini.mse-style/image_mask_high.png b/planechase-mini.mse-style/image_mask_high.png new file mode 100644 index 0000000..e70c33b Binary files /dev/null and b/planechase-mini.mse-style/image_mask_high.png differ diff --git a/planechase-mini.mse-style/image_mask_low.png b/planechase-mini.mse-style/image_mask_low.png new file mode 100644 index 0000000..1ee3c6e Binary files /dev/null and b/planechase-mini.mse-style/image_mask_low.png differ diff --git a/planechase-mini.mse-style/image_mask_middle.png b/planechase-mini.mse-style/image_mask_middle.png new file mode 100644 index 0000000..112525c Binary files /dev/null and b/planechase-mini.mse-style/image_mask_middle.png differ diff --git a/planechase-mini.mse-style/image_mask_nom.png b/planechase-mini.mse-style/image_mask_nom.png new file mode 100644 index 0000000..7bebfb8 Binary files /dev/null and b/planechase-mini.mse-style/image_mask_nom.png differ diff --git a/planechase-mini.mse-style/style b/planechase-mini.mse-style/style new file mode 100644 index 0000000..65ea046 --- /dev/null +++ b/planechase-mini.mse-style/style @@ -0,0 +1,304 @@ +mse version: 0.3.8 +game: planechase +short name: Planechase +full name: Mini Cards +installer group: Magic Planes/normal style +icon: card-sample.png +position hint: 02 + +version: 2018-06-02 +depends on: + package: planechase.mse-game + version: 2009-08-11 +depends on: + package: magic-mana-small.mse-symbol-font + version: 2009-08-10 + +card width: 523 +card height: 375 +card dpi: 150 +#By Pichoro +#Images by Art_Freak +############################################################## Extra scripts +init script: + # Use the normal tap symbol + mana_t := { + if styling.tap_symbol == "old" then "old" + else if styling.tap_symbol == "diagonal T" then "older" + else "new" + } + # Use guild mana symbols? + guild_mana := { styling.use_guild_mana_symbols } + + is_nom := {card.supertype == "Phenomenon" } + card_shape := { "plane card" } +############################################################## Set info fields +set info style: + symbol: + variation: + name: invertedcommon + border radius: 0.10 + fill type: solid + fill color: rgb(255,255,255) + border color: rgb(0,0,0) +############################################################## Extra style options +styling field: + type: text + name: font size + description: Set the maximum font size. Default is 16. +styling field: + type: choice + name: chaos break + description: Places the break for the chaos ability. + choice: high + choice: middle + choice: low + initial: middle +styling field: + type: boolean + name: center set info + description: disables the copyright field and centers set and card information + initial: no +styling field: + type: boolean + name: use guild mana symbols + description: Use the Ravnica guild symbols instead of the official half/half circles for hybrid mana. + initial: no +styling field: + type: package choice + name: text box mana symbols + match: magic-mana-*.mse-symbol-font + initial: magic-mana-small.mse-symbol-font +styling field: + type: choice + name: tap symbol + description: What tap and untap symbols should be used on cards? + initial: old + choice: modern + choice: old + choice: diagonal T +styling field: + type: boolean + name: inverted common symbol + description: Should the common rarity symbol be inverted, like in Coldsnap? + initial: no +styling style: + use guild mana symbols: + choice images: + yes: /magic-mana-small.mse-symbol-font/mana_guild_rg.png + no: /magic-mana-small.mse-symbol-font/mana_rg.png + tap symbol: + render style: both + choice images: + modern: /magic-mana-small.mse-symbol-font/mana_t.png + old: /magic-mana-small.mse-symbol-font/mana_t_old.png + diagonal T: /magic-mana-small.mse-symbol-font/mana_t_older.png + inverted common symbol: + choice images: + no: { symbol_variation(symbol: set.symbol, variation: "common") } + yes: { symbol_variation(symbol: set.symbol, variation: "invertedcommon") } +############################################################## Card fields +card style: + ############################# Name line + name: + left: 84 + top: 20 + width: 354 + height: 23 + alignment: bottom center shrink-overflow + padding bottom: 0 + z index: 2 + font: + name: Beleren Bold + size: 13 + color: black + ############################# Image + image: + left: 16 + top: 15 + width: 492.5 + height: 344 + z index: 1 + mask: { if is_nom() then "image_mask_nom.png" else "image_mask_" + styling.chaos_break + ".png" } + ############################# Card type + type: + left: 114 + top: 243 + width: 294 + height: 23 + alignment: bottom center shrink-overflow + padding bottom: 0 + z index: 2 + font: + name: Beleren Bold + size: 10 + color: black + rarity: + right: 408 + top: 253 + width: 28 + height: 14 + z index: 2 + render style: image + alignment: middle right + choice images: + # Images based on the set symbol + common: + script: + if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") + else symbol_variation(symbol: set.symbol, variation: "common") + uncommon: script: symbol_variation(symbol: set.symbol, variation: "uncommon") + rare: script: symbol_variation(symbol: set.symbol, variation: "rare") + mythic rare: script: symbol_variation(symbol: set.symbol, variation: "mythic rare") + special: script: symbol_variation(symbol: set.symbol, variation: "special") + masterpiece: script: symbol_variation(symbol: set.masterpiece_symbol, variation: "mythic rare") + ############################# Text box + text: + left: 62 + width: 411 + top: 268 + height: { if is_nom() then 78 else if styling.chaos_break == "high" then 32 else if styling.chaos_break == "low" then 48 else 42 } + font: + name: MPlantin + italic name: MPlantin-Italic + size: { if styling.font_size != "" then styling.font_size else 10 } + scale down to: 1 + color: black + symbol font: + name: { styling.text_box_mana_symbols } + size: { if styling.font_size != "" then styling.font_size else 10 } + alignment: middle left + z index: 2 + line height hard: 1.15 + line height soft: 1.0 + chaos text: + left: 94 + width: { if is_nom() then 0 else 369.5 } + top: { if styling.chaos_break == "high" then 304 else if styling.chaos_break == "low" then 319 else 314 } + height: { if is_nom() then 0 else if styling.chaos_break == "high" then 44 else if styling.chaos_break == "low" then 28 else 31.5 } + font: + name: MPlantin + italic name: MPlantin-Italic + size: { if styling.font_size != "" then styling.font_size else 10 } + scale down to: 1 + color: black + symbol font: + name: { styling.text_box_mana_symbols } + size: { if styling.font_size != "" then styling.font_size else 10 } + alignment: middle left + z index: 2 + line height hard: 1.2 + ############################# Card sorting / numbering + ############################# Copyright stuff + illustrator: + right: 314 + top: 354 + width: 92 + height: 7 + z index: 2 + alignment: center + font: + name: Beleren Small Caps Bold + size: 6 + color: white + copyright: + right: 385 + top: 364 + width: { if styling.center_set_info then 0 else 130 } + height: { if styling.center_set_info then 0 else 7 } + z index: 2 + alignment: middle right shrink-overflow + font: + name: Matrix + size: 7 + color: white + weight: bold + visible: {not set.automatic_copyright} + set code: + left: { (if styling.center_set_info then 225 else 165) + card_style.card_number_m15.content_width } + top: 362 + width: 34 + height: 12 + z index: 1 + font: + name: Relay-Medium + size: 6.25 + color: white + weight: bold + card number m15: + left: { if styling.center_set_info then 222 else 161 } + top: 362 + width: 81 + height: 12 + z index: 1 + font: + name: Relay-Medium + size: 6.25 + color: white + weight: bold +############################################################## Extra card fields +extra card field: + type: choice + name: background + editable: false + save value: false + choice: frame +extra card field: + type: text + name: auto copyright + script: set.copyright + save value: false + editable: false + show statistics: false +extra card field: + type: choice + name: chaos symbol + editable: false + save value: false + choice: chaos +extra card field: + type: choice + name: artist arrow + save value: false + choice: white + editable: false +extra card style: + background: + left: 0 + top: 0 + width: 523 + height: 375 + z index: 0 + render style: image + choice images: + frame: card.png + chaos symbol: + left: 62 + top: { if styling.chaos_break == "high" then 314 else if styling.chaos_break == "low" then 324 else 320 } + width: { if is_nom() then 0 else 25 } + height: { if is_nom() then 0 else 22 } + z index: 2 + render style: image + choice images: + chaos: /magic-mana-small.mse-symbol-font/mana_chaos.png + artist arrow: + left: { 256 - card_style.illustrator.content_width * 0.5 } + top: 356 + width: 10 + height: 6 + z index: 6 + render style: image + image: artist_arrow.png + auto copyright: + right: 385 + top: 364 + width: { if styling.center_set_info then 0 else 130 } + height: { if styling.center_set_info then 0 else 7 } + z index: 2 + alignment: middle right shrink-overflow + font: + name: Matrix + size: 7 + color: white + weight: bold + visible: {set.automatic_copyright} diff --git a/planechase-mini.mse-style/textbox_mask.png b/planechase-mini.mse-style/textbox_mask.png new file mode 100644 index 0000000..1d867a9 Binary files /dev/null and b/planechase-mini.mse-style/textbox_mask.png differ diff --git a/planechase-mws.mse-export-template/export-template b/planechase-mws.mse-export-template/export-template new file mode 100644 index 0000000..e187c8b --- /dev/null +++ b/planechase-mws.mse-export-template/export-template @@ -0,0 +1,215 @@ +mse version: 0.3.8 +short name: MWS +full name: Plugin Exporter +position hint: 001 +icon: icon.png +version: 2010-05-11 +#Remember to update version at bottom of file. +installer group: Magic Planes/Export/mws + +depends on: + package: planechase.mse-game + version: 2009-08-11 + +game: planechase +create directory: true +file type: *.txt|*.txt|*.*|*.* + +# By Pichoro +# Based on code by Idle Muse, Innuendo and Seeonee + +option field: + type: choice + name: image type + choice: full + choice: crop + description: Should the images exported be full card renders or art crops? +option field: + type: text + name: date created + description: The date this spoiler was first created. +option field: + type: text + name: date modified + description: The date this spoiler was last modified. +option field: + type: boolean + name: export images + description: Should images be exported? + initial: yes +script: + mws_name := replace@(match:"‘", replace:"'")+ + replace@(match:"’", replace:"'")+ + replace@(match:"“", replace:"\"")+ + replace@(match:"”", replace:"\"") + mws_type := replace@(match:"—", replace:"-") + mws_rules := + # Longdashes should be short. + replace@(match:"—", replace:"-")+ + # Linebreaks should be double spaces. + replace@(match:"\n", replace:" ")+ + # No curly quotes or apostrophes. + replace@(match:"‘", replace:"'")+ + replace@(match:"’", replace:"'")+ + replace@(match:"“", replace:"\"")+ + replace@(match:"”", replace:"\"")+ + # Pound signs around parenthesis. + replace@(match:"[(]", replace:"#(")+ + replace@(match:"[)]", replace:")#")+ + # Just automatically symbolize all hybrids. + replace@(match:"2/W", replace:"%E")+ + replace@(match:"2/U", replace:"%F")+ + replace@(match:"2/B", replace:"%H")+ + replace@(match:"2/R", replace:"%J")+ + replace@(match:"2/G", replace:"%M")+ + replace@(match:"W/U", replace:"%D")+ + replace@(match:"W/B", replace:"%O")+ + replace@(match:"U/B", replace:"%V")+ + replace@(match:"U/R", replace:"%I")+ + replace@(match:"B/R", replace:"%K")+ + replace@(match:"B/G", replace:"%Q")+ + replace@(match:"R/G", replace:"%L")+ + replace@(match:"R/W", replace:"%P")+ + replace@(match:"G/W", replace:"%A")+ + replace@(match:"G/U", replace:"%S")+ + # Various positions for taps and untaps. + replace@(match:" T ", replace:" %T ")+ + replace@(match:" Q ", replace:" %C ")+ + replace@(match:"T,", replace:"%T,")+ + replace@(match:"Q,", replace:"%C,")+ + replace@(match:"T:", replace:"%T:")+ + replace@(match:"Q:", replace:"%C:")+ + # Mana right before a space. + replace@(match:"G ", replace:"%G ")+ + replace@(match:"R ", replace:"%R ")+ + replace@(match:"B ", replace:"%B ")+ + replace@(match:"U ", replace:"%U ")+ + replace@(match:"W ", replace:"%W ")+ + replace@(match:"S ", replace:"%N ")+ + # Mana right before a comma. + replace@(match:"G,", replace:"%G,")+ + replace@(match:"R,", replace:"%R,")+ + replace@(match:"B,", replace:"%B,")+ + replace@(match:"U,", replace:"%U,")+ + replace@(match:"W,", replace:"%W,")+ + replace@(match:"S,", replace:"%N,")+ + # Mana right before a colon. + replace@(match:"G:", replace:"%G:")+ + replace@(match:"R:", replace:"%R:")+ + replace@(match:"B:", replace:"%B:")+ + replace@(match:"U:", replace:"%U:")+ + replace@(match:"W:", replace:"%W:")+ + replace@(match:"S:", replace:"%N:")+ + replace@(match:"Y:", replace:"%Y:")+ + replace@(match:"X:", replace:"%X:")+ + # Drag rules text to search for more mana characters. Reverse color wheel order works better. Repeat several times. + replace@(match:"G%", replace:"%G%")+ + replace@(match:"R%", replace:"%R%")+ + replace@(match:"B%", replace:"%B%")+ + replace@(match:"U%", replace:"%U%")+ + replace@(match:"W%", replace:"%W%")+ + replace@(match:"G%", replace:"%G%")+ + replace@(match:"R%", replace:"%R%")+ + replace@(match:"B%", replace:"%B%")+ + replace@(match:"U%", replace:"%U%")+ + replace@(match:"W%", replace:"%W%")+ + replace@(match:"G%", replace:"%G%")+ + replace@(match:"R%", replace:"%R%")+ + replace@(match:"B%", replace:"%B%")+ + replace@(match:"U%", replace:"%U%")+ + replace@(match:"W%", replace:"%W%")+ + # Symbolize snow. + replace@(match:"S%", replace:"%N%")+ + replace@(match:"S%", replace:"%N%")+ + replace@(match:"S%", replace:"%N%")+ + # Symbolize numbers from 10-0 that are before other symbols. + replace@(match:"10%", replace:"%10%")+ + replace@(match:"9%", replace:"%9%")+ + replace@(match:"8%", replace:"%8%")+ + replace@(match:"7%", replace:"%7%")+ + replace@(match:"6%", replace:"%6%")+ + replace@(match:"5%", replace:"%5%")+ + replace@(match:"4%", replace:"%4%")+ + replace@(match:"3%", replace:"%3%")+ + replace@(match:"2%", replace:"%2%")+ + replace@(match:"1%", replace:"%1%")+ + replace@(match:"0%", replace:"%0%")+ + # Symbolize numbers from 10-0 that are before colons. + replace@(match:"10:", replace:"%10:")+ + replace@(match:"9:", replace:"%9:")+ + replace@(match:"8:", replace:"%8:")+ + replace@(match:"7:", replace:"%7:")+ + replace@(match:"6:", replace:"%6:")+ + replace@(match:"5:", replace:"%5:")+ + replace@(match:"4:", replace:"%4:")+ + replace@(match:"3:", replace:"%3:")+ + replace@(match:"2:", replace:"%2:")+ + replace@(match:"1:", replace:"%1:")+ + replace@(match:"0:", replace:"%0:")+ + # Symbolize numbers from 10-0 that are before commas. + replace@(match:"10,", replace:"%10,")+ + replace@(match:"9,", replace:"%9,")+ + replace@(match:"8,", replace:"%8,")+ + replace@(match:"7,", replace:"%7,")+ + replace@(match:"6,", replace:"%6,")+ + replace@(match:"5,", replace:"%5,")+ + replace@(match:"4,", replace:"%4,")+ + replace@(match:"3,", replace:"%3,")+ + replace@(match:"2,", replace:"%2,")+ + replace@(match:"1,", replace:"%1,")+ + replace@(match:"0,", replace:"%0,")+ + # Symbolize X and Y that are before other symbols. + replace@(match:"Y%", replace:"%Y%")+ + replace@(match:"X%", replace:"%X%")+ + # Symbolize X and Y that are before colons. + replace@(match:"Y:", replace:"%Y:")+ + replace@(match:"X:", replace:"%X:")+ + # Symbolize X and Y that are before commas. + replace@(match:"Y,", replace:"%Y,")+ + replace@(match:"X,", replace:"%X,")+ + # Get rid of extra symbolizations. + replace@(match:"%%%", replace:"%")+ + replace@(match:"%%", replace:"%") + mws_flavor := replace@(match:"—", replace:"-")+ + replace@(match:"‘", replace:"'")+ + replace@(match:"’", replace:"'")+ + replace@(match:"“", replace:"\"")+ + replace@(match:"”", replace:"\"")+ + replace@(match:"\n", replace:" ") + mws_artist := replace@(match:"Illus. ", replace:"")+ + replace@(match:"‘", replace:"'")+ + replace@(match:"’", replace:"'")+ + replace@(match:"“", replace:"\"")+ + replace@(match:"”", replace:"\"") + write_card := {"\nCard Name: "+mws_name(card.name) + +"\nCard Color: Art" + +"\nMana Cost: " + +"\nType & Class: "+mws_type(card.type) + +"\nPow/Tou: " + +"\nCard Text: "+mws_rules(remove_tags(card.rule_text)) + +"\nFlavor Text: "+mws_flavor(card.flavor_text) + +"\nArtist: "+mws_artist(card.illustrator) + +"\nRarity: C" + +"\nCard #: "+card.card_number + +"\n" + } + write_cards := to_text(for each card in sort_list(set, order_by: {card.card_number}) do write_card()) + write_images := if options.export_images then (for each card in cards do write_image_file((if options.image_type =="full" then card else card.image), file:"{card.name}{if options.image_type == "full" then ".full" else ""}.jpg")) + to_string(set.title+" Spoiler List\n" + +set.description+"\n" + +"Spoiler List created on "+options.date_created+"\n" + +"Last Updated on: "+options.date_modified + +"\n\nSpoiler generated by Magic Set Editor 2 Beta 0.3.8 Using the MWS Export Template version 2010-05-11" + +"\nExport Template by Pichoro" + +"\nThe only person who assumes any liability for damages from the use of this file is the user." + +"\n\nDirections for use:" + +"\nOpen MWS." + +"\nGo to Tools menu->Analyze/Add/Remove Sets." + +"\n'Add New Edition'." + +"\nEnter set name and key." + +"\nCheck 'get data from text spoiler' and browse to whatever location you stored this file at.\n" + +"Hit 'Next Page', then 'Add Edition'." + +"\nThen, after that closes, hit the 'Save Current Base/Deck' button at the top of your screen." + +"\nRestart Magic Workstation, and enjoy the cards." + +"\n\nWhen using the images, you must rename the folder to the set key you entered into MWS when importing this text file!\n" + +write_cards) diff --git a/planechase-mws.mse-export-template/icon.png b/planechase-mws.mse-export-template/icon.png new file mode 100644 index 0000000..dbdc7cd Binary files /dev/null and b/planechase-mws.mse-export-template/icon.png differ diff --git a/planechase-phenomenon.mse-style/card-sample.png b/planechase-phenomenon.mse-style/card-sample.png new file mode 100644 index 0000000..7c5fbda Binary files /dev/null and b/planechase-phenomenon.mse-style/card-sample.png differ diff --git a/planechase-phenomenon.mse-style/card.png b/planechase-phenomenon.mse-style/card.png new file mode 100644 index 0000000..63f87d3 Binary files /dev/null and b/planechase-phenomenon.mse-style/card.png differ diff --git a/planechase-phenomenon.mse-style/card2.png b/planechase-phenomenon.mse-style/card2.png new file mode 100644 index 0000000..2239004 Binary files /dev/null and b/planechase-phenomenon.mse-style/card2.png differ diff --git a/planechase-phenomenon.mse-style/image_mask.png b/planechase-phenomenon.mse-style/image_mask.png new file mode 100644 index 0000000..3390603 Binary files /dev/null and b/planechase-phenomenon.mse-style/image_mask.png differ diff --git a/planechase-phenomenon.mse-style/style b/planechase-phenomenon.mse-style/style new file mode 100644 index 0000000..6821a6e --- /dev/null +++ b/planechase-phenomenon.mse-style/style @@ -0,0 +1,220 @@ +mse version: 2.0.0 +game: planechase +short name: Phenomenons +installer group: Magic Planes/phenomenon style +icon: card-sample.png +position hint: 02 + +version: 2014-01-21 +depends on: + package: planechase.mse-game + version: 2009-08-11 +depends on: + package: magic-mana-small.mse-symbol-font + version: 2009-08-10 +depends on: + package: magic-future-common.mse-include + version: 2007-09-23 + +card width: 800 +card height: 559 +card dpi: 150 +#By Pichoro +#Images by Art_Freak +############################################################## Extra scripts +init script: + # Use the normal tap symbol + mana_t := { + if styling.tap_symbol == "old" then "old" + else if styling.tap_symbol == "diagonal T" then "older" + else "new" + } + # Use guild mana symbols? + guild_mana := { styling.use_guild_mana_symbols } + +############################################################## Set info fields +set info style: + symbol: + variation: + name: invertedcommon + border radius: 0.10 + fill type: solid + fill color: rgb(255,255,255) + border color: rgb(0,0,0) +############################################################## Extra style options +styling field: + type: boolean + name: use guild mana symbols + description: Use the Ravnica guild symbols instead of the official half/half circles for hybrid mana. + initial: no +styling field: + type: package choice + name: text box mana symbols + match: magic-mana-*.mse-symbol-font + initial: magic-mana-small.mse-symbol-font +styling field: + type: choice + name: tap symbol + description: What tap and untap symbols should be used on cards? + initial: old + choice: modern + choice: old + choice: diagonal T +styling field: + type: boolean + name: inverted common symbol + description: Should the common rarity symbol be inverted, like in Coldsnap? + initial: no +styling style: + use guild mana symbols: + choice images: + yes: /magic-mana-small.mse-symbol-font/mana_guild_rg.png + no: /magic-mana-small.mse-symbol-font/mana_rg.png + tap symbol: + render style: both + choice images: + modern: /magic-mana-small.mse-symbol-font/mana_t.png + old: /magic-mana-small.mse-symbol-font/mana_t_old.png + diagonal T: /magic-mana-small.mse-symbol-font/mana_t_older.png + inverted common symbol: + choice images: + no: { symbol_variation(symbol: set.symbol, variation: "common") } + yes: { symbol_variation(symbol: set.symbol, variation: "invertedcommon") } +############################################################## Card fields +card style: + ############################# Name line + name: + left: 128 + top: 30 + width: 541 + height: 34 + alignment: bottom center shrink-overflow + padding bottom: 0 + z index: 2 + font: + name: Matrix + size: 26 + weight: bold + color: black + ############################# Image + image: + left: 24 + top: 22 + width: 753 + height: 511 + z index: 1 + mask: image_mask.png + ############################# Card type + type: + left: 174 + top: 362 + width: 450 + height: 34 + alignment: bottom center shrink-overflow + padding bottom: 0 + z index: 2 + font: + name: Matrix + size: 20 + color: black + rarity: + right: 624 + top: 377 + width: 43 + height: 21 + z index: 2 + render style: image + alignment: middle right + choice images: + # Images based on the set symbol + common: + script: + if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") + else symbol_variation(symbol: set.symbol, variation: "common") + uncommon: script: symbol_variation(symbol: set.symbol, variation: "uncommon") + rare: script: symbol_variation(symbol: set.symbol, variation: "rare") + mythic rare: script: symbol_variation(symbol: set.symbol, variation: "mythic rare") + special: script: symbol_variation(symbol: set.symbol, variation: "special") + ############################# Text box + ############################# Card sorting / numbering + ############################# Copyright stuff + illustrator: + left: 257 + top: 523 + width: 327 + height: 19 + z index: 2 + alignment: middle center + font: + name: Matrix + size: 12 + weight: bold + color: white + copyright line: + left: 236 + top: 538 + width: 327 + height: 19 + z index: 2 + alignment: middle center + font: + name: MPlantin + size: 9 + color: white +############################################################## Extra card fields +extra card field: + type: choice + name: background + editable: false + save value: false + choice: frame +extra card field: + type: choice + name: paintbrush + save value: false + choice: white + editable: false +extra card field: + type: text + name: text + multi line: true + save value: false + script: + combined_editor(field1: card.rule_text, separator: "\n", field2: card.flavor_text) + description: The rules and flavor text for the card; use up and down arrows to switch +extra card style: + background: + left: 0 + top: 0 + width: 800 + height: 559 + z index: 0 + render style: image + choice images: + frame: card.png + paintbrush: + left: { 375 - card_style.illustrator.content_width * 0.5 } + top: 525 + width: 46 + height: 18 + z index: 6 + render style: image + choice images: + white: /magic-future-common.mse-include/paintbrush_white.png + text: + left: 93 + width: 615 + top: 402 + height: 116 + font: + name: MPlantin + italic name: MPlantin-Italic + size: 16 + scale down to: 1 + color: black + symbol font: + name: { styling.text_box_mana_symbols } + size: 16 + alignment: middle left + z index: 2 + line height hard: 1.1 diff --git a/planechase-standard-divided.mse-style/card-sample.png b/planechase-standard-divided.mse-style/card-sample.png new file mode 100644 index 0000000..7c5fbda Binary files /dev/null and b/planechase-standard-divided.mse-style/card-sample.png differ diff --git a/planechase-standard-divided.mse-style/style b/planechase-standard-divided.mse-style/style new file mode 100644 index 0000000..907376e --- /dev/null +++ b/planechase-standard-divided.mse-style/style @@ -0,0 +1,268 @@ +mse version: 2.0.0 +game: planechase +short name: Standard +full name: with Divided Textbox +installer group: Magic Planes/normal style/divided +icon: card-sample.png +position hint: 03 + +version: 2014-01-21 +depends on: + package: planechase.mse-game + version: 2009-08-11 +depends on: + package: planechase-standard.mse-style + version: 2009-08-11 +depends on: + package: planechase-standard-gradiented.mse-style + version: 2014-01-21 +depends on: + package: magic-mana-small.mse-symbol-font + version: 2009-08-10 +depends on: + package: magic-future-common.mse-include + version: 2007-09-23 + +card width: 800 +card height: 559 +card dpi: 150 +#By Pichoro +############################################################## Extra scripts +init script: + # Use the normal tap symbol + mana_t := { + if styling.tap_symbol == "old" then "old" + else if styling.tap_symbol == "diagonal T" then "older" + else "new" + } + # Use guild mana symbols? + guild_mana := { styling.use_guild_mana_symbols } + +############################################################## Set info fields +set info style: + symbol: + variation: + name: invertedcommon + border radius: 0.10 + fill type: solid + fill color: rgb(255,255,255) + border color: rgb(0,0,0) +############################################################## Extra style options +styling field: + type: text + name: divide location + description: The the height in pixels of the rules text box. The chaos effect will resize accordingly. The default is 63. +styling field: + type: boolean + name: gradiented textbox + description: Should the textbox be gradiented? + initial: no +styling field: + type: boolean + name: use guild mana symbols + description: Use the Ravnica guild symbols instead of the official half/half circles for hybrid mana. + initial: no +styling field: + type: package choice + name: text box mana symbols + match: magic-mana-*.mse-symbol-font + initial: magic-mana-small.mse-symbol-font +styling field: + type: choice + name: tap symbol + description: What tap and untap symbols should be used on cards? + initial: old + choice: modern + choice: old + choice: diagonal T +styling field: + type: boolean + name: inverted common symbol + description: Should the common rarity symbol be inverted, like in Coldsnap? + initial: no +styling style: + use guild mana symbols: + choice images: + yes: /magic-mana-small.mse-symbol-font/mana_guild_rg.png + no: /magic-mana-small.mse-symbol-font/mana_rg.png + tap symbol: + render style: both + choice images: + modern: /magic-mana-small.mse-symbol-font/mana_t.png + old: /magic-mana-small.mse-symbol-font/mana_t_old.png + diagonal T: /magic-mana-small.mse-symbol-font/mana_t_older.png + inverted common symbol: + choice images: + no: { symbol_variation(symbol: set.symbol, variation: "common") } + yes: { symbol_variation(symbol: set.symbol, variation: "invertedcommon") } +############################################################## Card fields +card style: + ############################# Name line + name: + left: 128 + top: 30 + width: 541 + height: 34 + alignment: bottom center shrink-overflow + padding bottom: 0 + z index: 2 + font: + name: Matrix + size: 26 + weight: bold + color: black + ############################# Image + image: + left: 24 + top: 22 + width: 753 + height: 511 + z index: 1 + mask: { "/planechase-standard" + (if styling.gradiented_textbox then "-gradiented" else "") + ".mse-style/image_mask.png" } + ############################# Card type + type: + left: 174 + top: 362 + width: 450 + height: 34 + alignment: bottom center shrink-overflow + padding bottom: 0 + z index: 2 + font: + name: Matrix + size: 20 + color: black + rarity: + right: 624 + top: 377 + width: 43 + height: 21 + z index: 2 + render style: image + alignment: middle right + choice images: + # Images based on the set symbol + common: + script: + if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") + else symbol_variation(symbol: set.symbol, variation: "common") + uncommon: script: symbol_variation(symbol: set.symbol, variation: "uncommon") + rare: script: symbol_variation(symbol: set.symbol, variation: "rare") + mythic rare: script: symbol_variation(symbol: set.symbol, variation: "mythic rare") + special: script: symbol_variation(symbol: set.symbol, variation: "special") + ############################# Text box + rule text: + left: 93 + width: 615 + top: 402 + height: {if styling.divide_location == "" then 63 else (to_number(styling.divide_location) or else 63)} + font: + name: MPlantin + italic name: MPlantin-Italic + size: 10.5 + scale down to: 0.5 + color: black + symbol font: + name: { styling.text_box_mana_symbols } + size: 10.5 + alignment: middle left + z index: 2 + line height hard: 1.1 + flavor text: + left: 93 + width: 601 + top: {if styling.divide_location == "" then 467 else (404 + to_number(styling.divide_location) or else 63)} + height: {if styling.divide_location == "" then 52 else (113 - to_number(styling.divide_location) or else 52)} + font: + name: MPlantin + italic name: MPlantin-Italic + size: 10.5 + scale down to: 0.5 + color: black + symbol font: + name: { styling.text_box_mana_symbols } + size: 10.5 + alignment: middle left + z index: 2 + line height hard: 1.1 + mask: textbox_mask.png + ############################# Card sorting / numbering + ############################# Copyright stuff + illustrator: + left: 257 + top: 523 + width: 327 + height: 19 + z index: 2 + alignment: middle center + font: + name: Matrix + size: 12 + weight: bold + color: white + copyright line: + left: 236 + top: 538 + width: 327 + height: 19 + z index: 2 + alignment: middle center + font: + name: MPlantin + size: 9 + color: white +############################################################## Extra card fields +extra card field: + type: choice + name: background + editable: false + save value: false + choice: frame +extra card field: + type: choice + name: chaos symbol + editable: false + save value: false + choice: chaos +extra card field: + type: choice + name: paintbrush + save value: false + choice: white + editable: false +extra card field: + type: text + name: text + multi line: true + save value: false + script: + combined_editor(field1: card.rule_text, separator: "\n", field2: card.flavor_text) + description: The rules and flavor text for the card; use up and down arrows to switch +extra card style: + background: + left: 0 + top: 0 + width: 800 + height: 559 + z index: 0 + render style: image + choice images: + frame: { "/planechase-standard" + (if styling.gradiented_textbox then "-gradiented" else "") + ".mse-style/card.png" } + chaos symbol: + left: 95 + top: {if styling.divide_location == "" then 474 else ((404 + to_number(styling.divide_location) or else 63) + (((113 - to_number(styling.divide_location) or else 52)/2) - 16))} + width: 38 + height: 33 + z index: 2 + render style: image + choice images: + chaos: /magic-mana-small.mse-symbol-font/mana_chaos.png + paintbrush: + left: { 375 - card_style.illustrator.content_width * 0.5 } + top: 525 + width: 46 + height: 18 + z index: 6 + render style: image + choice images: + white: /magic-future-common.mse-include/paintbrush_white.png diff --git a/planechase-standard-divided.mse-style/textbox_mask.png b/planechase-standard-divided.mse-style/textbox_mask.png new file mode 100644 index 0000000..6b9f145 Binary files /dev/null and b/planechase-standard-divided.mse-style/textbox_mask.png differ diff --git a/planechase-standard-gradiented.mse-style/card-sample.png b/planechase-standard-gradiented.mse-style/card-sample.png new file mode 100644 index 0000000..7c5fbda Binary files /dev/null and b/planechase-standard-gradiented.mse-style/card-sample.png differ diff --git a/planechase-standard-gradiented.mse-style/card.png b/planechase-standard-gradiented.mse-style/card.png new file mode 100644 index 0000000..2239004 Binary files /dev/null and b/planechase-standard-gradiented.mse-style/card.png differ diff --git a/planechase-standard-gradiented.mse-style/image_mask.png b/planechase-standard-gradiented.mse-style/image_mask.png new file mode 100644 index 0000000..23425d2 Binary files /dev/null and b/planechase-standard-gradiented.mse-style/image_mask.png differ diff --git a/planechase-standard-gradiented.mse-style/style b/planechase-standard-gradiented.mse-style/style new file mode 100644 index 0000000..1157fad --- /dev/null +++ b/planechase-standard-gradiented.mse-style/style @@ -0,0 +1,236 @@ +mse version: 2.0.0 +game: planechase +short name: Gradiented +installer group: Magic Planes/normal style/gradiented +icon: card-sample.png +position hint: 03 + +version: 2014-01-21 +depends on: + package: planechase.mse-game + version: 2009-08-11 +depends on: + package: magic-mana-small.mse-symbol-font + version: 2009-08-10 +depends on: + package: magic-future-common.mse-include + version: 2007-09-23 + +card width: 800 +card height: 559 +card dpi: 150 +#By Pichoro +############################################################## Extra scripts +init script: + # Use the normal tap symbol + mana_t := { + if styling.tap_symbol == "old" then "old" + else if styling.tap_symbol == "diagonal T" then "older" + else "new" + } + # Use guild mana symbols? + guild_mana := { styling.use_guild_mana_symbols } + +############################################################## Set info fields +set info style: + symbol: + variation: + name: invertedcommon + border radius: 0.10 + fill type: solid + fill color: rgb(255,255,255) + border color: rgb(0,0,0) +############################################################## Extra style options +styling field: + type: boolean + name: use guild mana symbols + description: Use the Ravnica guild symbols instead of the official half/half circles for hybrid mana. + initial: no +styling field: + type: package choice + name: text box mana symbols + match: magic-mana-*.mse-symbol-font + initial: magic-mana-small.mse-symbol-font +styling field: + type: choice + name: tap symbol + description: What tap and untap symbols should be used on cards? + initial: old + choice: modern + choice: old + choice: diagonal T +styling field: + type: boolean + name: inverted common symbol + description: Should the common rarity symbol be inverted, like in Coldsnap? + initial: no +styling style: + use guild mana symbols: + choice images: + yes: /magic-mana-small.mse-symbol-font/mana_guild_rg.png + no: /magic-mana-small.mse-symbol-font/mana_rg.png + tap symbol: + render style: both + choice images: + modern: /magic-mana-small.mse-symbol-font/mana_t.png + old: /magic-mana-small.mse-symbol-font/mana_t_old.png + diagonal T: /magic-mana-small.mse-symbol-font/mana_t_older.png + inverted common symbol: + choice images: + no: { symbol_variation(symbol: set.symbol, variation: "common") } + yes: { symbol_variation(symbol: set.symbol, variation: "invertedcommon") } +############################################################## Card fields +card style: + ############################# Name line + name: + left: 128 + top: 30 + width: 541 + height: 34 + alignment: bottom center shrink-overflow + padding bottom: 0 + z index: 2 + font: + name: Matrix + size: 26 + weight: bold + color: black + ############################# Image + image: + left: 24 + top: 22 + width: 753 + height: 511 + z index: 1 + mask: image_mask.png + ############################# Card type + type: + left: 174 + top: 362 + width: 450 + height: 34 + alignment: bottom center shrink-overflow + padding bottom: 0 + z index: 2 + font: + name: Matrix + size: 20 + color: black + rarity: + right: 624 + top: 377 + width: 43 + height: 21 + z index: 2 + render style: image + alignment: middle right + choice images: + # Images based on the set symbol + common: + script: + if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") + else symbol_variation(symbol: set.symbol, variation: "common") + uncommon: script: symbol_variation(symbol: set.symbol, variation: "uncommon") + rare: script: symbol_variation(symbol: set.symbol, variation: "rare") + mythic rare: script: symbol_variation(symbol: set.symbol, variation: "mythic rare") + special: script: symbol_variation(symbol: set.symbol, variation: "special") + ############################# Text box + ############################# Card sorting / numbering + ############################# Copyright stuff + illustrator: + left: 257 + top: 523 + width: 327 + height: 19 + z index: 2 + alignment: middle center + font: + name: Matrix + size: 12 + weight: bold + color: white + copyright line: + left: 236 + top: 538 + width: 327 + height: 19 + z index: 2 + alignment: middle center + font: + name: MPlantin + size: 9 + color: white +############################################################## Extra card fields +extra card field: + type: choice + name: background + editable: false + save value: false + choice: frame +extra card field: + type: choice + name: chaos symbol + editable: false + save value: false + choice: chaos +extra card field: + type: choice + name: paintbrush + save value: false + choice: white + editable: false +extra card field: + type: text + name: text + multi line: true + save value: false + script: + combined_editor(field1: card.rule_text, separator: "\n", field2: card.flavor_text) + description: The rules and flavor text for the card; use up and down arrows to switch +extra card style: + background: + left: 0 + top: 0 + width: 800 + height: 559 + z index: 0 + render style: image + choice images: + frame: card.png + chaos symbol: + left: 95 + top: 474 + width: 38 + height: 33 + z index: 2 + render style: image + choice images: + chaos: /magic-mana-small.mse-symbol-font/mana_chaos.png + paintbrush: + left: { 375 - card_style.illustrator.content_width * 0.5 } + top: 525 + width: 46 + height: 18 + z index: 6 + render style: image + choice images: + white: /magic-future-common.mse-include/paintbrush_white.png + text: + left: 93 + width: 615 + top: 402 + height: 116 + paragraph height: 58 + font: + name: MPlantin + italic name: MPlantin-Italic + size: 16 + scale down to: 1 + color: black + symbol font: + name: { styling.text_box_mana_symbols } + size: 16 + alignment: middle left + z index: 2 + line height hard: 1.1 + mask: textbox_mask.png diff --git a/planechase-standard-gradiented.mse-style/textbox_mask.png b/planechase-standard-gradiented.mse-style/textbox_mask.png new file mode 100644 index 0000000..1d867a9 Binary files /dev/null and b/planechase-standard-gradiented.mse-style/textbox_mask.png differ diff --git a/planechase-standard-small.mse-style/card-sample.png b/planechase-standard-small.mse-style/card-sample.png new file mode 100644 index 0000000..7c5fbda Binary files /dev/null and b/planechase-standard-small.mse-style/card-sample.png differ diff --git a/planechase-standard-small.mse-style/style b/planechase-standard-small.mse-style/style new file mode 100644 index 0000000..4ddf0cb --- /dev/null +++ b/planechase-standard-small.mse-style/style @@ -0,0 +1,240 @@ +mse version: 0.3.8 +game: planechase +short name: Standard Small +installer group: Magic Planes/normal style/small style +icon: card-sample.png +position hint: 03 + +version: 2009-12-18 +depends on: + package: planechase.mse-game + version: 2009-08-11 +depends on: + package: magic-mana-small.mse-symbol-font + version: 2009-08-10 +depends on: + package: magic-future-common.mse-include + version: 2007-09-23 +depends on: + package: planechase-standard.mse-style + version: 2009-08-12 + +card width: 523 +card height: 375 +card dpi: 150 +#By Pichoro +#Images by Art_Freak +############################################################## Extra scripts +init script: + # Use the normal tap symbol + mana_t := { + if styling.tap_symbol == "old" then "old" + else if styling.tap_symbol == "diagonal T" then "older" + else "new" + } + # Use guild mana symbols? + guild_mana := { styling.use_guild_mana_symbols } + +############################################################## Set info fields +set info style: + symbol: + variation: + name: invertedcommon + border radius: 0.10 + fill type: solid + fill color: rgb(255,255,255) + border color: rgb(0,0,0) +############################################################## Extra style options +styling field: + type: boolean + name: use guild mana symbols + description: Use the Ravnica guild symbols instead of the official half/half circles for hybrid mana. + initial: no +styling field: + type: package choice + name: text box mana symbols + match: magic-mana-*.mse-symbol-font + initial: magic-mana-small.mse-symbol-font +styling field: + type: choice + name: tap symbol + description: What tap and untap symbols should be used on cards? + initial: old + choice: modern + choice: old + choice: diagonal T +styling field: + type: boolean + name: inverted common symbol + description: Should the common rarity symbol be inverted, like in Coldsnap? + initial: no +styling style: + use guild mana symbols: + choice images: + yes: /magic-mana-small.mse-symbol-font/mana_guild_rg.png + no: /magic-mana-small.mse-symbol-font/mana_rg.png + tap symbol: + render style: both + choice images: + modern: /magic-mana-small.mse-symbol-font/mana_t.png + old: /magic-mana-small.mse-symbol-font/mana_t_old.png + diagonal T: /magic-mana-small.mse-symbol-font/mana_t_older.png + inverted common symbol: + choice images: + no: { symbol_variation(symbol: set.symbol, variation: "common") } + yes: { symbol_variation(symbol: set.symbol, variation: "invertedcommon") } +############################################################## Card fields +card style: + ############################# Name line + name: + left: 84 + top : 20 + width: 354 + height: 23 + alignment: bottom center shrink-overflow + padding bottom: 0 + z index: 2 + font: + name: Matrix + size: 17 + weight: bold + color: rgb(0,0,0) + ############################# Image + image: + left: 16 + top: 15 + width: 492 + height: 343 + z index: 1 + mask: /planechase-standard.mse-style/image_mask.png + ############################# Card type + type: + left: 114 + top : 243 + width: 294 + height: 23 + alignment: bottom center shrink-overflow + padding bottom: 0 + z index: 2 + font: + name: Matrix + size: 13.5 + color: black + rarity: + right: 408 + top : 253 + width: 28 + height: 14 + z index: 2 + render style: image + alignment: middle right + choice images: + # Images based on the set symbol + common: + script: + if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") + else symbol_variation(symbol: set.symbol, variation: "common") + uncommon: script: symbol_variation(symbol: set.symbol, variation: "uncommon") + rare: script: symbol_variation(symbol: set.symbol, variation: "rare") + mythic rare: script: symbol_variation(symbol: set.symbol, variation: "mythic rare") + special: script: symbol_variation(symbol: set.symbol, variation: "special") + ############################# Text box + ############################# Card sorting / numbering + ############################# Copyright stuff + illustrator: + left: 168 + top : 351 + width: 214 + height: 13 + z index: 2 + alignment: middle center + font: + name: Matrix + size: 8 + weight: bold + color: white + copyright line: + left: 154 + top : 361 + width: 214 + height: 13 + z index: 2 + alignment: middle center + font: + name: MPlantin + size: 6 + color: white +############################################################## Extra card fields +extra card field: + type: choice + name: background + editable: false + save value: false + choice: frame +extra card field: + type: choice + name: chaos symbol + editable: false + save value: false + choice: chaos +extra card field: + type: choice + name: paintbrush + save value: false + choice: white + editable: false +extra card field: + type: text + name: text + multi line: true + save value: false + script: + combined_editor(field1: card.rule_text, separator: "\n", field2: card.flavor_text) + description: The rules and flavor text for the card; use up and down arrows to switch +extra card style: + background: + left: 0 + top: 0 + width: 523 + height: 375 + z index: 0 + render style: image + choice images: + frame: /planechase-standard.mse-style/card.png + chaos symbol: + left: 62 + top: 318 + width: 25 + height: 22 + z index: 2 + render style: image + choice images: + chaos: /magic-mana-small.mse-symbol-font/mana_chaos.png + paintbrush: + left: { 245 - card_style.illustrator.content_width * 0.5 } + top : 352 + width: 30 + height: 12 + z index: 6 + render style: image + choice images: + white: /magic-future-common.mse-include/paintbrush_white.png + text: + left: 61 + width: 402 + top: 270 + height: 78 + paragraph height: 39 + font: + name: MPlantin + italic name: MPlantin-Italic + size: 10.5 + scale down to: 0.5 + color: black + symbol font: + name: { styling.text_box_mana_symbols } + size: 10.5 + alignment: middle left + z index: 2 + line height hard: 1.1 + mask: /planechase-standard.mse-style/textbox_mask.png diff --git a/planechase-standard.mse-style/card-sample.png b/planechase-standard.mse-style/card-sample.png new file mode 100644 index 0000000..7c5fbda Binary files /dev/null and b/planechase-standard.mse-style/card-sample.png differ diff --git a/planechase-standard.mse-style/card.png b/planechase-standard.mse-style/card.png new file mode 100644 index 0000000..63f87d3 Binary files /dev/null and b/planechase-standard.mse-style/card.png differ diff --git a/planechase-standard.mse-style/image_mask.png b/planechase-standard.mse-style/image_mask.png new file mode 100644 index 0000000..8106217 Binary files /dev/null and b/planechase-standard.mse-style/image_mask.png differ diff --git a/planechase-standard.mse-style/style b/planechase-standard.mse-style/style new file mode 100644 index 0000000..ddcce73 --- /dev/null +++ b/planechase-standard.mse-style/style @@ -0,0 +1,237 @@ +mse version: 0.3.8 +game: planechase +short name: Standard +installer group: Magic Planes/normal style +icon: card-sample.png +position hint: 01 + +version: 2010-05-18 +depends on: + package: planechase.mse-game + version: 2009-08-11 +depends on: + package: magic-mana-small.mse-symbol-font + version: 2009-08-10 +depends on: + package: magic-future-common.mse-include + version: 2007-09-23 + +card width: 800 +card height: 559 +card dpi: 150 +#By Pichoro +#Images by Art_Freak +############################################################## Extra scripts +init script: + # Use the normal tap symbol + mana_t := { + if styling.tap_symbol == "old" then "old" + else if styling.tap_symbol == "diagonal T" then "older" + else "new" + } + # Use guild mana symbols? + guild_mana := { styling.use_guild_mana_symbols } + +############################################################## Set info fields +set info style: + symbol: + variation: + name: invertedcommon + border radius: 0.10 + fill type: solid + fill color: rgb(255,255,255) + border color: rgb(0,0,0) +############################################################## Extra style options +styling field: + type: boolean + name: use guild mana symbols + description: Use the Ravnica guild symbols instead of the official half/half circles for hybrid mana. + initial: no +styling field: + type: package choice + name: text box mana symbols + match: magic-mana-*.mse-symbol-font + initial: magic-mana-small.mse-symbol-font +styling field: + type: choice + name: tap symbol + description: What tap and untap symbols should be used on cards? + initial: old + choice: modern + choice: old + choice: diagonal T +styling field: + type: boolean + name: inverted common symbol + description: Should the common rarity symbol be inverted, like in Coldsnap? + initial: no +styling style: + use guild mana symbols: + choice images: + yes: /magic-mana-small.mse-symbol-font/mana_guild_rg.png + no: /magic-mana-small.mse-symbol-font/mana_rg.png + tap symbol: + render style: both + choice images: + modern: /magic-mana-small.mse-symbol-font/mana_t.png + old: /magic-mana-small.mse-symbol-font/mana_t_old.png + diagonal T: /magic-mana-small.mse-symbol-font/mana_t_older.png + inverted common symbol: + choice images: + no: { symbol_variation(symbol: set.symbol, variation: "common") } + yes: { symbol_variation(symbol: set.symbol, variation: "invertedcommon") } +############################################################## Card fields +card style: + ############################# Name line + name: + left: 128 + top: 30 + width: 541 + height: 34 + alignment: bottom center shrink-overflow + padding bottom: 0 + z index: 2 + font: + name: Matrix + size: 26 + weight: bold + color: black + ############################# Image + image: + left: 24 + top: 22 + width: 753 + height: 511 + z index: 1 + mask: image_mask.png + ############################# Card type + type: + left: 174 + top: 362 + width: 450 + height: 34 + alignment: bottom center shrink-overflow + padding bottom: 0 + z index: 2 + font: + name: Matrix + size: 20 + color: black + rarity: + right: 624 + top: 377 + width: 43 + height: 21 + z index: 2 + render style: image + alignment: middle right + choice images: + # Images based on the set symbol + common: + script: + if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") + else symbol_variation(symbol: set.symbol, variation: "common") + uncommon: script: symbol_variation(symbol: set.symbol, variation: "uncommon") + rare: script: symbol_variation(symbol: set.symbol, variation: "rare") + mythic rare: script: symbol_variation(symbol: set.symbol, variation: "mythic rare") + special: script: symbol_variation(symbol: set.symbol, variation: "special") + ############################# Text box + ############################# Card sorting / numbering + ############################# Copyright stuff + illustrator: + left: 257 + top: 523 + width: 327 + height: 19 + z index: 2 + alignment: middle center + font: + name: Matrix + size: 12 + weight: bold + color: white + copyright line: + left: 236 + top: 538 + width: 327 + height: 19 + z index: 2 + alignment: middle center + font: + name: MPlantin + size: 9 + color: white +############################################################## Extra card fields +extra card field: + type: choice + name: background + editable: false + save value: false + choice: frame +extra card field: + type: choice + name: chaos symbol + editable: false + save value: false + choice: chaos +extra card field: + type: choice + name: paintbrush + save value: false + choice: white + editable: false +extra card field: + type: text + name: text + multi line: true + save value: false + script: + combined_editor(field1: card.rule_text, separator: "\n", field2: card.flavor_text) + description: The rules and flavor text for the card; use up and down arrows to switch +extra card style: + background: + left: 0 + top: 0 + width: 800 + height: 559 + z index: 0 + render style: image + choice images: + frame: card.png + chaos symbol: + left: 95 + top: 474 + width: 38 + height: 33 + z index: 2 + render style: image + choice images: + chaos: /magic-mana-small.mse-symbol-font/mana_chaos.png + paintbrush: + left: { 375 - card_style.illustrator.content_width * 0.5 } + top: 525 + width: 46 + height: 18 + z index: 6 + render style: image + choice images: + white: /magic-future-common.mse-include/paintbrush_white.png + text: + left: 93 + width: 615 + top: 402 + height: 116 + paragraph height: 58 + font: + name: MPlantin + italic name: MPlantin-Italic + size: 16 + scale down to: 1 + color: black + symbol font: + name: { styling.text_box_mana_symbols } + size: 16 + alignment: middle left + z index: 2 + line height hard: 1.1 + mask: textbox_mask.png diff --git a/planechase-standard.mse-style/textbox_mask.png b/planechase-standard.mse-style/textbox_mask.png new file mode 100644 index 0000000..1d867a9 Binary files /dev/null and b/planechase-standard.mse-style/textbox_mask.png differ diff --git a/planechase.mse-game/card-sample.png b/planechase.mse-game/card-sample.png new file mode 100644 index 0000000..b8c7783 Binary files /dev/null and b/planechase.mse-game/card-sample.png differ diff --git a/planechase.mse-game/game b/planechase.mse-game/game new file mode 100644 index 0000000..fe598f3 --- /dev/null +++ b/planechase.mse-game/game @@ -0,0 +1,1700 @@ +mse version: 2.0.0 +short name: Planes +full name: Magic Plane Cards +installer group: Magic Planes/game files +icon: card-sample.png +position hint: 02 + +version: 2014-03-25 + +#By Pichoro +############################################################## Functions & filters +# General functions +init script: + ############################################################## Sorting mana symbols + + # correctly sort a mana symbol (no guild mana) + mana_sort := sort_text@(order: "XYZI[0123456789]HS(WUBRG)") + # correctly sort guild mana + mana_sort_guild := sort_text@(order: "[XYZI01234567890HSWUBRG/|]") + + replace@( + match: "./.|././.|./././.|.[|]", + in_context: "(^|[^/])($|[^/])", + replace: {sort_text(order:"in_place((WUBRG)")} + ) + mana_has_guild := match@(match: "[/|]") # Is there guild or half mana in the input? + # A mana cost can contain both normal and guild mana + mana_filter := to_upper + { + if mana_has_guild() then mana_sort_guild() + else mana_sort() + } + # Like mana filter, only also allow tap symbols: + tap_filter := sort_text@(order: "") + mana_filter_t := replace@( # Remove [] used for forcing mana symbols + match: "[\\[\\]]", + replace: "" + ) + { tap_filter() + mana_filter() } + + ############################################################## Utilities for keywords + + # replaces — correctly + add := "" # default is nothing + for_mana_costs := format_cost := { + if input.separator_before == "—" and contains(input.param, " ") then ( + if contains(input.param, match:",") then ( + if match(match: "^[HSCTQXYZIWUBRG0-9/|]+,", input.param) then + "{add}{combined_cost(input.param)}" + else "{combined_cost(input.param)}" + ) else + "{alternative_cost(input.param)}" + ) else + "{add}{input.param}" + } + alternative_cost := replace@(match:"^[A-Z]", replace: { to_lower() }) + combined_cost := replace@(match:", [A-Z]", replace: { to_lower() })+ + replace@(match:",", replace:" and")+ + replace@(match:"^[SCTQXYZIWUBRG0-9/|]", in_context: "(^|[[:space:]])", replace: "&")+ + replace@(match:"^[A-Z]", replace: { to_lower() }) + long_dash := replace@(match:"-", replace:"—") + + # Converted mana cost + is_half_mana := match@(match: "1/2|[|][WUBRGSH]") + is_colored_mana := match@(match: "[WUBRG]") + only_numbers := filter_text@(match: "^[0123456789]+") + cmc_split := break_text@(match: "(?ix) 1/2 | [|][WUBRG] | [0-9]+(?!/[WUBRGSCTQ2]) | [WUBRGHS0-9](/[WUBRGS])\{0,4} ") + cmc := {to_number( + for each sym in cmc_split() do ( + numbers := only_numbers(sym) + if is_half_mana(sym) then 0.5 + else if numbers != "" then max(1, to_int(numbers)) + else 1 # all other symbols are 1 + )) + } + + colored_mana := {to_number( + for each sym in cmc_split() do ( + numbers := only_numbers(sym) + if is_colored_mana(sym) then + if is_half_mana(sym) then 0.5 else 1 + else 0 + )) + } + + ############################################################## The text box + + # Filters for the text box + # context in which mana symbols are found + mana_context := + "(?ix) # case insensitive, ignore whitespace + (^|[[:space:]\"(]) # start of a word + ( : # G: something + | , # G, tap: something + | [ ]can[ ]be[ ]pay + | (pays?|additional|costs?|the # pay X. creatures cost 1 less. pay an additional G. + |adds?|pay(ed)?[ ](with|using) + ) + ([ ]either)? # pay either X or Y + ([ ]]*>[CTQHSXYZIWUBRG0-9/|]+]*>[ ](and|or))* # pay X or Y + [ ] + ([,.)]|$ # (end of word) + |[ ][^ .,]*$ # still typing... + |[ ]( or | and | in | less | more | to ) # or next word is ... + ) + ) + | # keyword argument that is declared as mana + | [ ]* # keyword argument that is declared as cost + | , # keyword argument that is declared as cost + "; + # the rule text filter + # - adds mana symbols + # - makes text in parentheses italic + text_filter := + # step 1 : remove all automatic tags + remove_tag@(tag: "") + + remove_tag@(tag: "") + + remove_tag@(tag: "{keyword}" + else keyword + if expand then " ({reminder})" } + ) + + # step 2b : move inline keywords' reminder text to the end of the line + replace@( + match: "(.*]*>)([^\n(]+)", + replace: "\\2\\1" + ) + + replace@( + match: "(.*]*>)([^\n(]+)", + replace: "\\2\\1" + ) + + replace@( + match: "(.*]*>)([^\n(]+)", + replace: "\\2\\1" + ) + + # step 3 : expand shortcut words ~ and CARDNAME + replace@( + match: "CARDNAME", + in_context: "(^|[[:space:]]|\\()", + replace: "" + ) + + # step 4 : fill in atom fields + tag_contents@( + tag: "", + contents: { if card.name=="" then "CARDNAME" else card.name } + ) + + # step 4.5 : explict non mana symbols + replace@( + match: "\\][HSCTQXYZIWUBRG0-9/|]+\\[", + replace: {"" + mana_filter_t() + ""} ) + + # step 5 : add mana & tap symbols + replace@( + match: "[HSCTQXYZIWUBRG0-9/|]+", + in_context: mana_context, + replace: {"" + mana_filter_t() + ""} ) + + # step 5b : add explict mana symbols + replace@( + match: "\\[[HSCTQXYZIWUBRG0-9/|]+\\]", + replace: {"" + mana_filter_t() + ""} ) + + # step 7 : italic reminder text + replace@( + match: "[(][^)\n]*[)]?", + in_context: "(^|[[:space:]])|", + replace: "&") + + # step 8 : automatic capitalization, but not after "(" + replace@( + match: "[a-z]", + in_context: "[ ]*: |—| — ", + replace: { to_upper() })+ + curly_quotes + + ############################################################## Other boxes + # the flavor text filter + # - makes all text italic + flavor_text_filter := + # step 1 : remove italic tags + remove_tag@(tag: "") + + # step 2 : surround by tags + { "" + input + "" } + + # curly quotes + curly_quotes + + # Process the name for sorting rules + sort_name := + # Remove "The", "A", and "And" at the beginning + replace@(match: "^(The|An?) ", replace: "") + + # Remove commas and apostrophes + replace@(match: "(,|'|’)", replace: "") + + # Remove bold and italic tags + replace@(match: "(|||)", replace: "") + + # Make lowercase + to_lower + + #Necessary to make magic-mana-future play nicely + colorless_color := { "c" } + + word_count := break_text@(match:"[^[:space:]]+") + length + line_count := split_text@(match:"\n+",include_empty:false) + length + + space_to_comma := replace@(match:"^[A-Z]", replace:",&") + remove_first_comma := replace@(match:"^[,]", replace:"") + all_planes := { + remove_first_comma( + for each card in set do + space_to_comma(to_text(card.subtype)) + ) + } + type_over_type := replace_rule(match:" ?-", replace:"") + plane_type_filter := + tag_remove_rule(tag: "{input}" + else input } + ancestral_mana := {card.name == "nlsfajnalsjfa"} + card_number := { + position ( + of: card + in: set + order_by: { rarity_sort() + sort_index() + sort_name(card.name) } + filter: set_filter() + ) + 1 + } + card_count := { + number_of_items(in: set, filter: set_filter()) + } + + #Starting with M15, zero digits in card numbers should be shown up to three. + card_number_m15 := { (if card_number() < 100 then "0" else "") + (if card_number() < 10 then "0" else "") + card_number() } + card_count_m15 := { (if card_count() < 100 then "0" else "") + (if card_count() < 10 then "0" else "") + card_count() } + is_masterpiece := { card.rarity == "masterpiece" } + rarity_sort := { + if card.shape == "token" then "T1" + else if card.shape == "emblem" then "T2" + else if card.shape == "rulestip" then "T3" + else if card.shape == "counter" then "T4" + else if card.shape == "checklist" then "T5" + else if is_masterpiece() then "T6" + else if set.sort_special_rarity == "with the rest" or card.rarity != "special" then " " + else "S" + } + set_filter := { + # TODO: what about rulestips? + if card.shape == "token" or card.shape == "emblem" then + { card.shape == "token" or card.shape == "emblem" } + else if card.shape == "rulestip" then + { card.shape == "rulestip" } + else if card.shape == "counter" then + { card.shape == "counter" } + else if card.shape == "checklist" then + { card.shape == "checklist" } + else if is_masterpiece() then + { is_masterpiece() } + else if set.sort_special_rarity != "separate numbering" then + { not is_masterpiece() and card.shape != "token" and card.shape != "emblem" and card.shape != "rulestip" and card.shape != "counter" and card.shape != "checklist"} + else if card.rarity == "special" then + { not is_masterpiece() and card.shape != "token" and card.shape != "emblem" and card.shape != "rulestip" and card.shape != "counter" and card.shape != "checklist" and card.rarity == "special" } + else + { not is_masterpiece() and card.shape != "token" and card.shape != "emblem" and card.shape != "rulestip" and card.shape != "counter" and card.shape != "checklist" and card.rarity != "special" } + } + sort_index := { + (if contains(card.shape, match:"shifted") then "S" else " ") + # planeshifted cards come after normal ones + (if contains(card.shape, match:"split") then "S" else " ") + # split cards come after normal ones + ":" + } + card_shape := { "plane card" } + is_nom := {card.supertype == "Phenomenon"} + + ancestral_mana := {"false"} + white_text := {false} + ############################################################## Mainframe mana + use_v_mana := {contains(set.custom_mana_symbol_name, match:".png")} + use_large_v_mana := { use_v_mana() and chosen(set.mana_symbol_options, choice:"enable in casting costs")} + use_small_v_mana := { use_v_mana() and chosen(set.mana_symbol_options, choice:"enable in text boxes")} + use_color_v_mana := { use_v_mana() and chosen(set.mana_symbol_options, choice:"colored mana symbols") and not use_hybrid_v_mana()} + use_hybrid_v_mana := { use_v_mana() and chosen(set.mana_symbol_options, choice:"hybrid with colors")} + v_mana_name := {if not use_v_mana() then "" else replace(set.custom_mana_symbol_name, match:"(.+/|\\.png)", replace:"")} + v_mana_loc := {if not use_v_mana() then "" else replace(set.custom_mana_symbol_name, match:"{v_mana_name()}\\.png", replace:"")} + v_mana_num := {max(to_number(set.number_hybrid_variants),0) or else -1} + + symbol_font_small_color := { "black" } +############################################################## Set fields +set field: + type: info + name: Set Information +set field: + type: text + name: title +set field: + type: text + name: description + multi line: true +set field: + type: text + name: artist +set field: + type: text + name: copyright +set field: + type: text + name: set code + description: Typically, a three letter code for the set. +set field: + type: text + name: set language + description: Typically, a two letter code for the language the set is in. +set field: + type: text + name: masterpiece set code + description: The letter code for masterpieces, typically MSP +set field: + type: symbol + name: symbol + description: The symbol for this set, double click to edit +set field: + type: symbol + name: masterpiece symbol + description: The symbol for this sets masterpieces, click to edit +set field: + type: info + name: Defaults and Automation +set field: + type: color + name: border color + description: The default border color for cards + choice: + name: black + color: rgb(0,0,0) + choice: + name: white + color: rgb(255,255,255) + choice: + name: silver + color: rgb(128,128,128) + choice: + name: gold + color: rgb(200,180,0) +set field: + type: multiple choice + name: automatic reminder text + choice: old + choice: core + choice: expert + choice: pseudo + choice: custom + initial: old, pseudo, custom + # Convert from older mse versions + script: + if value == "yes" then "old, core, expert, custom" + else if value == "no" then "" + else value + description: For which kinds of keywords should reminder text be added by default? Note: you can enable/disable reminder text by right clicking the keyword. +set field: + type: boolean + name: automatic card numbers + initial: yes + description: Should card numbers be shown on the cards? +set field: + type: boolean + name: automatic copyright + description: Should the copyright line above be shown on the cards? +set field: + type: choice + name: sort special rarity + description: Determines how cards with special rarity are sorted. + choice: with the rest + choice: after other cards + choice: separate numbering + initial: after other cards +set field: + type: info + name: custom mana +set field: + type: text + name: custom mana symbol name + description: Use mana symbols from magic-mainframe-extras.mse-include. Input NAME.png here, check help below for file instructions. +set field: + type: multiple choice + name: mana symbol options + choice: enable in casting costs + choice: enable in text boxes + choice: colored mana symbols + choice: hybrid with colors +set field: + type: text + name: number hybrid variants + description: Change each number hybrid (0/X, 1/X, 2/X ... 11/X) up to this number to a specific variant instead of a hybrid symbol. +set field: + type: choice + name: mana symbol help + choice: Click here for mana symbol help! + choice: In your mainframe-extras folder, create folders named "large" and/or "small" depending on your usage + choice: Large is for only mana costs, small for only text, create both if you use both + choice: Additionally, you can create a "future" folder for M15 Future mana costs + choice: Save NAME.png to the relevant folders. Remember that large symbols have dropshadows + choice: For the name option above, set the address of the image, minus mainframe-extras and large/small/future + choice: Ex: magic-mainframe-extras/cajun/large/hazard.png would use cajun/hazard.png + choice: Standard size is 160x160 for small, 200x200 for small hybrid and future, 165x178 for large, 205x218 for large hybrid + choice: If your symbol mixes with colors (such as Phyrexian mana): Save NAME_w.png, NAME_u.png, etc to those folders too. + choice: If your symbol hybrids with colors (like 2/W): [Note, doesn't work on M15 Future mana costs.] + choice: Save NAME_h.png to those folders too. See mana_bb.png and similar for how this image should look. + choice: Your mana symbol will now be keyed to V (and V/W, V/U, etc. for colored/hybrid symbols). + choice: You can change number hybrids (2/V etc) to different mana symbols for even more custom symbols. + choice: Put the highest number to change (from 0 to 11) in "number hybrid variants" and save as NAME_0.png etc. + +############################# Default style +default set style: + title: + padding left: 2 + font: + size: 16 + symbol: + max aspect ratio: 2.5 + variation: + name: common + border radius: 0.10 + fill type: solid + fill color: rgb(0,0,0) + border color: rgb(255,255,255) + variation: + name: uncommon + border radius: 0.07 + fill type: linear gradient + fill color 1: rgb(224,224,224) + fill color 2: rgb(84, 84, 84) + border color 1: rgb(0, 0, 0) + border color 2: rgb(0, 0, 0) + variation: + name: rare + border radius: 0.07 + fill type: linear gradient + fill color 1: rgb(214,196,94) + fill color 2: rgb(95, 84, 40) + border color 1: rgb(0, 0, 0) + border color 2: rgb(0, 0, 0) + variation: + name: mythic rare + border radius: 0.07 + fill type: linear gradient + fill color 1: rgb(245,148,31) + fill color 2: rgb(186,45,38) + border color 1: rgb(0, 0, 0) + border color 2: rgb(0, 0, 0) + variation: + name: special + border radius: 0.10 + fill type: linear gradient + fill color 1: rgb(224,170,247) + fill color 2: rgb(58,7,80) + border color 1: rgb(255,255,255) + border color 2: rgb(255,255,255) + masterpiece symbol: + max aspect ratio: 2.5 + variation: + name: common + border radius: 0.10 + fill type: solid + fill color: rgb(0,0,0) + border color: rgb(255,255,255) + variation: + name: uncommon + border radius: 0.07 + fill type: linear gradient + fill color 1: rgb(224,224,224) + fill color 2: rgb(84, 84, 84) + border color 1: rgb(0, 0, 0) + border color 2: rgb(0, 0, 0) + variation: + name: rare + border radius: 0.07 + fill type: linear gradient + fill color 1: rgb(214,196,94) + fill color 2: rgb(95, 84, 40) + border color 1: rgb(0, 0, 0) + border color 2: rgb(0, 0, 0) + variation: + name: mythic rare + border radius: 0.07 + fill type: linear gradient + fill color 1: rgb(245,148,31) + fill color 2: rgb(186,45,38) + border color 1: rgb(0, 0, 0) + border color 2: rgb(0, 0, 0) + variation: + name: special + border radius: 0.10 + fill type: linear gradient + fill color 1: rgb(224,170,247) + fill color 2: rgb(58,7,80) + border color 1: rgb(255,255,255) + border color 2: rgb(255,255,255) + variation: + name: watermark + border radius: 0.10 + fill type: solid + fill color: rgb(255,255,255) + border color: rgba(0,0,0,0) + automatic reminder text: + render style: checklist + direction: vertical + mana symbol options: + render style: checklist + direction: vertical +############################################################## Card fields +############################# Background stuff +card field: + type: choice + name: shape + show statistics: false + choice: normal + choice: token + choice: flip + choice: split + choice: fuse split + choice: double faced + choice: planeswalker + choice: shifted + choice: rulestip + choice: leveler + choice: augment + choice: counter + choice: checklist + choice: emblem + choice: plane card + script: card_shape() # determined by the style +card field: + type: color + name: border color + default: set.border_color + choice: + name: black + color: rgb(0,0,0) + choice: + name: white + color: rgb(255,255,255) + choice: + name: silver + color: rgb(128,128,128) + choice: + name: gold + color: rgb(200,180,0) + show statistics: false + description: The border of the card; can be any solid color +############################# Name line +card field: + type: text + name: name + identifying: true + show statistics: false + card list visible: true + card list column: 1 + card list width: 150 + description: The name of the card +#### compatibility with mana fonts +card field: + type: choice + name: card symbol + description: The symbol of the card. + show statistics: false + card list name: Symbol + card list column: 0920 + card list width: 100 + choice: none +############################# Image +card field: + type: image + name: image + show statistics: false + description: The image of the card +############################# Card type +card field: + type: text + name: supertype + description: The supertype of the card + script: type_over_type(value) + show statistics: false +card field: + type: text + name: subtype + description: The subtype of the card + script: plane_type_filter(value) + position hint: 11 + icon: stats/card_type.png +card field: + type: text + name: type + show statistics: false + save value: false + script: + # Either just supertype, or subtype - supertype + combined_editor( + field1: card.supertype, + separator: " — ", + field2: card.subtype, + soft_before_empty: true, + hide_when_empty: true + ) + card list visible: true + card list column:2 + description: The type of this card, type - to go the subtype +card field: + type: choice + name: rarity + position hint: 100 + choice: common + choice: uncommon + choice: rare + choice: mythic rare + choice: masterpiece + choice: special + initial: common + card list visible: true + card list column: 6 + icon: stats/rarity.png + description: The rarity of the card, to edit the symbol switch to the 'set info' tab + choice colors: + common: rgb(33,33,33) + uncommon: rgb(224,224,224) + mythic rare: rgb(202, 49, 35) + rare: rgb(255,207,52) + special: rgb(190,0,255) +############################# Text box +card field: + type: text + name: rule text + script: text_filter(value) + show statistics: false + multi line: true + description: The rules text of the card +card field: + type: text + name: chaos text + script: text_filter(value) + show statistics: false + multi line: true + description: The chaos text of the card +card field: + type: text + name: flavor text + script: flavor_text_filter(value) + show statistics: false + multi line: true + description: The flavor text of the card +card field: + type: text + name: text + multi line: true + save value: false + show statistics: false + script: + if is_nom() then combined_editor(field1: card.rule_text, separator: "\n", field2: card.flavor_text) + else forward_editor(field: card.rule_text) + description: The rules and flavor text for the card; use up and down arrows to switch +############################# PT +############################# Card sorting / numbering +card field: + type: text + name: card number + save value: false + script: card_number() + "/" + card_count() + sort script: rarity_sort() + card.card_number + card list visible: true + card list column: 10 + card list width: 50 + card list name: # + card list alignment: right + editable: false + show statistics: false +card field: + type: text + name: card number m15 + save value: false + script: card_number_m15() + "/" + card_count_m15() + sort script: rarity_sort() + card.card_number + card list visible: false + editable: false + show statistics: false +card field: + type: text + name: custom card number + save value: true + editable: true + show statistics: false +card field: + type: text + name: set code + editable: false + save value: false + script: set.set_code + (if set.set_code != "" or set.set_language!= "" then " • ") + set.set_language + show statistics: false +card field: + type: text + name: card code text + editable: true + save value: true + show statistics: false +############################# Copyright stuff +card field: + type: text + name: illustrator + default: set.artist + description: The illustrator of the image + icon: stats/illustrator.png + position hint: 100 +card field: + type: text + name: copyright text + default: " " + description: The copyright field + show statistics: false +card field: + type: text + name: copyright + default: set.copyright + show statistics: false +card field: + type: text + name: copyright line + save value: false + show statistics: false + script: + if set.automatic_card_numbers then + combined_editor(field1: card.copyright, separator: " ", field2: card.card_number) + else + forward_editor(field: card.copyright) + description: The copyright and card number of the card +############################################################### Extra Statistics +statistics dimension: + name: type + script: card.supertype + position hint: 10 + icon: stats/card_type.png +statistics dimension: + name: keywords + position hint: 1000 + script: keyword_usage(unique:true) + show empty: false + split list: true + icon: stats/keywords.png +statistics dimension: + name: style + position hint: 1001 + script: stylesheet.short_name + icon: stats/stylesheet.png +statistics dimension: + name: text length (words) + position hint: 100 + script: word_count(to_text(card.rule_text)) + numeric: true + bin size: 5 + icon: stats/text_length.png +statistics dimension: + name: text length (lines) + position hint: 101 + script: line_count(to_text(card.rule_text)) + numeric: true + icon: stats/text_length.png +############################################################## Auto replace +# Do we need categories? +#auto replace category: text box +#auto replace category: copyright +#auto replace category: everywhere +auto replace: + match: (C) + replace: © +auto replace: + match: AE + replace: Æ + whole word: false +auto replace: + match: TM + replace: ™ + whole word: false +auto replace: + match: -- + replace: — +auto replace: + # note the spaces + match: + - + replace: + — +auto replace: + match: CIP + replace: enters the battlefield +auto replace: + match: AAA + replace: as an additional cost to cast +auto replace: + match: ~ + replace: CARDNAME +auto replace: + match: ' + replace: ’ +auto replace: + match: roll chaos + replace: Whenever you roll C, +############################################################## Card pack items +pack type: + name: card + filter: card.name != "" +############################################################## Card packs +pack type: + name: booster pack + item: + name: card + amount: 1 +############################################################## Word lists +word list: + name: plane + word: + script: all_planes() + line below: true + # Start with 5 most recently visited planes. + word: Mirrodin + word: New Phyrexia + word: Innistrad + word: Ravnica + word: Theros + word: + name: Post-Mending Planes + word: Alara + word: Aranzhur + word: Diraden + word: Innistrad + word: Kephalai + word: Lorwyn + word: New Phyrexia + word: Regatha + word: Shadowmoor + word: Tavelia + word: Theros + word: Zendikar + word: + name: Post-Revisionist Planes + word: Kamigawa + word: Mercadia + word: Mirrodin + word: Rath + word: Ravnica + word: Serra's Realm + word: + name: Pre-Revisionist Planes + word: Azoria + word: Bolas's Meditation Realm + word: Cabralin + word: Cridhe + word: Dominaria + word: Equilor + word: Ergamon + word: Gastal + word: Ilcae + word: Moag + word: Nether Void + word: Phyrexia + word: Pyrulea + word: Rabiah + word: Segovia + word: Shandalar + word: Ulgrotha + word: Vatraquaz + word: Wildfire + word: + name: Planechase Planes + word: Arkhos + word: Azgol + word: Belenon + word: Fabacin + word: Iquatana + word: Ir + word: Kaldheim + word: Karsus + word: Kinshala + word: Kolbahan + word: Kyneth + word: Luvion + word: Mongseng + word: Muraganda + word: Valla + word: Vryn + word: Xerex +############################################################## Keywords +############################# Keyword rules + +has keywords: true + +#keyword preview: {keyword} ({reminder}) + +keyword mode: + name: old + description: Old keywords (Banding, Phasing, etc.) +keyword mode: + name: core + description: Core set keywords (Flying, Regenerate, etc.) +keyword mode: + name: expert + description: Expert level keywords (Scry, Vanishing, etc.) +keyword mode: + name: pseudo + description: Pseudo keyword / named ability (Hellbent, Threshold, etc.) +keyword mode: + is default: true + name: custom + description: Custom keywords + +keyword parameter type: + name: mana + match: [HSCTQXYZI0-9WUBRG/|]+ + refer script: + name: normal + description: No changes made + script: \{{input}\} + refer script: + name: converted mana cost + description: Converts mana to number + # "0" left in so users can easily see how to edit script. + script: \{cmc({input}) + 0\} + refer script: + name: colored mana cost + description: Converts mana to number of colored mana + # "0" left in so users can easily see how to edit script. + script: \{colored_mana({input}) + 0\} +# By pichoro and bunnierein +keyword parameter type: + name: cost + match: [ ][HSCTQXYZI0-9WUBRG/|]*|[-—][^(\n]* + separator before is: [ —-] + separator after is: [.] + optional: false + # note: the separator is part of match + refer script: + name: normal + description: When using mana only costs, doesn't include anything extra in the reminder text + script: \{{input}\} + refer script: + name: add "pay an additional " for mana costs + description: When using mana only costs, words the reminder text as "pay an additional " + script: \{for_mana_costs(add:"pay an additional ",{input})\} + refer script: + name: add "pay " for mana costs + description: When using mana only costs, words the reminder text as "pay " + script: \{for_mana_costs(add:"pay ",{input})\} + separator script: long_dash() +keyword parameter type: + name: number + match: [XYZ0-9]+ + refer script: + name: normal + description: (1,2,3) + script: \{{input}\} + refer script: + name: as words + description: (one, two, three) + script: \{english_number({input})\} + refer script: + name: as words, use "a" for 1 + description: (a, two, three) + script: \{english_number_a({input})\} + refer script: + name: as words, use "" for 1 + description: (, two, three) + script: \{english_number_multiple({input})\} +keyword parameter type: + name: action + match: [^(:\n]+ + separator after is: [.] + reminder script: alternative_cost() +keyword parameter type: + name: one_word + match: [A-Za-z0-9]+ +keyword parameter type: + name: name + match: [^(.:;\n—]+ + refer script: + name: normal + description: No changes made. + script: \{{input}\} + refer script: + name: singular + description: Removes plurality from words. + script: \{english_singular({input})\} +keyword parameter type: + name: english_number + match: [ upto]*[(an? |one |two |three |four |five |six |seven |eight |nine |ten )]* +keyword parameter type: + name: prefix + description: Prefix for things like "walk" + optional: false + match: [A-Z][A-Z,a-z’ ]* + example: Forest +keyword parameter type: + name: a + match: [an?]* +keyword parameter type: + name: nonland + match: ( n?o?n?l?a?n?d? ?) +############################# All Magic keywords +# By JrEye and Neko_Asakami, Updated by Pichoro and Buttock1234 +keyword: + keyword: Flying + match: flying + mode: core + reminder: It can’t be blocked except by creatures with flying or reach. +keyword: + keyword: First strike + match: first strike + mode: core + reminder: It deals combat damage before creatures without first strike. +keyword: + keyword: Trample + match: trample + mode: core + reminder: If it would deal enough combat damage to its blockers to destroy them, you may have it deal the rest of its damage to defending player or planeswalker. +keyword: + keyword: Banding + match: banding + mode: old + reminder: Any creatures with banding, and up to one without, can attack in a band. Bands are blocked as a group. If any creatures with banding you control are blocking or being blocked by a creature, you divide that creature’s combat damage, not its controller, among any of the creatures it’s being blocked by or is blocking. +keyword: + keyword: Landwalk + match: prefixwalk + mode: core + reminder: This creature is unblockable as long as defending player controls a {if match(param1.value, match: " land$") or contains(param1.value, match: "Snow") or contains(param1.value, match:"Basic") or contains(param1.value, match:"Legendary") then "{to_lower(param1)}" else "{param1}"}. +keyword: + keyword: Protection from + match: protection from name + mode: core + reminder: It can’t be blocked, targeted, dealt damage, enchanted, or equipped by anything {english_singular(param1)}. +keyword: + keyword: Regeneration + match: Regenerate + mode: core + reminder: The next time it would be destroyed this turn, it isn’t. If it is a creature, instead tap it, remove all damage from it, and remove it from combat. +keyword: + keyword: Bands with other + match: bands with other name + mode: old + reminder: Any {param1} can attack in a band as long as at least one has “bands with other {param1}.” Bands are blocked as a group. If at least two {param1} you control, one of which has “bands with other {param1},” are blocking or being blocked by the same creature, you divide that creature’s combat damage, not its controller, among any of the creatures it’s being blocked by or is blocking. +keyword: + keyword: Rampage + match: rampage number + mode: old + reminder: Whenever it becomes blocked, it gets +{param1}/+{param1} until end of turn for each creature blocking it beyond the first. +keyword: + keyword: Cumulative upkeep + match: cumulative upkeep cost + mode: old + reminder: At the beginning of your upkeep, put an age counter on it, then sacrifice it unless you pay its upkeep cost for each age counter on it. +keyword: + keyword: Phasing + match: phasing + mode: old + reminder: It phases in or out before you untap during each of your untap steps. While it’s phased out, it’s treated as though it doesn’t exist. +keyword: + keyword: Flanking + match: flanking + mode: expert + reminder: Whenever a creature without flanking blocks the creature, the blocking creature gets -1/-1 until end of turn. +keyword: + keyword: Shadow + match: shadow + mode: expert + reminder: It can block or be blocked by only creatures with shadow. +keyword: + keyword: Denimwalk + match: denimwalk + mode: old + reminder: If defending player is wearing any clothing made of denim, the creature is unblockable. +keyword: + keyword: Buyback + match: buyback cost + mode: expert + reminder: You may {for_mana_costs(add:"pay an additional ",param1)} as you cast it. If you do, put it into your hand as it resolves. +keyword: + keyword: Echo + match: echo cost + mode: expert + reminder: At the beginning of your upkeep, if the permanent came under your control since the beginning of your last upkeep, sacrifice it unless you pay its echo cost. +keyword: + keyword: Cycling + match: cycling cost + mode: expert + reminder: {param1}, Discard it: Draw a card. +keyword: + keyword: Haste + match: haste + mode: core + reminder: It can attack and T as soon as it comes under your control. +keyword: + keyword: Horsemanship + match: horsemanship + mode: old + reminder: It can’t be blocked except by creatures with horsemanship. +keyword: + keyword: Fading + match: fading number + mode: expert + reminder: It enters the battlefield with {english_number_a(param1)} fade counter(s) on it. At the beginning of your upkeep, remove a fade counter from it. If you can’t, sacrifice it. +keyword: + keyword: Kicker + match: kicker cost + mode: expert + reminder: You may {for_mana_costs(add:"pay an additional ",param1)} as you cast the card. +keyword: + keyword: Flashback + match: flashback cost + mode: expert + reminder: You may cast it from your graveyard for its flashback cost. Then exile it. +keyword: + keyword: Threshold + match: Threshold + mode: pseudo + rules: Threshold — [effect] as long as seven or more cards are in your graveyard. +keyword: + keyword: Madness + match: madness cost + mode: expert + reminder: If you discard it, you may cast it for its madness cost instead of putting it into your graveyard. +keyword: + keyword: Morph + match: morph cost + mode: expert + reminder: You may cast it face down as a 2/2 creature for 3. Turn it face up any time for its morph cost. +keyword: + keyword: Fear + match: fear + mode: old + reminder: It can’t be blocked except by artifact creatures and/or black creatures. +keyword: + keyword: Amplify + match: amplify number + mode: expert + reminder: As it enters the battlefield, put {english_number_a(param1)} +1/+1 counter(s) on it for each creature that shares a type with it that you reveal in your hand. +keyword: + keyword: Double strike + match: double strike + mode: core + reminder: It deals both first-strike and regular combat damage. +keyword: + keyword: Provoke + match: provoke + mode: expert + reminder: When it attacks, you may have target creature defending player controls untap and block it if able. +keyword: + keyword: Typecycling + match: prefixcycling cost + mode: expert + reminder: {param2}, Discard it: Search your library for a {param1} card, reveal it, and put it into your hand. Then shuffle your library. +keyword: + keyword: Storm + match: storm + mode: expert + reminder: When you cast it, copy it for each spell cast before it this turn. You may choose new targets for the copies. +keyword: + keyword: Affinity for + match: affinity for name + mode: expert + reminder: It costs 1 less to cast for each {english_singular(param1)} you control. +keyword: + keyword: Entwine + match: entwine cost + mode: expert + reminder: Choose both if you pay the entwine cost. +keyword: + keyword: Equip + match: equip cost + mode: core + reminder: {param1}: Attach to target creature you control. Equip only as a sorcery. +keyword: + keyword: Imprint + match: Imprint + mode: pseudo + rules: Imprint — When it enters the battlefield, you may exile a [something] from [somewhere]. +keyword: + keyword: Modular + match: modular number + mode: expert + reminder: It enters the battlefield with {english_number_a(param1)} +1/+1 counter(s) on it. When it’s put into a graveyard, you may put its +1/+1 counters on target artifact creature. +keyword: + keyword: Scry + match: Scry number + mode: expert + reminder: + To scry {param1}, look at the top { + if param1.value==1 then "card of your library, then you may put that card on the bottom of your library." + else "{english_number(param1)} cards of your library. Put any number of them on the bottom of your library in any order and the rest on top in any order." + } +keyword: + keyword: Sunburst + match: sunburst + mode: expert + reminder: It enters the battlefield with a +1/+1 counter on it for each color of mana spent to cast it. If it isn’t a creature, use charge counters instead. +keyword: + keyword: Art rampage + match: art rampage number + mode: expert + reminder: Whenever it blocked by a creature, it gets +{param1}/+{param1} for each creature in the blocker’s art beyond the first. +keyword: + keyword: Super haste + match: Super haste + mode: expert + reminder: It may attack the turn before you cast it. (You may have it enter the battlefield from your hand, tapped and attacking, during your declare attackers step. If you do, you lose the game at the end of your next turn unless you pay its mana cost during that turn.) +keyword: + keyword: Gotcha + match: Gotcha + mode: pseudo + rules: Gotcha — Whenever an opponent [does something], you may say “Gotcha!”. If you do, return [something] from your graveyard to your hand. +keyword: + keyword: Splice + match: splice onto name cost + mode: expert + reminder: As you cast a {param1} spell, you may reveal the card from your hand and pay its splice cost. If you do, add its effects to that spell. +keyword: + keyword: Bushido + match: bushido number + mode: expert + reminder: When it blocks or becomes blocked, it gets +{param1}/+{param1} until end of turn. +keyword: + keyword: Soulshift + match: soulshift number + mode: expert + reminder: When it is put into a graveyard from the battlefield, you may return target Spirit card with converted mana cost {param1} or less from your graveyard to your hand. +keyword: + keyword: Enchant + match: enchant name + mode: core + reminder: Target a {param1} as you cast the card. The card enters the battlefield attached to that {param1}. +keyword: + keyword: Vigilance + match: vigilance + mode: core + reminder: Attacking doesn’t cause it to tap. +keyword: + keyword: Defender + match: defender + mode: core + reminder: It can’t attack. +keyword: + keyword: Offering + match: prefix offering + mode: expert + reminder: You may cast it any time you could cast an instant by sacrificing a {param1} and paying the difference in mana costs between it and the sacrificed {param1}. Mana cost includes color. +keyword: + keyword: Ninjutsu + match: ninjutsu cost + mode: expert + reminder: {param1}, Return an unblocked attacker you control to hand: Put that card onto the battlefield from your hand tapped and attacking. +keyword: + keyword: Epic + match: epic + mode: expert + reminder: For the rest of the game, you can’t cast spells. At the beginning of each of your upkeeps, copy the card except for its epic ability. If it has any targets, you may choose new targets for the copy. +keyword: + keyword: Channel + match: Channel + mode: pseudo + rules: Channel — [cost], Discard a card: [effect]. +keyword: + keyword: Sweep + match: Sweep + mode: pseudo + rules: Sweep — Return any number of [basic land type] you control to their owner’s hand. [effect based on number of lands returned]. +keyword: + keyword: Convoke + match: convoke + mode: expert + reminder: Each creature you tap while casting the card reduces its cost by 1 or by one mana of that creature’s color. +keyword: + keyword: Transmute + match: transmute cost + mode: expert + reminder: {param1}, Discard it: Search your library for a card with the same converted mana cost as the discarded card, reveal it, and put it into your hand. Then shuffle your library. Transmute only as a sorcery. +keyword: + keyword: Dredge + match: dredge number + mode: expert + reminder: If you would draw a card, instead you may put exactly {english_number(param1)} card(s) from the top of your library into your graveyard. If you do, return the card from your graveyard to your hand. Otherwise, draw a card. +keyword: + keyword: Radiance + match: Radiance + mode: pseudo + rules: Radiance — [effect to target permanent or spell and all cards of same card type that share a color with it]. +keyword: + keyword: Haunt + match: haunt + mode: expert + reminder: When it is put into a graveyard from the battlefield, or when it resolves if it is not a permanent, exile it haunting target creature. +keyword: + keyword: Bloodthirst + match: bloodthirst number + mode: expert + reminder: If an opponent was dealt damage this turn, the permanent enters the battlefield with {english_number_a(param1)} +1/+1 counter(s) on it. +keyword: + keyword: Replicate + match: replicate cost + mode: expert + reminder: When you cast it, copy it for each time you paid its replicate cost. You may choose new targets for the copies. +keyword: + keyword: Graft + match: graft number + mode: expert + reminder: It enters the battlefield with {english_number_a(param1)} +1/+1 counter(s) on it. Whenever a creature enters the battlefield, you may move a +1/+1 counter from the permanent onto it. +keyword: + keyword: Forecast + match: forecast — action, Reveal name from your hand: action + mode: expert + reminder: Activate the ability only during your upkeep and only once each turn. +keyword: + keyword: Hellbent + match: Hellbent + mode: pseudo + rules: Hellbent — [effect] if you have no cards in hand. +keyword: + keyword: Recover + match: recover cost + mode: expert + reminder: When a creature is put into your graveyard from the battlefield, you may {for_mana_costs(add:"pay ",param1)}. If you do, return the card from your graveyard to your hand. Otherwise, exile this card. +keyword: + keyword: Ripple + match: ripple number + mode: expert + reminder: When you cast it, you may reveal the top {english_number_multiple(param1)} card(s) of your library. You may cast any revealed cards with the same name as the card without paying their mana costs. Put the rest on the bottom of your library. +keyword: + keyword: Flash + match: flash + mode: core + reminder: You may cast it any time you could cast an instant. +keyword: + keyword: Split second + match: split second + mode: expert + reminder: As long as it is on the stack, players can’t cast spells or activate abilities that aren’t mana abilities. +keyword: + keyword: Suspend + match: suspend numbercost + mode: expert + reminder: Rather than cast it from your hand, you may pay {param2} and exile it with {english_number_a(param1)} time counter(s) on it. At the beginning of your upkeep, remove a time counter. When the last is removed, cast it without paying its mana cost. If it is a creature, it has haste. +keyword: + keyword: Vanishing + match: vanishing number + mode: expert + reminder: It enters the battlefield with {english_number_a(param1)} time counter(s) on it. At the beginning of your upkeep, remove a time counter from it. When the last is removed, sacrifice it. +keyword: + keyword: Deathtouch + match: deathtouch + mode: expert + reminder: Any amount of damage it deals to a creature is enough to destroy it. +keyword: + keyword: Reach + match: reach + mode: core + reminder: It can block creatures with flying. +keyword: + keyword: Gravestorm + match: gravestorm + mode: expert + reminder: When you cast it, copy it for each permanent put into a graveyard this turn. You may choose new targets for the copies. +keyword: + keyword: Lifelink + match: lifelink + mode: core + reminder: Damage dealt by it also causes you to gain that much life. +keyword: + keyword: Absorb + match: absorb number + mode: expert + reminder: If a source would deal damage to it, prevent {param1} of that damage. +keyword: + keyword: Fateseal + match: fateseal number + mode: expert + reminder: + Look at the top { + if param1.value==1 then "card of an opponent’s library, then you may put it on the bottom of that player’s library." + else "{english_number(param1)} cards of an opponent’s library, then put any number of them on the bottom of that player’s library and the rest on top in any order." + } +keyword: + keyword: Transfigure + match: transfigure cost + mode: expert + reminder: {param1}, Sacrifice it: Search your library for a creature card with the same converted mana cost as the sacrificed card and put that card onto the battlefield. Then shuffle your library. Transfigure only as a sorcery. +keyword: + keyword: Aura swap + match: aura swap cost + mode: expert + reminder: {param1}: Exchange it with an Aura card in your hand. +keyword: + keyword: Frenzy + match: frenzy number + mode: expert + reminder: Whenever it attacks and isn’t blocked, it gets +{param1}/+0 until end of turn. +keyword: + keyword: Delve + match: delve + mode: expert + reminder: You may exile any number of cards in your graveyard as you cast it. It costs 1 less to cast for each card exiled this way. +keyword: + keyword: Poisonous + match: poisonous number + mode: expert + reminder: Whenever it deals combat damage to a player, that player gets {english_number_a(param1)} poison counter(s). A player with ten or more poison counters loses the game. +keyword: + keyword: Shroud + match: shroud + mode: core + reminder: It can’t be the target of spells or abilities. +keyword: + keyword: Fortify + match: fortify cost + mode: expert + reminder: {param1}: Attach to target land you control. Fortify only as a sorcery. It enters the battlefield unattached and stays on the battlefield if the land leaves. +keyword: + keyword: Grandeur + match: Grandeur + mode: pseudo + rules: Grandeur — Discard another card named [something]: [effect]. +keyword: + keyword: Evoke + match: evoke cost + mode: expert + reminder: You may cast it for its evoke cost. If you do, it’s sacrificed when it enters the battlefield. +keyword: + keyword: Champion + match: champion a name + mode: expert + reminder: When it enters the battlefield, sacrifice it unless you exile another {param2} you control. When it leaves the battlefield, return that card to the battlefield. +keyword: + keyword: Clash + match: clash + mode: expert + reminder: Each clashing player reveals the top card of his or her library, then puts that card on the top or bottom. A player wins if his or her card had a higher converted mana cost. +keyword: + keyword: Changeling + match: changeling + mode: expert + reminder: It is every creature type at all times. +keyword: + keyword: Hideaway + match: hideaway + mode: expert + reminder: The land enters the battlefield tapped. When it does, look at the top four cards of your library, exile one face down, then put the rest on the bottom of your library. +keyword: + keyword: Prowl + match: prowl cost + mode: expert + reminder: You may cast it for its prowl cost if you dealt combat damage to a player this turn with a creature that shares a type with it. +keyword: + keyword: Reinforce + match: reinforce numbercost + mode: expert + reminder: {param2}, Discard it: Put {english_number_a(param1)} +1/+1 counter(s) on target creature. +keyword: + keyword: Kinship + match: Kinship + mode: pseudo + rules: Kinship — At the beginning of your upkeep, you may look at the top card of your library. If that card shares a creature type with it, you may reveal it. If you do, [effect]. +keyword: + keyword: Persist + match: persist + mode: expert + reminder: When it is put into a graveyard from the battlefield, if it had no -1/-1 counters on it, return it to the battlefield under its owner’s control with a -1/-1 counter on it. +keyword: + keyword: Wither + match: wither + mode: expert + reminder: It deals damage to creatures in the form of -1/-1 counters. +keyword: + keyword: Conspire + match: conspire + mode: expert + reminder: As you cast it, you may tap two untapped creatures you control that share a color with it. When you do, copy it and you may choose a new target for the copy. +keyword: + keyword: Retrace + match: retrace + mode: expert + reminder: You may cast it from your graveyard by discarding a land card in addition to paying its other costs. +keyword: + keyword: Chroma + match: Chroma + mode: pseudo + rules: Chroma — [effect] based on the number of [color] mana symbols [in graveyard, under your control, in cards you discard]. +keyword: + keyword: Unearth + match: unearth cost + mode: expert + reminder: {param1}: Return it from your graveyard to the battlefield. If it is a creature, it gains haste. Exile it at the beginning of the end step or if it would leave the battlefield. Unearth only as a sorcery. +keyword: + keyword: Devour + match: devour number + mode: expert + reminder: As it enters the battlefield, you may sacrifice any number of creatures. It enters the battlefield with { if param1.value == 1 then "" else if param1.value == 2 then "twice " else english_number(param1) + " times " }that many +1/+1 counters on it. +keyword: + keyword: Exalted + match: exalted + mode: expert + reminder: Whenever a creature you control attacks alone, that creature gets +1/+1 until end of turn. +keyword: + keyword: Domain + match: Domain + mode: pseudo + rules: Domain — [effect] for each basic land type among lands you control. +keyword: + keyword: Cascade + match: cascade + mode: expert + reminder: When you cast it, exile the top card of your library until you remove a nonland card that costs less. You may cast that card without paying its mana cost. Put the exiled cards on the bottom of your library at random. +keyword: + keyword: Intimidate + match: intimidate + mode: core + reminder: It can’t be blocked except by artifact creatures and/or creatures that share a color with it. +keyword: + keyword: Landfall + match: Landfall + mode: pseudo + rules: Landfall — Whenever a land enters the battlefield under your control, [effect]. +keyword: + keyword: Multikicker + match: multikicker cost + mode: expert + reminder: You may {for_mana_costs(add:"pay an additional ", param1)} any number of times as you cast it. +keyword: + keyword: Annihilator + match: annihilator number + mode: expert + reminder: Whenever it attacks, defending player sacrifices {english_number_a(param1)} permanent(s). +keyword: + keyword: Rebound + match: rebound + mode: expert + reminder: If you cast it from your hand, exile it as it resolves. At the beginning of your next upkeep, you may cast it from exile without paying its mana cost. +keyword: + keyword: Totem armor + match: totem armor + mode: expert + reminder: If enchanted creature would be destroyed, instead remove all damage from the creature and destroy it. +keyword: + keyword: Level up + match: level up cost + mode: expert + reminder: {param1}: Put a level counter on it. Level up only as a sorcery. +keyword: + keyword: Infect + match: infect + mode: expert + reminder: This creature deals damage to creatures in the form of -1/-1 counters and to players in the form of poison counters. +keyword: + keyword: Proliferate + match: proliferate + mode: expert + reminder: You may choose any number of permanents and/or players with counters on them, then give each another counter of a kind already there. +keyword: + keyword: Metalcraft + match: Metalcraft + mode: pseudo + rules: Metalcraft — As long as you control three or more artifacts, [effect]. +keyword: + keyword: Battle cry + match: battle cry + mode: expert + reminder: Whenever it attacks, each other attacking creature gets +1/+0 until end of turn. +keyword: + keyword: Living weapon + match: living weapon + mode: expert + reminder: When it enters the battlefield, put a 0/0 black Germ creature token onto the battlefield, then attach it to the creature. +keyword: + keyword: Hexproof + match: hexproof + mode: core + reminder: It can't be the target of spells or abilities your opponents control. +keyword: + keyword: Morbid + match: Morbid + mode: pseudo + rules: Morbid — If a creature died this turn, [effect]. +keyword: + keyword: Fight + match: fight + mode: action + reminder: Each deals damage equal to its power to the other. +keyword: + keyword: Undying + match: undying + mode: expert + reminder: When it dies, if it had no +1/+1 counters on it, return it to the battlefield under its owner's control with a +1/+1 counter on it. +keyword: + keyword: Fateful hour + match: Fateful hour + mode: pseudo + rules: Fateful hour — As long as you have 5 or less life, [effect]. +keyword: + keyword: Miracle + match: miracle cost + mode: expert + reminder: You may cast it for its miracle cost when you draw it if it's the first card you drew this turn. +keyword: + keyword: Soulbond + match: soulbond + mode: expert + reminder: You may pair it with another unpaired creature when either enters the battlefield. They remain paired for as long as you control both of them. +keyword: + keyword: Detain + match: detainenglish_numbertargetnonlandone_word + mode: action + reminder: Until your next turn, {if contains(param1.value, match:"one") or param1.value == " " then "that" else "those"} {param3} can't attack or block and its activated abilities can't be activated. +keyword: + keyword: Overload + match: overload cost + mode: expert + reminder: You may cast it for its overload cost. If you do, change its text by replacing all instances of "target" with "each". +keyword: + keyword: Unleash + match: unleash + mode: expert + reminder: You may have it enter the battlefield with a +1/+1 counter on it. It can't block as long as it has a +1/+1 counter on it. +keyword: + keyword: Scavenge + match: scavenge cost + mode: expert + reminder: {param1}, Exile it from your graveyard: Put a number of +1/+1 counters equal to its power on target creature. Scavenge only as a sorcery. +keyword: + keyword: Populate + match: populate + mode: action + reminder: Put a token onto the battlefield that's a copy of a creature token you control. +keyword: + keyword: Extort + match: extort + mode: expert + reminder: Whenever you cast spell, you may pay [W/B]. If you do, each opponent loses 1 life and you gain that much life. +keyword: + keyword: Cipher + match: cipher + mode: expert + reminder: Then you may exile it encoded on a creature you control. Whenever that creature deals combat damage to a player, its controller may cast a copy of the encoded card without paying its mana cost. +keyword: + keyword: Bloodrush + match: Bloodrush + mode: pseudo + rules: Bloodrush — [cost], Discard ~: Target attacking creature gets [effect]. +keyword: + keyword: Battalion + match: Battalion + mode: pseudo + rules: Battalion — Whenever ~ and at least two other creatures attack, [effect]. +keyword: + keyword: Evolve + match: evolve + mode: expert + reminder: Whenever a creature enters the battlefield under your control, if that creature has greater power or toughness than it, put a +1/+1 counter on it. +keyword: + keyword: Fuse + match: fuse + mode: expert + reminder: You may cast one or both halves of it from your hand. +keyword: + keyword: Indestructible + match: indestructible + mode: core + reminder: Damage and effects that say "destroy" don't destroy it. +keyword: + keyword: Hero's Reward + match: Hero's Reward + mode: pseudo +keyword: + keyword: Monstrosity + match: monstrosity number + mode: expert + reminder: If it isn’t monstrous, put {english_number_a(param1)} +1/+1 counter(s) on it and it becomes monstrous. +keyword: + keyword: Heroic + match: Heroic + mode: pseudo + rules: Whenever you cast a spell that targets ~, [effect]. +keyword: + keyword: Bestow + match: bestow cost + mode: expert + reminder: If you cast it for its bestow cost, it's an Aura spell with enchant creature. It becomes a creature again if it's not attached to a creature. +keyword: + keyword: Devotion + match: devotion to action + mode: action + reminder: Each {color_to_mana(param1)} in the mana costs of permanents you control counts toward your devotion to {param1}. +keyword: + keyword: Tribute + match: tribute number + mode: expert + reminder: As it enters the battlefield, an opponent of your choice may put {english_number_a(param1)} +1/+1 counter(s) on it. +keyword: + keyword: Inspiration + match: Inspiration + mode: pseudo + rules: Inspiration - Whenever ~ becomes untapped, [effect]. diff --git a/planechase.mse-game/keywords b/planechase.mse-game/keywords new file mode 100644 index 0000000..aa822b7 --- /dev/null +++ b/planechase.mse-game/keywords @@ -0,0 +1,1263 @@ + +############################################################## We have keywords + +has keywords: true + +############################################################## Keyword mode + +keyword mode: + name: old + description: Old keywords (Banding, Phasing, etc.) +keyword mode: + name: core + description: Core set keywords (Flying, Haste, etc.) +keyword mode: + name: expert + description: Expert set keywords (Cycling, Vanishing, etc.) +keyword mode: + name: pseudo + description: Pseudo keyword / Ability words (Hellbent, Threshold, etc.) +keyword mode: + name: action + description: Keyword actions, reminder text at end of line (Scry, Regenerate, etc.) +keyword mode: + is default: true + name: custom + description: Custom keywords + +############################################################## Keyword parameter types + +keyword parameter type: + name: mana + match: [HSCTQXYZI0-9WUBRG/|]+ + refer script: + name: normal + description: No changes made + script: \{{input}\} + refer script: + name: converted mana cost + description: Converts mana to number + # "0" left in so users can easily see how to edit script. + script: \{cmc({input})\} + refer script: + name: colored mana cost + description: Converts mana to number of colored mana + # "0" left in so users can easily see how to edit script. + script: \{colored_mana({input})\} + +# By pichoro and bunnierein +keyword parameter type: + name: cost + match: [ ][HSCTQXYZI0-9WUBRG/|]*|[-—][^(\n]* + separator before is: [ —-] + separator after is: [.] + optional: false + # note: the separator is part of match + refer script: + name: normal + description: When using mana only costs, doesn't include anything extra in the reminder text + script: \{{input}\} + refer script: + name: add "pay an additional " for mana costs + description: When using mana only costs, words the reminder text as "pay an additional " + script: \{for_mana_costs(add:"pay an additional ", {input})\} + refer script: + name: add "pay " for mana costs + description: When using mana only costs, words the reminder text as "pay " + script: \{for_mana_costs(add:"pay ", {input})\} + separator script: long_dash() + +keyword parameter type: + name: number + match: [XYZ0-9]+ + refer script: + name: normal + description: (1,2,3) + script: \{{input}\} + refer script: + name: as words + description: (one, two, three) + script: \{english_number({input})\} + refer script: + name: as words, use "a" for 1 + description: (a, two, three) + script: \{english_number_a({input})\} + refer script: + name: as words, use "" for 1 + description: (, two, three) + script: \{english_number_multiple({input})\} + refer script: + name: as ordinal words + description: (first, second, third) + script: \{english_number_ordinal({input})\} + +keyword parameter type: + name: action + match: [^(:\n]+ + separator after is: [.] + reminder script: alternative_cost() + +keyword parameter type: + name: one_word + match: [A-Za-z0-9]+ + +keyword parameter type: + name: name + match: [^(.:;\n—]+ + refer script: + name: normal + description: No changes made. + script: \{{input}\} + refer script: + name: singular + description: Removes plurality from words. + script: \{english_singular({input})\} + refer script: + name: separate words with "and/or" + description: Changes spaces to " and/or ". "Elf Warrior" becomes "Elf and/or Warrior". + script: \{separate_words(spacer: " and/or ", {input})\} + refer script: + name: separate words with "or" + description: Changes spaces to " or ". "Elf Warrior" becomes "Elf or Warrior". + script: \{separate_words(spacer: " or ", {input})\} + +keyword parameter type: + name: prefix + description: Prefix for things like "walk" + optional: false +# match: [A-Z][a-z, ]*([A-Z][a-z, ]*\xEB00) # commented out because it stopped prefix param from working, version below allows all "walks", including "Dame Judi Denchwalk", doesn't trigger #in middle of sentences, and doesn't trigger in chains of keywords. +# match: [A-Z][A-Z,a-z’ ]* # commented out due to still not working + match: [^(.:;\n—]+ + example: Forest +keyword parameter type: + name: english_number + match: [ upto]*[(an? |one |two |three |four |five |six |seven |eight |nine |ten )]* + +keyword parameter type: + name: a + match: [an?]* +keyword parameter type: + name: nonland + match: ( n?o?n?l?a?n?d? ?) + +############################# All Magic keywords +# By JrEye and Neko_Asakami, Updated by Pichoro and Buttock1234 + +# Alpha +keyword: + keyword: Flying + match: Flying + mode: core + reminder: This creature can’t be blocked except by creatures with flying or reach. +keyword: + keyword: First strike + match: First strike + mode: core + reminder: This creature deals combat damage before creatures without first strike. +keyword: + keyword: Trample + match: Trample + mode: core + reminder: This creature can deal excess combat damage to defending player or planeswalker while attacking. +keyword: + keyword: Banding + match: Banding + mode: old + reminder: Any creatures with banding, and up to one without, can attack in a band. Bands are blocked as a group. If any creatures with banding you control are blocking or being blocked by a creature, you divide that creature’s combat damage, not its controller, among any of the creatures it’s being blocked by or is blocking. +keyword: + keyword: Landwalk + match: prefixwalk + mode: old + reminder: This creature can't be blocked as long as defending player controls a {if match(param1.value, match: " land$") or contains(param1.value, match: "Snow") or contains(param1.value, match:"Basic") or contains(param1.value, match:"Legendary") then "{to_lower(param1)}" else "{param1}"}. +keyword: + keyword: Protection from + match: Protection from name + mode: expert + reminder: Nothing {english_singular(param1)} can block, target, deal damage to, or attach to {if has_pt() then "this creature" else "this permanent"}. +keyword: + keyword: Regeneration + match: Regenerate + mode: action + reminder: The next time {if has_pt() then "this creature" else "this"} would be destroyed this turn, it isn’t.{if has_pt() then " Instead tap it, remove all damage from it, and remove it from combat." else " Instead tap it."} +# Legends +keyword: + keyword: Bands with other + match: Bands with other name + mode: old + reminder: Any {param1} can attack in a band as long as at least one has “bands with other {param1}.” Bands are blocked as a group. If at least two {param1} you control, one of which has “bands with other {param1},” are blocking or being blocked by the same creature, you divide that creature’s combat damage, not its controller, among any of the creatures it’s being blocked by or is blocking. +keyword: + keyword: Rampage + match: Rampage number + mode: old + reminder: Whenever this creature becomes blocked, it gets +{param1}/+{param1} until end of turn for each creature blocking it beyond the first. +# Ice Age +keyword: + keyword: Cumulative upkeep + match: Cumulative upkeep cost + mode: old + reminder: At the beginning of your upkeep, put an age counter on this permanent, then sacrifice it unless you pay its upkeep cost for each age counter on it. +# Mirage +keyword: + keyword: Phasing + match: Phasing + mode: old + reminder: This phases in or out before you untap during each of your untap steps. While it’s phased out, it’s treated as though it doesn’t exist. +keyword: + keyword: Flanking + match: Flanking + mode: expert + reminder: Whenever a creature without flanking blocks this creature, the blocking creature gets -1/-1 until end of turn. +# Unglued +keyword: + keyword: Denimwalk + match: Denimwalk + mode: old + reminder: If defending player is wearing any clothing made of denim, this creature is unblockable. +# Tempest +keyword: + keyword: Shadow + match: Shadow + mode: expert + reminder: This creature can block or be blocked by only creatures with shadow. +keyword: + keyword: Buyback + match: Buyback cost + mode: expert + reminder: You may {for_mana_costs(add:"pay an additional ",param1)} as you cast this spell. If you do, put this card into your hand as it resolves. +# Urza's Saga +keyword: + keyword: Echo + match: Echo cost + mode: expert + reminder: At the beginning of your upkeep, if this came under your control since the beginning of your last upkeep, sacrifice it unless you pay its echo cost. +keyword: + keyword: Cycling + match: Cycling cost + mode: expert + reminder: {param1}, Discard this card: Draw a card. +# Sixth Edition +keyword: + keyword: Haste + match: Haste + mode: core + reminder: This creature can attack and T as soon as it comes under your control. +# Portal: Three Kingdoms +keyword: + keyword: Horsemanship + match: Horsemanship + mode: old + reminder: This creature can’t be blocked except by creatures with horsemanship. +# Nemesis +keyword: + keyword: Fading + match: Fading number + mode: expert + reminder: This {if has_pt() then "creature" else "permanent"} enters the battlefield with {english_number_a(param1)} fade counter(s) on it. At the beginning of your upkeep, remove a fade counter from it. If you can’t, sacrifice it. +# Invasion +keyword: + keyword: Kicker + match: Kicker cost + mode: expert + reminder: You may {for_mana_costs(add:"pay an additional ", param1)} as you cast this spell. +# Odyssey +keyword: + keyword: Flashback + match: Flashback cost + mode: expert + reminder: You may cast this card from your graveyard for its flashback cost. Then exile it. +keyword: + keyword: Threshold + match: Threshold + mode: pseudo + rules: Threshold — [effect] as long as seven or more cards are in your graveyard. +# Torment +keyword: + keyword: Madness + match: Madness cost + mode: expert + reminder: If you discard this card, discard it into exile. When you do, cast it for its madness cost or put it into your graveyard. +# Onslaught +keyword: + keyword: Morph + match: Morph cost + mode: expert + reminder: You may cast this card face down as a 2/2 creature for 3. Turn it face up any time for its morph cost. +keyword: + keyword: Fear + match: Fear + mode: old + reminder: This creature can’t be blocked except by artifact creatures and/or black creatures. +# Legions +keyword: + keyword: Amplify + match: Amplify number + mode: expert + reminder: As this creature enters the battlefield, put {english_number_a(param1)} +1/+1 counter(s) on it for each {separate_words(spacer: " and/or ", card.sub_type)} card you reveal in your hand. +keyword: + keyword: Double strike + match: Double strike + mode: core + reminder: This creature deals both first-strike and regular combat damage. +keyword: + keyword: Provoke + match: Provoke + mode: expert + reminder: When this attacks, you may have target creature defending player controls untap and block it if able. +# Scourge +keyword: + keyword: Typecycling + match: one_wordcycling cost + mode: action + reminder: {param2}, Discard this card: Search your library for a {param1} card, reveal it, and put it into your hand. Then shuffle your library. +keyword: + keyword: Storm + match: Storm + mode: expert + reminder: When you cast this spell, copy it for each spell cast before it this turn.{ if is_targeted() then " You may choose new targets for the copies." } +# Mirrodin +keyword: + keyword: Affinity for + match: Affinity for name + mode: expert + reminder: This spell costs 1 less to cast for each {english_singular(param1)} you control. +keyword: + keyword: Entwine + match: Entwine cost + mode: expert + reminder: Choose both if you pay the entwine cost. +keyword: + keyword: Equip + match: Equip cost + mode: core + reminder: {param1}: Attach to target creature you control. Equip only as a sorcery. +keyword: + keyword: Imprint + match: Imprint + mode: pseudo + rules: When ~ enters the battlefield, you may exile a [something] from [somewhere]. +# Darksteel +keyword: + keyword: Modular + match: Modular number + mode: expert + reminder: This enters the battlefield with {english_number_a(param1)} +1/+1 counter(s) on it. When it dies, you may put its +1/+1 counters on target artifact creature. +# Fifth Dawn +keyword: + keyword: Scry + match: Scry number + mode: action + reminder: + To scry {param1}, look at the top { + if param1.value==1 then "card of your library. You may put that card on the bottom of your library." + else "{english_number(param1)} cards of your library, then put any number of them on the bottom of your library and the rest on top in any order." + } +keyword: + keyword: Sunburst + match: Sunburst + mode: expert + reminder: This enters the battlefield with a {if has_pt() then "+1/+1" else "charge"} counter on it for each color of mana spent to cast it. +# Unhinged +keyword: + keyword: Art rampage + match: Art rampage number + mode: expert + reminder: Whenever this becomes blocked by a creature, it gets +{param1}/+{param1} for each creature in the blocker’s art beyond the first. +keyword: + keyword: Super haste + match: Super haste + mode: expert + reminder: This may attack the turn before you cast it. (You may have this card enter the battlefield from your hand, tapped and attacking, during your declare attackers step. If you do, you lose the game at the end of your next turn unless you pay this card’s mana cost during that turn.) +keyword: + keyword: Gotcha + match: Gotcha + mode: pseudo + rules: Gotcha — Whenever an opponent [does something], you may say “Gotcha!”. If you do, return [something] from your graveyard to your hand. +# Champions of Kamigawa +keyword: + keyword: Splice + match: Splice onto name cost + mode: expert + reminder: As you cast a {param1} spell, you may reveal this card from your hand and pay its splice cost. If you do, add this card’s effects to that spell. +keyword: + keyword: Bushido + match: Bushido number + mode: expert + reminder: When this blocks or becomes blocked, it gets +{param1}/+{param1} until end of turn. +keyword: + keyword: Soulshift + match: Soulshift number + mode: expert + reminder: When this creature dies, you may return target Spirit card with converted mana cost {param1} or less from your graveyard to your hand. +keyword: + keyword: Enchant + match: Enchant name + mode: core + reminder: Target a {param1} as you cast this. This card enters the battlefield attached to that {param1}. +keyword: + keyword: Vigilance + match: Vigilance + mode: core + reminder: Attacking doesn’t cause this creature to tap. +keyword: + keyword: Defender + match: Defender + mode: core + reminder: This creature can’t attack. +# Betrayers of Kamigawa +keyword: + keyword: Offering + match: prefix offering + mode: expert + reminder: You may cast this card any time you could cast an instant by sacrificing a {param1} and paying the difference in mana costs between this and the sacrificed {param1}. Mana cost includes color. +keyword: + keyword: Ninjutsu + match: Ninjutsu cost + mode: expert + reminder: {param1}, Return an unblocked attacker you control to hand: Put this card onto the battlefield from your hand tapped and attacking. +# Saviors of Kamigawa +keyword: + keyword: Epic + match: Epic + mode: expert + reminder: For the rest of the game, you can’t cast spells. At the beginning of each of your upkeeps, copy this spell except for its epic ability.{ if is_targeted() then " You may choose a new target for the copy." } +keyword: + keyword: Channel + match: Channel + mode: pseudo + rules: Channel — [cost], Discard ~: [effect]. +keyword: + keyword: Sweep + match: Sweep + mode: pseudo + rules: Sweep — Return any number of [basic land type] you control to their owner’s hand. [effect based on number of lands returned]. +# Ravnica: City of Guilds +keyword: + keyword: Convoke + match: Convoke + mode: expert + reminder: Your creatures can help cast this spell. Each creature you tap while casting this spell pays for 1 or one mana of that creature’s color. +keyword: + keyword: Transmute + match: Transmute cost + mode: expert + reminder: {param1}, Discard this card: Search your library for a card with the same converted mana cost as this card, reveal it, and put it into your hand. Then shuffle your library. Transmute only as a sorcery. +keyword: + keyword: Dredge + match: Dredge number + mode: expert + reminder: If you would draw a card, instead you may put exactly {english_number(param1)} card(s) from the top of your library into your graveyard. If you do, return this card from your graveyard to your hand. Otherwise, draw a card. +keyword: + keyword: Radiance + match: Radiance + mode: pseudo + rules: Radiance — [effect to target permanent or spell and all cards of same card type that share a color with it] +# Guildpact +keyword: + keyword: Haunt + match: Haunt + mode: expert + reminder: When this { if is_spell() then "spell card is put into a graveyard after resolving," else "creature dies," } exile it haunting target creature. +keyword: + keyword: Bloodthirst + match: Bloodthirst number + mode: expert + reminder: If an opponent was dealt damage this turn, this {if has_pt() then "creature" else "permanent"} enters the battlefield with {english_number_a(param1)} +1/+1 counter(s) on it. +keyword: + keyword: Replicate + match: Replicate cost + mode: expert + reminder: When you cast this spell, copy it for each time you paid its replicate cost.{ if is_targeted() then " You may choose new targets for the copies." } +# Dissension +keyword: + keyword: Graft + match: Graft number + mode: expert + reminder: {if has_pt() then "This creature" else "This permanent"} enters the battlefield with {english_number_a(param1)} +1/+1 counter(s) on it. Whenever {if has_pt() then "another" else "a"} creature enters the battlefield, you may move a +1/+1 counter from {if has_pt() then "this creature" else "this permanent"} onto it. +keyword: + keyword: Forecast + match: Forecast — action, Reveal name from your hand: action + mode: expert + reminder: Activate this ability only during your upkeep and only once each turn. +keyword: + keyword: Hellbent + match: Hellbent + mode: pseudo + rules: Hellbent — [effect] if you have no cards in hand. +# Cold Snap +keyword: + keyword: Recover + match: Recover cost + mode: expert + reminder: When a creature is put into your graveyard from the battlefield, you may {for_mana_costs(add:"pay ",param1)}. If you do, return this card from your graveyard to your hand. Otherwise, exile this card. +keyword: + keyword: Ripple + match: Ripple number + mode: expert + reminder: When you cast this spell, you may reveal the top {english_number_multiple(param1)} card(s) of your library. You may cast any revealed cards with the same name as this spell without paying their mana costs. Put the rest on the bottom of your library. +# Time Spiral +keyword: + keyword: Flash + match: Flash + mode: core + reminder: You may cast this spell any time you could cast an instant. +keyword: + keyword: Split second + match: Split second + mode: expert + reminder: As long as this spell is on the stack, players can’t cast spells or activate abilities that aren’t mana abilities. +keyword: + keyword: Suspend + match: Suspend numbercost + mode: expert + reminder: Rather than cast this card from your hand,{if has_cc() then " you may" else ""} {for_mana_costs(add:"pay ", param2)} and exile it with {english_number_a(param1)} time counter(s) on it. At the beginning of your upkeep, remove a time counter. When the last is removed, cast it without paying its mana cost.{if has_pt() then " It has haste." } +# Planar Chaos +keyword: + keyword: Vanishing + match: Vanishing number + mode: expert + reminder: This permanent enters the battlefield with {english_number_a(param1)} time counter(s) on it. At the beginning of your upkeep, remove a time counter from it. When the last is removed, sacrifice it. +# Future Sight +keyword: + keyword: Deathtouch + match: Deathtouch + mode: core + reminder: Any amount of damage this deals to a creature is enough to destroy it. +keyword: + keyword: Reach + match: Reach + mode: core + reminder: This creature can block creatures with flying. +keyword: + keyword: Gravestorm + match: Gravestorm + mode: expert + reminder: When you cast this spell, copy it for each permanent put into a graveyard this turn.{ if is_targeted() then " You may choose new targets for the copies." } +keyword: + keyword: Lifelink + match: Lifelink + mode: core + reminder: Damage dealt by this { if has_pt() then "creature" else if is_spell() then "spell" else "permanent" } also causes you to gain that much life. +keyword: + keyword: Absorb + match: Absorb number + mode: expert + reminder: If a source would deal damage to this creature, prevent {param1} of that damage. +keyword: + keyword: Fateseal + match: Fateseal number + mode: action + reminder: + To fateseal {param1}, look at the top { + if param1.value==1 then "card of an opponent’s library, then you may put it on the bottom of that player’s library." + else "{english_number(param1)} cards of an opponent’s library, then put any number of them on the bottom of that player’s library and the rest on top in any order." + } +keyword: + keyword: Transfigure + match: Transfigure cost + mode: expert + reminder: {param1}, Sacrifice this creature: Search your library for a creature card with the same converted mana cost as this creature and put that card onto the battlefield. Then shuffle your library. Transfigure only as a sorcery. +keyword: + keyword: Aura swap + match: Aura swap cost + mode: expert + reminder: {param1}: Exchange this Aura with an Aura card in your hand. +keyword: + keyword: Frenzy + match: Frenzy number + mode: expert + reminder: Whenever this creature attacks and isn’t blocked, it gets +{param1}/+0 until end of turn. +keyword: + keyword: Delve + match: Delve + mode: expert + reminder: Each card you exile from your graveyard while casting this spell pays for 1. +keyword: + keyword: Poisonous + match: Poisonous number + mode: expert + reminder: Whenever this creature deals combat damage to a player, that player gets {english_number_a(param1)} poison counter(s). A player with ten or more poison counters loses the game. +keyword: + keyword: Shroud + match: Shroud + mode: core + reminder: This permanent can’t be the target of spells or abilities. +keyword: + keyword: Fortify + match: Fortify cost + mode: expert + reminder: {param1}: Attach to target land you control. Fortify only as a sorcery. This card enters the battlefield unattached and stays on the battlefield if the land leaves. +keyword: + keyword: Grandeur + match: Grandeur + mode: pseudo + rules: Grandeur — Discard another card named ~: [effect]. +# Lorwyn +keyword: + keyword: Evoke + match: Evoke cost + mode: expert + reminder: You may cast this spell for its evoke cost. If you do, it’s sacrificed when it enters the battlefield. +keyword: + keyword: Champion + match: Champion a name + mode: expert + reminder: When this enters the battlefield, sacrifice it unless you exile another {param2} you control. When this leaves the battlefield, that card returns to the battlefield. +keyword: + keyword: Clash + match: Clash + mode: action + reminder: Each clashing player reveals the top card of his or her library, then puts that card on the top or bottom. A player wins if his or her card had a higher converted mana cost. +keyword: + keyword: Changeling + match: Changeling + mode: expert + reminder: This card is every creature type at all times. +keyword: + keyword: Hideaway + match: Hideaway + mode: expert + reminder: This land enters the battlefield tapped. When it does, look at the top four cards of your library, exile one face down, then put the rest on the bottom of your library. +# Morningtide +keyword: + keyword: Prowl + match: Prowl cost + mode: expert + reminder: You may cast this for its prowl cost if you dealt combat damage to a player this turn with a {separate_words(spacer: " or ", card.sub_type)}. +keyword: + keyword: Reinforce + match: Reinforce numbercost + mode: expert + reminder: {param2}, Discard this card: Put {english_number_a(param1)} +1/+1 counter(s) on target creature. +keyword: + keyword: Kinship + match: Kinship + mode: pseudo + rules: Kinship — At the beginning of your upkeep, you may look at the top card of your library. If that card shares a creature type with ~, you may reveal it. If you do, [effect]. +# Shadowmoor +keyword: + keyword: Persist + match: Persist + mode: expert + reminder: When this creature dies, if it had no -1/-1 counters on it, return it to the battlefield under its owner’s control with a -1/-1 counter on it. +keyword: + keyword: Wither + match: Wither + mode: expert + reminder: This deals damage to creatures in the form of -1/-1 counters. +keyword: + keyword: Conspire + match: Conspire + mode: expert + reminder: As you cast this spell, you may tap two untapped creatures you control that share a color with it. When you do, copy it{ if is_targeted() then " and you may choose a new target for the copy" }. +# Eventide +keyword: + keyword: Retrace + match: Retrace + mode: expert + reminder: You may cast this card from your graveyard by discarding a land card in addition to paying its other costs. +keyword: + keyword: Chroma + match: Chroma + mode: pseudo + rules: Chroma — [effect] based on the number of [color] mana symbols [in graveyard, under your control, in cards you discard]. +# Shards of Alara +keyword: + keyword: Unearth + match: Unearth cost + mode: expert + reminder: {param1}: Return this card from your graveyard to the battlefield. {if has_pt() then "It gains haste. " else "" }Exile it at the beginning of the end step or if it would leave the battlefield. Unearth only as a sorcery. +keyword: + keyword: Devour + match: Devour number + mode: expert + reminder: As this enters the battlefield, you may sacrifice any number of creatures. This creature enters the battlefield with { if param1.value == 1 then "" else if param1.value == 2 then "twice " else english_number(param1) + " times " }that many +1/+1 counters on it. +keyword: + keyword: Exalted + match: Exalted + mode: expert + reminder: Whenever a creature you control attacks alone, that creature gets +1/+1 until end of turn. +# Conflux +keyword: + keyword: Basic landcycling + match: Basic landcycling cost + mode: expert + reminder: {param1}, Discard this card: Search your library for a basic land card, reveal it, and put it into your hand. Then shuffle your library. +keyword: + keyword: Domain + match: Domain + mode: pseudo + rules: Domain — [effect] for each basic land type among lands you control. +# Alara Reborn +keyword: + keyword: Cascade + match: Cascade + mode: expert + reminder: When you cast this spell, exile cards from the top of your library until you exile a nonland card that costs less. You may cast it without paying its mana cost. Put the exiled cards on the bottom in a random order. +# Magic 2010 +keyword: + keyword: Intimidate + match: Intimidate + mode: old + reminder: This creature can’t be blocked except by artifact creatures and/or creatures that share a color with it. +# Zendikar +keyword: + keyword: Landfall + match: Landfall + mode: pseudo + rules: Landfall — Whenever a land enters the battlefield under your control, [effect]. +# Worldwake +keyword: + keyword: Multikicker + match: Multikicker cost + mode: expert + reminder: You may {for_mana_costs(add:"pay an additional ", param1)} any number of times as you cast this spell. +# Rise of the Eldrazi +keyword: + keyword: Annihilator + match: Annihilator number + mode: expert + reminder: Whenever this creature attacks, defending player sacrifices {english_number_a(param1)} permanent(s). +keyword: + keyword: Rebound + match: Rebound + mode: expert + reminder: If you cast this spell from your hand, exile it as it resolves. At the beginning of your next upkeep, you may cast this card from exile without paying its mana cost. +keyword: + keyword: Totem armor + match: Totem armor + mode: expert + reminder: If enchanted {if contains(card.text, match:"Enchant creature") then "creature" else "permanent"} would be destroyed, instead remove all damage from it and destroy this Aura. +keyword: + keyword: Level up + match: Level up cost + mode: expert + reminder: {param1}: Put a level counter on this. Level up only as a sorcery. +# Scars of Mirrodin +keyword: + keyword: Infect + match: Infect + mode: expert + reminder: This creature deals damage to creatures in the form of -1/-1 counters and to players in the form of poison counters. +keyword: + keyword: Proliferate + match: Proliferate + mode: action + reminder: You choose any number of permanents and/or players with counters on them, then give each another counter of a kind already there. +keyword: + keyword: Metalcraft + match: Metalcraft + mode: pseudo + rules: Metalcraft — As long as you control three or more artifacts, [effect]. +# Mirrodin Besieged +keyword: + keyword: Battle cry + match: Battle cry + mode: expert + reminder: Whenever this creature attacks, each other attacking creature gets +1/+0 until end of turn. +keyword: + keyword: Living weapon + match: Living weapon + mode: expert + reminder: When this Equipment enters the battlefield, put a 0/0 black Germ creature token onto the battlefield, then attach this to it. +# Commander +keyword: + keyword: Join forces + match: Join forces + mode: pseudo + rules: Join forces — Starting with you, each player may [effect]. +# Magic 2012 +keyword: + keyword: Hexproof + match: Hexproof + mode: core + reminder: This creature can't be the target of spells or abilities your opponents control. +# Innistrad +keyword: + keyword: Morbid + match: Morbid + mode: pseudo + rules: Morbid — If a creature died this turn, [effect]. +keyword: + keyword: Fight + match: fight + mode: action + reminder: Each deals damage equal to its power to the other. +# Dark Ascension +keyword: + keyword: Undying + match: Undying + mode: expert + reminder: When this creature dies, if it had no +1/+1 counters on it, return it to the battlefield under its owner's control with a +1/+1 counter on it. +keyword: + keyword: Fateful hour + match: Fateful hour + mode: pseudo + rules: Fateful Hour — As long as you have 5 or less life, [effect]. +# Avacyn Restored +keyword: + keyword: Miracle + match: Miracle cost + mode: expert + reminder: You may cast this card for its miracle cost when you draw it if it's the first card you drew this turn. +keyword: + keyword: Soulbond + match: Soulbond + mode: expert + reminder: You may pair this creature with another unpaired creature when either enters the battlefield. They remain paired for as long as you control both of them. +# Return to Ravnica +keyword: + keyword: Detain + match: detainenglish_numbertargetnonlandone_word + mode: action + reminder: Until your next turn, {if contains(param1.value, match:"one") or param1.value == " " then "that" else "those"} {param3} can't attack or block and {if contains(param1.value, match:"one") or param1.value == " " then "its" else "their"} activated abilities can't be activated. +keyword: + keyword: Overload + match: Overload cost + mode: expert + reminder: You may cast this spell for its overload cost. If you do, change its text by replacing all instances of "target" with "each". +keyword: + keyword: Unleash + match: Unleash + mode: expert + reminder: You may have this creature enter the battlefield with a +1/+1 counter on it. It can't block as long as it has a +1/+1 counter on it. +keyword: + keyword: Scavenge + match: Scavenge cost + mode: expert + reminder: {param1}, Exile this card from your graveyard: Put a number of +1/+1 counters equal to this card's power on target creature. Scavenge only as a sorcery. +keyword: + keyword: Populate + match: populate + mode: action + reminder: Put a token onto the battlefield that's a copy of a creature token you control. +# Gatecrash +keyword: + keyword: Extort + match: Extort + mode: expert + reminder: Whenever you cast a spell, you may pay [W/B]. If you do, each opponent loses 1 life and you gain that much life. +keyword: + keyword: Cipher + match: Cipher + mode: expert + reminder: Then you may exile this spell card encoded on a creature you control. Whenever that creature deals combat damage to a player, its controller may cast a copy of the encoded card without paying its mana cost. +keyword: + keyword: Bloodrush + match: Bloodrush + mode: pseudo + rules: Bloodrush — [cost], Discard ~: Target attacking creature gets [effect]. +keyword: + keyword: Battalion + match: Battalion + mode: pseudo + rules: Battalion — Whenever ~ and at least two other creatures attack, [effect]. +keyword: + keyword: Evolve + match: Evolve + mode: expert + reminder: Whenever a creature enters the battlefield under your control, if that creature has greater power or toughness than this creature, put a +1/+1 counter on this creature. +# Dragon's Maze +keyword: + keyword: Fuse + match: Fuse + mode: expert + reminder: You may cast one or both halves of this card from your hand. +# Magic 2014 +keyword: + keyword: Indestructible + match: Indestructible + mode: core + reminder: {if has_pt() then "Damage and effects" else "Effects"} that say "destroy" don't destroy this {if has_pt() then "creature" else if is_artifact(card.super_type) then "artifact" else "permanent"}. +# Theros +keyword: + keyword: Hero's reward + match: Hero's Reward + mode: pseudo + rules: Hero's Reward — When ~ leaves the battlefield, each player [effect]. +keyword: + keyword: Monstrosity + match: Monstrosity number + mode: action + reminder: If this creature isn’t monstrous, put {english_number_a(param1)} +1/+1 counter(s) on it and it becomes monstrous. +keyword: + keyword: Heroic + match: Heroic + mode: pseudo + rules: Heroic — Whenever you cast a spell that targets ~, [effect]. +keyword: + keyword: Bestow + match: Bestow cost + mode: expert + reminder: If you cast this card for its bestow cost, it's an Aura spell with enchant creature. It becomes a creature again if it's not attached to a creature. +keyword: + keyword: Devotion + match: devotion to action + mode: action + reminder: Each {color_to_mana(param1)} in the mana costs of permanents you control counts toward your devotion to {param1}. +# Commander 2013 +keyword: + keyword: Tempting offer + match: Tempting offer + mode: pseudo + rules: Tempting offer - [do something]. Each opponent may [do the same]. For each opponent who does, [do something again]. +# Born of the Gods +keyword: + keyword: Tribute + match: Tribute number + mode: expert + reminder: As this creature enters the battlefield, an opponent of your choice may put {english_number_a(param1)} +1/+1 counter(s) on it. +keyword: + keyword: Inspired + match: Inspired + mode: pseudo + rules: Inspired — Whenever ~ becomes untapped, [effect]. +# Journey into Nyx +keyword: + keyword: Constellation + match: Constellation + mode: pseudo + rules: Constellation — Whenever ~ or another enchantment enters the battlefield under your control, [effect]. +keyword: + keyword: Strive + match: Strive + mode: pseudo + rules: Strive — ~ costs [mana] more to cast for each target beyond the first. +# Conspiracy +keyword: + keyword: Hidden agenda + match: Hidden agenda + mode: expert + reminder: Start the game with this conspiracy face down in the command zone and secretly name a card. You may turn this conspiracy face up any time and reveal the chosen name. +keyword: + keyword: Dethrone + match: Dethrone + mode: expert + reminder: Whenever this creature attacks the player with the most life or tied for most life, put a +1/+1 counter on it. +keyword: + keyword: Will of the council + match: Will of the council + mode: pseudo + rules: Will of the council — [some ability that involves voting, maybe between grace and condemnation] +keyword: + keyword: Parley + match: Parley + mode: pseudo + rules: Parley — Each player reveals the top card of his or her library. For each nonland card revealed this way, [effect]. Then each player draws a card. +# Khans of Tarkir +keyword: + keyword: Outlast + match: Outlast cost + mode: expert + reminder: {param1}, T: Put a +1/+1 counter on this creature. Outlast only as a sorcery. +keyword: + keyword: Prowess + match: Prowess + mode: core + reminder: Whenever you cast a noncreature spell, this creature gets +1/+1 until end of turn. +keyword: + keyword: Raid + match: Raid + mode: pseudo + rules: Raid — When ~ enters the battlefield, if you attacked with a creature this turn, [effect]. +keyword: + keyword: Ferocious + match: Ferocious + mode: pseudo + rules: Ferocious — [Whenever ~ attacks/When ~ spell resolves], if you control a creature with power 4 or greater, [effect]. +# Commander 2014 +keyword: + keyword: Lieutenant + match: Lieutenant + mode: pseudo + rules: Lieutenant - As long as you control your commander, [effect]. +# Fate Reforged +keyword: + keyword: Bolster + match: bolster number + mode: action + reminder: Choose a creature with the least toughness among creatures you control and put {english_number_a(param1)} +1/+1 counter(s) on it. +keyword: + keyword: Dash + match: Dash cost + mode: expert + reminder: You may cast this spell for its dash cost. If you do, it gains haste, and it's returned from the battlefield to its owner's hand at the beginning of the next end step. +keyword: + keyword: Manifest + match: manifest + mode: action + reminder: To manifest a card, put it onto the battlefield face down as a 2/2 creature. Turn it face up any time for its mana cost if it's a creature card. +# Dragons of Tarkir +keyword: + keyword: Exploit + match: Exploit + mode: expert + reminder: When this creature enters the battlefield, you may sacrifice a creature. +keyword: + keyword: Formidable + match: Formidable + mode: pseudo + rules: Formidable — Stuff happens if creatures you control have total power 8 or greater. +keyword: + keyword: Megamorph + match: Megamorph cost + mode: expert + reminder: You may cast this face down as a 2/2 creature for 3. Turn it face up any time for its megamorph cost and put a +1/+1 counter on it. +# Magic Origins +keyword: + keyword: Menace + match: Menace + mode: core + reminder: This creature can't be blocked except by two or more creatures. +keyword: + keyword: Renown + match: Renown number + mode: expert + reminder: When this creature deals combat damage to a player, if it isn't renowned, put {english_number_a(param1)} +1/+1 counter(s) on it and it becomes renowned. +keyword: + keyword: Spell mastery + match: Spell mastery + mode: pseudo + rules: Spell mastery -- If there are two or more instant and/or sorcery cards in your graveyard, [effect]. +# Battle for Zendikar +keyword: + keyword: Awaken + match: Awaken numbercost + mode: expert + reminder: If you cast this spell {for_mana_costs(add:"for ", param2)}, also put {english_number_a(param1)} +1/+1 counter(s) on target land you control and it becomes a 0/0 Elemental creature with haste. It's still a land. +keyword: + keyword: Devoid + match: Devoid + mode: expert + reminder: This card has no color. +keyword: + keyword: Ingest + match: Ingest + mode: expert + reminder: Whenever this creature deals combat damage to a player, that player exiles the top card of his or her library. +keyword: + keyword: Rally + match: Rally + mode: pseudo + rules: Rally -- Whenever ~ or another Ally enters the battlefield under your control, [effect]. +keyword: + keyword: Converge + match: Converge + mode: pseudo + rules: Converge -- [effect with X], where X is the number of colors of mana spent to cast ~. +# Commander 2015 +keyword: + keyword: Myriad + match: Myriad + mode: expert + reminder: Whenever this creature attacks, for each opponent other than defending player, you may create a token that's a copy of this creature that's tapped and attacking that player or a planeswalker he or she controls. If one or more tokens are created this way, exile the tokens at end of combat. +# Oath of the Gatewatch +keyword: + keyword: Surge + match: Surge cost + mode: expert + reminder: You may cast this spell for its surge cost if you or a teammate has cast another spell this turn. +keyword: + keyword: Support + match: Support number + mode: action + reminder: Put a +1/+1 counter on {if param1.value!=1 then "each of "}up to {english_number(param1)}{if has_pt() then " other"} target creature(s). +# Shadows over Innistrad +keyword: + keyword: Investigate + match: Investigate + mode: action + reminder: Create a colorless Clue artifact token with "2, Sacrifice this artifact: Draw a card." +keyword: + keyword: Skulk + match: Skulk + mode: expert + reminder: This creature can't be blocked by creatures with greater power. +keyword: + keyword: Delirium + match: Delirium + mode: pseudo + rules: Delirium - If there are four or more card types among cards in your graveyard, [effect]. +# Eldritch Moon +keyword: + keyword: Emerge + match: Emerge cost + mode: expert + reminder: You may cast this spell by sacrificing a creature and paying the emerge cost reduced by that creature's converted mana cost. +keyword: + keyword: Escalate + match: Escalate cost + mode: expert + reminder: Pay this cost for each mode chosen beyond the first. +# Conspiracy: Take the Crown +keyword: + keyword: Double agenda + match: Double agenda + mode: expert + reminder: Start the game with this conspiracy face down in the command zone and secretly name two different cards. You may turn this conspiracy face up any time and reveal the chosen names. +keyword: + keyword: Goad + match: goad + mode: action + reminder: Until your next turn, that creature attacks each combat if able and attacks a player other than you if able. +keyword: + keyword: Melee + match: Melee + mode: expert + reminder: Whenever this creature attacks, it gets +1/+1 until end of turn for each opponent you attacked with a creature this combat. +keyword: + keyword: Monarch + match: become the monarch + mode: action + reminder: The monarch draws a card at the beginning of their end step. Whenever the monarch is dealt combat damage by a creature, its controller becomes the monarch. +keyword: + keyword: Council's dilemma + match: Council's dilemma + mode: pseudo + rules: [May be something] starting with you, each player votes for [one thing or another]. +# Kaladesh +keyword: + keyword: Crew + match: Crew number + mode: expert + reminder: Tap any number of untapped creatures you control with total power {param1} or greater: This permanent becomes an artifact creature until end of turn. +keyword: + keyword: Fabricate + match: Fabricate number + mode: expert + reminder: When this permanent enters the battlefield, you may put {english_number_a(param1)} +1/+1 counter(s) on it. If you don't, create {param1} 1/1 colorless Servo artifact creature tokens. +# Commander 2016 +keyword: + keyword: Partner + match: Partner + mode: expert + reminder: You can have two commanders if both have partner. +keyword: + keyword: Undaunted + match: Undaunted + mode: expert + reminder: This spell costs 1 less to cast for each opponent. +# Aether Revolt +keyword: + keyword: Improvise + match: Improvise + mode: expert + reminder: Your artifacts can help cast this spell. Each artifact you tap after you're done activating mana abilities pays for 1. +keyword: + keyword: Revolt + match: Revolt + mode: pseudo + rules: Revolt - [Something], if a permanent you controlled left the battlefield this turn, [effect]. +# Amonkhet +keyword: + keyword: Aftermath + match: Aftermath + mode: expert + reminder: Cast this spell only from your graveyard, then exile it. +keyword: + keyword: Embalm + match: Embalm cost + mode: expert + reminder: {param1}, Exile this card from your graveyard: Create a token that's a copy of it, except it's a white Zombie {separate_words(spacer: " ", card.sub_type)} with no mana cost. Embalm only as a sorcery. +keyword: + keyword: Exert + match: exert + mode: action + reminder: An exerted creature won't untap during your next untap step. +#Hour of Devestation +keyword: + keyword: Afflict + match: Afflict number + mode: expert + reminder: Whenever this creature becomes blocked, defending player loses {param1} life. +keyword: + keyword: Eternalize + match: Eternalize cost + mode: expert + reminder: {param1}, Exile this card from your graveyard: Create a token that's a copy of it, except it's a 4/4 black Zombie {separate_words(spacer: " ", card.sub_type)} with no mana cost. Eternalize only as a sorcery. +#Commander 2017 +keyword: + keyword: Eminence + match: Eminence + mode: pseudo + rules: Eminence - As long as this creature is on the battlefield or in your command zone, [effect]. +#Ixalan +keyword: + keyword: Enrage + match: Enrage + mode: pseudo + rules: Enrage - Whenever this creature is dealt damage, [effect]. +keyword: + keyword: Explore + match: explores + mode: action + reminder: Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back or put it into your graveyard. +#Unstable +keyword: + keyword: Assemble a Contraption + match: Assemble + mode: action + reminder: {if contains(card.rule_text, match: "ssemble a ") then "P" else "To assemble a Contraption, p"}ut the top card of your Contraption deck face up onto one of your sprockets. + rules: This is used when the player assembles Contraptions. +keyword: + keyword: assembles a Contraption + match: assembles + mode: action + reminder: {if contains(card.rule_text, match: "ssemble a ") then "P" else "To assemble a Contraption, p"}ut the top card of your Contraption deck face up onto one of your sprockets. + rules: This is used when a permanent assembles Contraptions. +keyword: + keyword: Combine + match: Combine + mode: action + reminder: Its power is equal to their total power, its toughness is equal to their total toughness, and it has their names, mana costs, types, text boxes, etc. +keyword: + keyword: Switch + match: Switch + mode: action + reminder: If a creature is tapped, the switched creature is tapped. The same is true for untapped, attacking, blocking, enchanted, equipped, and targeted. Any counters on a creature are on the switched creature instead. +keyword: + keyword: Art menace + match: Art menace + mode: expert + reminder: This creature can't be blocked except by creatures with two or more visible figures in their art. +keyword: + keyword: Augment + match: Augment cost + mode: expert + reminder: {param1}, Reveal this card from your hand: Combine it with target host. Augment only as a sorcery. +keyword: + keyword: Blurry + match: Blurry + mode: expert + reminder: This creature can be blocked only if defending player was wearing glasses as it was cast. +keyword: + keyword: Just a second + match: Just a second + mode: expert + reminder: As long as this spell is on the stack, players can't move cards on the battlefield. + rules: Players are also unable to cast spells and activate abilities that aren't mana abilities while this spell, even if they are able to do so without moving cards on the battlefield. +keyword: + keyword: Last strike + match: Last strike + mode: expert + reminder: This creature deals combat damage after creatures without last strike. +keyword: + keyword: Squirrellink + match: Squirrellink + mode: expert + reminder: Damage dealt by this creature also causes you to create that many 1/1 green Squirrel creature tokens. +keyword: + keyword: Triple strike + match: Triple strike + mode: expert + reminder: This creature deals first-strike, regular, and last-strike combat damage. +keyword: + keyword: Undeathtouch + match: Undeathtouch + mode: expert + reminder: If this would deal damage to a creature card, exile that creature card instead. +#Rivals of Ixalan +keyword: + keyword: Ascend + match: Ascend + mode: expert + reminder: If you control ten or more permanents, you get the city's blessing for the rest of the game. \ No newline at end of file diff --git a/planechase.mse-game/stats/card_type.png b/planechase.mse-game/stats/card_type.png new file mode 100644 index 0000000..d2b8f49 Binary files /dev/null and b/planechase.mse-game/stats/card_type.png differ diff --git a/planechase.mse-game/stats/illustrator.png b/planechase.mse-game/stats/illustrator.png new file mode 100644 index 0000000..86117ef Binary files /dev/null and b/planechase.mse-game/stats/illustrator.png differ diff --git a/planechase.mse-game/stats/keywords.png b/planechase.mse-game/stats/keywords.png new file mode 100644 index 0000000..4f1e07a Binary files /dev/null and b/planechase.mse-game/stats/keywords.png differ diff --git a/planechase.mse-game/stats/rarity.png b/planechase.mse-game/stats/rarity.png new file mode 100644 index 0000000..62e77e4 Binary files /dev/null and b/planechase.mse-game/stats/rarity.png differ diff --git a/planechase.mse-game/stats/stylesheet.png b/planechase.mse-game/stats/stylesheet.png new file mode 100644 index 0000000..3207223 Binary files /dev/null and b/planechase.mse-game/stats/stylesheet.png differ diff --git a/planechase.mse-game/stats/text_length.png b/planechase.mse-game/stats/text_length.png new file mode 100644 index 0000000..e8c7904 Binary files /dev/null and b/planechase.mse-game/stats/text_length.png differ diff --git a/vanguard-fkih.mse-style/card-sample.png b/vanguard-fkih.mse-style/card-sample.png new file mode 100644 index 0000000..63e8b64 Binary files /dev/null and b/vanguard-fkih.mse-style/card-sample.png differ diff --git a/vanguard-fkih.mse-style/card.jpg b/vanguard-fkih.mse-style/card.jpg new file mode 100644 index 0000000..42f15f5 Binary files /dev/null and b/vanguard-fkih.mse-style/card.jpg differ diff --git a/vanguard-fkih.mse-style/cost_a.png b/vanguard-fkih.mse-style/cost_a.png new file mode 100644 index 0000000..3bed23d Binary files /dev/null and b/vanguard-fkih.mse-style/cost_a.png differ diff --git a/vanguard-fkih.mse-style/cost_b.png b/vanguard-fkih.mse-style/cost_b.png new file mode 100644 index 0000000..d0dd797 Binary files /dev/null and b/vanguard-fkih.mse-style/cost_b.png differ diff --git a/vanguard-fkih.mse-style/cost_g.png b/vanguard-fkih.mse-style/cost_g.png new file mode 100644 index 0000000..05c4539 Binary files /dev/null and b/vanguard-fkih.mse-style/cost_g.png differ diff --git a/vanguard-fkih.mse-style/cost_m.png b/vanguard-fkih.mse-style/cost_m.png new file mode 100644 index 0000000..32a969b Binary files /dev/null and b/vanguard-fkih.mse-style/cost_m.png differ diff --git a/vanguard-fkih.mse-style/cost_r.png b/vanguard-fkih.mse-style/cost_r.png new file mode 100644 index 0000000..0f9b426 Binary files /dev/null and b/vanguard-fkih.mse-style/cost_r.png differ diff --git a/vanguard-fkih.mse-style/cost_u.png b/vanguard-fkih.mse-style/cost_u.png new file mode 100644 index 0000000..9929b70 Binary files /dev/null and b/vanguard-fkih.mse-style/cost_u.png differ diff --git a/vanguard-fkih.mse-style/cost_w.png b/vanguard-fkih.mse-style/cost_w.png new file mode 100644 index 0000000..086ca1b Binary files /dev/null and b/vanguard-fkih.mse-style/cost_w.png differ diff --git a/vanguard-fkih.mse-style/imagemask.png b/vanguard-fkih.mse-style/imagemask.png new file mode 100644 index 0000000..0483974 Binary files /dev/null and b/vanguard-fkih.mse-style/imagemask.png differ diff --git a/vanguard-fkih.mse-style/style b/vanguard-fkih.mse-style/style new file mode 100644 index 0000000..80da90b --- /dev/null +++ b/vanguard-fkih.mse-style/style @@ -0,0 +1,271 @@ +mse version: 0.3.6 +game: vanguard +short name: FKIH Style +installer group: Magic Vanguard/FKiH +icon: card-sample.png +position hint: 02 + +version: 2008-06-30 +depends on: + package: vanguard.mse-game + version: 2007-12-29 +depends on: + package: magic-mana-small.mse-symbol-font + version: 2007-09-23 +depends on: + package: magic-mana-large.mse-symbol-font + version: 2007-09-23 + +card background: white +card width: 375 +card height: 523 +card dpi: 150 + +# Author: Artfreakwiu +# Based on: vanguard-standard + +############################################################## Extra scripts + +init script: + # Use the normal tap symbol + mana_t := { + if styling.tap_symbol == "old" then "old" + else if styling.tap_symbol == "diagonal T" then "older" + else "new" + } + # Use guild mana symbols? + guild_mana := { styling.use_guild_mana_symbols } + + +############################################################## Extra style options + +styling field: + type: boolean + name: use guild mana symbols + description: Use the Ravnica guild symbols instead of the official half/half circles for hybrid mana. + initial: no +styling field: + type: package choice + name: text box mana symbols + match: magic-mana-*.mse-symbol-font + initial: magic-mana-small.mse-symbol-font +styling field: + type: choice + name: tap symbol + description: What tap and untap symbols should be used on cards? + initial: old + choice: modern + choice: old + choice: diagonal T +styling field: + type: boolean + name: flavor text + description: Should the cards have flavor text? + initial: yes +styling style: + use guild mana symbols: + choice images: + yes: /magic-mana-small.mse-symbol-font/mana_guild_rg.png + no: /magic-mana-small.mse-symbol-font/mana_rg.png + tap symbol: + render style: both + choice images: + modern: /magic-mana-large.mse-symbol-font/mana_t.png + old: /magic-mana-large.mse-symbol-font/mana_t_old.png + diagonal T: /magic-mana-large.mse-symbol-font/mana_t_older.png + +############################################################## Card fields +card style: + ############################# Background stuff + border color: + left: 0 + top : 0 + width: 375 + height: 523 + radius: 18 + left width: 17 + right width: 17 + top width: 17 + bottom width: 18 + z index: -1 + background: + left: 0 + top: 0 + width: 375 + height: 523 + z index: -2 + render style: image + choice images: + normal: card.jpg + + ############################# Name line + name: + left: 74 + top : 22 + width: 224 + height: 23 + alignment: bottom center shrink-overflow + padding bottom: 0 + z index: 3 + font: + name: MagicMedieval + size: 16 + color: rgb(255,255,255) + shadow color: rgb(0,0,0) + shadow displacement x: 1 + shadow displacement y: 1 + + ############################# Image + image: + left: 38 + top: 42 + width: 296 + height: 269 + mask: imagemask.png + z index: 1 + + ############################# Card type + + type: + left: 103 + top : 314 + width: 168 + height: 18 + alignment: top center shrink-overflow + z index: 3 + font: + name: MPlantin + weight: bold + size: 14 + color: rgb(255,255,255) + shadow color: rgb(0,0,0) + shadow displacement x: 1 + shadow displacement y: 1 + + ############################# Text box + rule text: + left: 46 + top : 346 + width: 285 + height: + script: if styling.flavor_text then 67 else 120 + font: + name: MPlantin + italic name: MPlantin-Italic + size: 14 + scale down to: 6 + color: rgb(0,0,0) + symbol font: + name: { styling.text_box_mana_symbols } + size: 14 + alignment: middle center + z index: 2 + padding left: 4 + padding top: 2 + padding right: 4 + padding bottom: 2 + line height hard: 1.2 + line height line: 1.5 + + flavor text: + left: 46 + top : 413 + width: 285 + height: 53 + font: + name: MPlantin-Italic + italic name: MPlantin-Italic + size: 10 + scale down to: 6 + color: rgb(0,0,0) + alignment: bottom center + z index: 2 + visible: + script: styling.flavor_text + padding left: 2 + padding top: 2 + padding right: 2 + padding bottom: 2 + + ############################# Life/Hand mod + lifemod: + z index: 4 + left: 327 + top: 312 + width: 20 + height: 20 + alignment: center middle shrink-overflow + font: + name: Matrix + size: 14 + color: rgb(0,0,0) + + handmod: + z index: 4 + left: 25 + top: 312 + width: 20 + height: 20 + alignment: center middle shrink-overflow + font: + name: Matrix + size: 14 + color: rgb(0,0,0) + + ############################# Card sorting / numbering + ############################# Copyright stuff + + illustrator: + left: 40 + top : 464 + width: 295 + height: 16 + alignment: center + z index: 1 + font: + name: Mplantin + size: 10 + color: rgb(0,0,0) + + copyright line: + left: 40 + top : 480 + width: 295 + height: 12 + alignment: left + z index: 1 + font: + name: MPlantin + size: 6 + color: rgb(255,255,255) + +############################################################## Extra card fields + +extra card field: + type: choice + name: orb + choice: none + choice: white + choice: blue + choice: black + choice: red + choice: green + choice: artifact + choice: multicolor + +extra card style: + orb: + left: 178 + top: 315 + width: 20 + height: 20 + z index: 2 + render style: image + choice images: + white: cost_w.png + blue: cost_u.png + black: cost_b.png + red: cost_r.png + green: cost_g.png + artifact: cost_a.png + multicolor: cost_m.png diff --git a/vanguard-mtgo.mse-style/blackfield.bmp b/vanguard-mtgo.mse-style/blackfield.bmp new file mode 100644 index 0000000..a853912 Binary files /dev/null and b/vanguard-mtgo.mse-style/blackfield.bmp differ diff --git a/vanguard-mtgo.mse-style/card-sample.png b/vanguard-mtgo.mse-style/card-sample.png new file mode 100644 index 0000000..e688aaa Binary files /dev/null and b/vanguard-mtgo.mse-style/card-sample.png differ diff --git a/vanguard-mtgo.mse-style/card.png b/vanguard-mtgo.mse-style/card.png new file mode 100644 index 0000000..a143d57 Binary files /dev/null and b/vanguard-mtgo.mse-style/card.png differ diff --git a/vanguard-mtgo.mse-style/img_mask.png b/vanguard-mtgo.mse-style/img_mask.png new file mode 100644 index 0000000..7da9718 Binary files /dev/null and b/vanguard-mtgo.mse-style/img_mask.png differ diff --git a/vanguard-mtgo.mse-style/style b/vanguard-mtgo.mse-style/style new file mode 100644 index 0000000..0d4e55f --- /dev/null +++ b/vanguard-mtgo.mse-style/style @@ -0,0 +1,193 @@ +mse version: 0.3.7 +game: vanguard +short name: MTGO +installer group: Magic Vanguard/Magic Online style +icon: card-sample.png +position hint: 03 + +version: 2008-08-08 +depends on: + package: vanguard.mse-game + version: 2007-12-29 +depends on: + package: magic-mana-mtgo.mse-symbol-font + version: 2007-09-23 + +card background: white +card width: 290 +card height: 391 +card dpi: 150 +# Author: Pichoro +# Based on: vanguard-standard +############################################################## Extra scripts +init script: + # Use the normal tap symbol + mana_t := { + if styling.tap_symbol == "old" then "old" + else if styling.tap_symbol == "diagonal T" then "older" + else "new" + } + # Use guild mana symbols? + guild_mana := { styling.use_guild_mana_symbols } + + paintbrush_color := { + if to_int(card.border_color) < 96 then "white" else "black" + } + +############################################################## Extra style options +styling field: + type: boolean + name: use guild mana symbols + description: Use the Ravnica guild symbols instead of the official half/half circles for hybrid mana. + initial: no +styling field: + type: package choice + name: text box mana symbols + match: magic-mana-*.mse-symbol-font + initial: magic-mana-mtgo.mse-symbol-font +styling field: + type: choice + name: tap symbol + description: What tap and untap symbols should be used on cards? + initial: old + choice: modern + choice: old + choice: diagonal T +styling style: + use guild mana symbols: + choice images: + yes: /magic-mana-mtgo.mse-symbol-font/mana_guild_rg.png + no: /magic-mana-mtgo.mse-symbol-font/mana_rg.png + tap symbol: + render style: both + choice images: + modern: /magic-mana-mtgo.mse-symbol-font/mana_t.png + old: /magic-mana-mtgo.mse-symbol-font/mana_t_old.png + diagonal T: /magic-mana-mtgo.mse-symbol-font/mana_t_older.png +############################################################## Card fields +card style: + ############################# Background stuff + border color: + left: 0 + top : 0 + width: 290 + height: 391 + radius: 18 + left width: 17 + right width: 17 + top width: 17 + bottom width: 18 + z index: -1 + background: + left: 17 + top: 17 + width: 256 + height: 356 + z index: -2 + render style: image + choice images: + normal: card.png + ############################# Name line + name: + left: 46 + top : 28 + width: 200 + height: 20 + alignment: bottom center shrink-overflow + padding bottom: 0 + z index: 1 + font: + name: Tahoma + size: 14 + color: rgb(0,0,0) + ############################# Image + image: + left: 39 + top: 48 + width: 210 + height: 168 + z index: 1 + mask: img_mask.png + default: blackfield.bmp + ############################# Card type + type: + left: 46 + top : 218 + width: 198 + height: 12 + alignment: middle center shrink-overflow + z index: 1 + font: + name: Tahoma + size: 12 + color: rgb(0,0,0) + ############################# Text box + rule text: + left: 42 + top : 237 + width: 208 + height: 93 + font: + name: Tahoma + size: 14 + scale down to: 6 + color: rgb(0,0,0) + symbol font: + name: { styling.text_box_mana_symbols } + size: 14 + alignment: middle center + z index: 2 + padding left: 4 + padding top: 2 + padding right: 4 + padding bottom: 2 + line height hard: 1.2 + line height line: 1.5 + ############################# Life/Hand mod + handmod: + z index: 4 + left: 73 + top: 333 + width: 20 + height: 22 + alignment: center middle shrink-overflow + font: + name: Tahoma + size: 9 + color: rgb(0,0,0) + lifemod: + z index: 4 + left: 198 + top: 333 + width: 20 + height: 22 + alignment: center middle shrink-overflow + font: + name: Tahoma + size: 9 + color: rgb(0,0,0) + ############################# Card sorting / numbering + ############################# Copyright stuff + illustrator: + left: 19 + top : 355 + width: 252 + height: 16 + alignment: center + z index: 1 + font: + name: Tahoma + size: 9 + color: rgb(0,0,0) + copyright line: + left: 19 + top : 372 + width: 252 + height: 12 + alignment: middle center + z index: 1 + font: + name: Tahoma + size: 6 + color: { paintbrush_color() } +############################################################## Extra card fields diff --git a/vanguard-silvercut.mse-style/card-sample.png b/vanguard-silvercut.mse-style/card-sample.png new file mode 100644 index 0000000..ba06606 Binary files /dev/null and b/vanguard-silvercut.mse-style/card-sample.png differ diff --git a/vanguard-silvercut.mse-style/frame.jpg b/vanguard-silvercut.mse-style/frame.jpg new file mode 100644 index 0000000..7d5e956 Binary files /dev/null and b/vanguard-silvercut.mse-style/frame.jpg differ diff --git a/vanguard-silvercut.mse-style/name_bar.jpg b/vanguard-silvercut.mse-style/name_bar.jpg new file mode 100644 index 0000000..6b09fea Binary files /dev/null and b/vanguard-silvercut.mse-style/name_bar.jpg differ diff --git a/vanguard-silvercut.mse-style/style b/vanguard-silvercut.mse-style/style new file mode 100644 index 0000000..f1ccba2 --- /dev/null +++ b/vanguard-silvercut.mse-style/style @@ -0,0 +1,225 @@ +mse version: 0.3.8 +game: vanguard +short name: Silvercut style +installer group: Magic Vanguard/silvercut style +icon: card-sample.png +position hint: 05 + +version: 2010-03-25 +depends on: + package: vanguard.mse-game + version: 2007-12-29 +depends on: + package: magic-mana-small.mse-symbol-font + version: 2007-09-23 + +card width: 375 +card height: 523 +card dpi: 150 +############################################################## Extra scripts +init script: + # Use the normal tap symbol + mana_t := { + if styling.tap_symbol == "old" then "old" + else if styling.tap_symbol == "diagonal T" then "older" + else "new" + } + # Use guild mana symbols? + guild_mana := { styling.use_guild_mana_symbols } + +############################################################## Extra style options +styling field: + type: boolean + name: use guild mana symbols + description: Use the Ravnica guild symbols instead of the official half/half circles for hybrid mana. + initial: no +styling field: + type: package choice + name: text box mana symbols + match: magic-mana-*.mse-symbol-font + initial: magic-mana-small.mse-symbol-font +styling field: + type: choice + name: tap symbol + description: What tap and untap symbols should be used on cards? + initial: old + choice: modern + choice: old + choice: diagonal T +styling field: + type: text + name: left +styling field: + type: text + name: top +styling field: + type: text + name: width +styling field: + type: text + name: height +styling field: + type: text + name: size +styling style: + use guild mana symbols: + choice images: + yes: /magic-mana-small.mse-symbol-font/mana_guild_rg.png + no: /magic-mana-small.mse-symbol-font/mana_rg.png + tap symbol: + render style: both + choice images: + modern: /magic-mana-small.mse-symbol-font/mana_t.png + old: /magic-mana-small.mse-symbol-font/mana_t_old.png + diagonal T: /magic-mana-small.mse-symbol-font/mana_t_older.png +############################################################## Card fields +card style: + ############################# Background stuff + border color: + left: 0 + top: 0 + width: 375 + height: 523 + radius: 14 + left width: 17 + right width: 17 + top width: 17 + bottom width: 17 + z index: -1 + background: + left: 0 + top: 0 + width: 375 + height: 523 + z index: -2 + render style: image + choice images: + normal: frame.jpg + ############################# Name line + name: + left: + { if card_style.name.content_width > 280 then 47 + else card_style.name.content_width * -0.5 + 185 } + top: 28 + width: + { if card_style.name.content_width > 280 then 281 + else card_style.name.content_width + 5 } + height: 15 + alignment: middle center justify-all + padding bottom: 0 + z index: 2 + font: + name: Anime Ace 2.0 BB + size: 17 + weight: bold + color: black + ############################# Image + image: + left: 17 + top: 56 + width: 341 + height: 280 + z index: 1 + ############################# Card type + type: + left: 129 + top: 342 + width: 117 + height: 16 + alignment: top center shrink-overflow + z index: 1 + font: + name: Matrix + size: 13.5 + color: black + ############################# Text box + rule text: + left: 54 + top: 363 + width: 266 + height: 120 + font: + name: MPlantin + italic name: MPlantin-Italic + size: 14 + scale down to: 6 + color: black + symbol font: + name: { styling.text_box_mana_symbols } + size: 14 + alignment: middle center + z index: 2 + padding left: 4 + padding top: 2 + padding right: 4 + padding bottom: 2 + line height hard: 1.2 + line height line: 1.5 + ############################# Life/Hand mod + lifemod: + z index: 4 + left: 325 + top: 438 + width: 25 + height: 25 + alignment: center middle shrink-overflow + font: + name: Mplantin + size: 12 + color: black + handmod: + z index: 4 + left: 24 + top: 438 + width: 25 + height: 25 + alignment: center middle shrink-overflow + font: + name: Mplantin + size: 12 + color: black + ############################# Card sorting / numbering + ############################# Copyright stuff + illustrator: + left: 4000 + top : 466 + width: 295 + height: 16 + alignment: center + z index: 1 + font: + name: Matrix + size: 10 + color: black + copyright line: + left: 4000 + top : 476 + width: 295 + height: 12 + alignment: center + z index: 1 + font: + name: MPlantin + size: 6 + color: black +############################################################## Extra card fields +extra card field: + type: choice + name: name bar + choice: bar + editable: false + save value: false +extra card style: + name bar: + left: + { if card_style.name.content_width > 280 then 47 + else card_style.name.content_width * -0.5 + 180 } + top: 17.1 + width: + { if card_style.name.content_width > 280 then 281 + else card_style.name.content_width + 15 } + height: 39.1 + z index: 1 + visible: { card.name != "" } + render style: image + image: name_bar.jpg diff --git a/vanguard-standard.mse-style/card-sample.png b/vanguard-standard.mse-style/card-sample.png new file mode 100644 index 0000000..1a1e4ce Binary files /dev/null and b/vanguard-standard.mse-style/card-sample.png differ diff --git a/vanguard-standard.mse-style/card.jpg b/vanguard-standard.mse-style/card.jpg new file mode 100644 index 0000000..64f89aa Binary files /dev/null and b/vanguard-standard.mse-style/card.jpg differ diff --git a/vanguard-standard.mse-style/cost_a.png b/vanguard-standard.mse-style/cost_a.png new file mode 100644 index 0000000..3bed23d Binary files /dev/null and b/vanguard-standard.mse-style/cost_a.png differ diff --git a/vanguard-standard.mse-style/cost_b.png b/vanguard-standard.mse-style/cost_b.png new file mode 100644 index 0000000..d0dd797 Binary files /dev/null and b/vanguard-standard.mse-style/cost_b.png differ diff --git a/vanguard-standard.mse-style/cost_g.png b/vanguard-standard.mse-style/cost_g.png new file mode 100644 index 0000000..05c4539 Binary files /dev/null and b/vanguard-standard.mse-style/cost_g.png differ diff --git a/vanguard-standard.mse-style/cost_m.png b/vanguard-standard.mse-style/cost_m.png new file mode 100644 index 0000000..32a969b Binary files /dev/null and b/vanguard-standard.mse-style/cost_m.png differ diff --git a/vanguard-standard.mse-style/cost_r.png b/vanguard-standard.mse-style/cost_r.png new file mode 100644 index 0000000..0f9b426 Binary files /dev/null and b/vanguard-standard.mse-style/cost_r.png differ diff --git a/vanguard-standard.mse-style/cost_u.png b/vanguard-standard.mse-style/cost_u.png new file mode 100644 index 0000000..9929b70 Binary files /dev/null and b/vanguard-standard.mse-style/cost_u.png differ diff --git a/vanguard-standard.mse-style/cost_w.png b/vanguard-standard.mse-style/cost_w.png new file mode 100644 index 0000000..086ca1b Binary files /dev/null and b/vanguard-standard.mse-style/cost_w.png differ diff --git a/vanguard-standard.mse-style/style b/vanguard-standard.mse-style/style new file mode 100644 index 0000000..fa0f6f2 --- /dev/null +++ b/vanguard-standard.mse-style/style @@ -0,0 +1,248 @@ +mse version: 0.3.8 +game: vanguard +short name: Standard +installer group: Magic Vanguard/normal style +icon: card-sample.png +position hint: 01 + +version: 2010-03-22 +depends on: + package: vanguard.mse-game + version: 2007-12-29 +depends on: + package: magic-mana-small.mse-symbol-font + version: 2007-09-23 + +card width: 375 +card height: 523 +card dpi: 150 +# Author: Wolfwood +# Based on: magic-new +############################################################## Extra scripts +init script: + # Use the normal tap symbol + mana_t := { + if styling.tap_symbol == "old" then "old" + else if styling.tap_symbol == "diagonal T" then "older" + else "new" + } + # Use guild mana symbols? + guild_mana := { styling.use_guild_mana_symbols } + +############################################################## Extra style options +styling field: + type: boolean + name: use guild mana symbols + description: Use the Ravnica guild symbols instead of the official half/half circles for hybrid mana. + initial: no +styling field: + type: package choice + name: text box mana symbols + match: magic-mana-*.mse-symbol-font + initial: magic-mana-small.mse-symbol-font +styling field: + type: choice + name: tap symbol + description: What tap and untap symbols should be used on cards? + initial: old + choice: modern + choice: old + choice: diagonal T +styling field: + type: boolean + name: flavor text + description: Should the cards have flavor text? + initial: yes +styling style: + use guild mana symbols: + choice images: + yes: /magic-mana-small.mse-symbol-font/mana_guild_rg.png + no: /magic-mana-small.mse-symbol-font/mana_rg.png + tap symbol: + render style: both + choice images: + modern: /magic-mana-small.mse-symbol-font/mana_t.png + old: /magic-mana-small.mse-symbol-font/mana_t_old.png + diagonal T: /magic-mana-small.mse-symbol-font/mana_t_older.png +############################################################## Card fields +card style: + ############################# Background stuff + border color: + left: 0 + top : 0 + width: 375 + height: 523 + radius: 18 + left width: 17 + right width: 17 + top width: 17 + bottom width: 18 + z index: -1 + background: + left: 0 + top: 0 + width: 375 + height: 523 + z index: -2 + render style: image + choice images: + normal: card.jpg + ############################# Name line + name: + left: 74 + top : 30 + width: 224 + height: 23 + alignment: bottom center shrink-overflow + padding bottom: 0 + z index: 1 + font: + name: Matrix + size: 17 + weight: bold + color: rgb(0,0,0) + ############################# Image + image: + left: 46 + top: 56 + width: 281 + height: 248 + z index: 1 + ############################# Card type + type: + left: 53 + top : 306 + width: 268 + height: 18 + alignment: top center shrink-overflow + z index: 1 + font: + name: Matrix + size: 13.5 + color: rgb(0,0,0) + ############################# Text box + rule text: + left: + script: + if styling.flavor_text then 46 + else 76 + top : 328 + width: + script: + if styling.flavor_text then 280 + else 220 + height: + script: + if styling.flavor_text then 65 + else 138 + font: + name: MPlantin + italic name: MPlantin-Italic + size: 14 + scale down to: 6 + color: rgb(0,0,0) + symbol font: + name: { styling.text_box_mana_symbols } + size: 14 + alignment: middle center + z index: 2 + padding left: 4 + padding top: 2 + padding right: 4 + padding bottom: 2 + line height hard: 1.2 + line height line: 1.5 + flavor text: + left: 76 + top : 393 + width: 220 + height: 73 + font: + name: MPlantin-Italic + italic name: MPlantin-Italic + size: 10 + scale down to: 6 + color: rgb(0,0,0) + alignment: bottom left + z index: 2 + visible: + script: styling.flavor_text + padding left: 2 + padding top: 2 + padding right: 2 + padding bottom: 2 + ############################# Life/Hand mod + lifemod: + z index: 4 + left: 304 + top: 433 + width: 22 + height: 32 + alignment: center middle shrink-overflow + font: + name: Mplantin + size: 12 + color: rgb(0,0,0) + handmod: + z index: 4 + left: 43 + top: 433 + width: 22 + height: 32 + alignment: center middle shrink-overflow + font: + name: Mplantin + size: 12 + color: rgb(0,0,0) + ############################# Card sorting / numbering + ############################# Copyright stuff + illustrator: + left: 40 + top : 466 + width: 295 + height: 16 + alignment: center + z index: 1 + font: + name: Matrix + size: 10 + color: rgb(0,0,0) + copyright line: + left: 40 + top : 476 + width: 295 + height: 12 + alignment: center + z index: 1 + font: + name: MPlantin + size: 6 + color: rgb(0,0,0) +############################################################## Extra card fields +extra card field: + type: choice + name: orb + choice: none + choice: white + choice: blue + choice: black + choice: red + choice: green + choice: artifact + choice: multicolor +extra card style: + orb: + left: 179 + top: 483 + width: 17 + height: 17 + z index: 2 + render style: image + choice images: + white: cost_w.png + blue: cost_u.png + black: cost_b.png + red: cost_r.png + green: cost_g.png + artifact: cost_a.png + multicolor: cost_m.png diff --git a/vanguard.mse-game/card-sample.png b/vanguard.mse-game/card-sample.png new file mode 100644 index 0000000..4c61d80 Binary files /dev/null and b/vanguard.mse-game/card-sample.png differ diff --git a/vanguard.mse-game/game b/vanguard.mse-game/game new file mode 100644 index 0000000..21a2fe8 --- /dev/null +++ b/vanguard.mse-game/game @@ -0,0 +1,1352 @@ +mse version: 2.0.0 +short name: Vanguard +full name: Magic Vanguard +installer group: Magic Vanguard/game files +icon: card-sample.png +position hint: 02 + +version: 2014-03-25 + +############################################################## Functions & filters +# General functions +init script: + ############################################################## Sorting mana symbols + + # correctly sort a mana symbol (no guild mana) + mana_sort := sort_text@(order: "XYZI[0123456789]HS(WUBRG)") + # correctly sort guild mana + mana_sort_guild := sort_text@(order: "[XYZI01234567890HSWUBRG/|]") + + replace@( + match: "./.|././.|./././.|.[|]", + in_context: "(^|[^/])($|[^/])", + replace: {sort_text(order:"in_place((WUBRG)")} + ) + mana_has_guild := match@(match: "[/|]") # Is there guild or half mana in the input? + # A mana cost can contain both normal and guild mana + mana_filter := to_upper + { + if mana_has_guild() then mana_sort_guild() + else mana_sort() + } + # Like mana filter, only also allow tap symbols: + tap_filter := sort_text@(order: "") + mana_filter_t := replace@( # Remove [] used for forcing mana symbols + match: "[\\[\\]]", + replace: "" + ) + { tap_filter() + mana_filter() } + + ############################################################## Utilities for keywords + + # replaces — correctly + add := "" # default is nothing + for_mana_costs := format_cost := { + if input.separator_before == "—" and contains(input.param, " ") then ( + if contains(input.param, match:",") then ( + if match(match: "^[HSCTQXYZIWUBRG0-9/|]+,", input.param) then + "{add}{combined_cost(input.param)}" + else "{combined_cost(input.param)}" + ) else + "{alternative_cost(input.param)}" + ) else + "{add}{input.param}" + } + alternative_cost := replace@(match:"^[A-Z]", replace: { to_lower() }) + combined_cost := replace@(match:", [A-Z]", replace: { to_lower() })+ + replace@(match:",", replace:" and")+ + replace@(match:"^[HSCTQXYZIWUBRG0-9/|]", in_context: "(^|[[:space:]])", replace: "&")+ + replace@(match:"^[A-Z]", replace: { to_lower() }) + long_dash := replace@(match:"-", replace:"—") + + # Converted mana cost + is_half_mana := match@(match: "1/2|[|][WUBRGS]") + is_colored_mana := match@(match: "[WUBRG]") + only_numbers := filter_text@(match: "^[0123456789]+") + cmc_split := break_text@(match: "(?ix) 1/2 | [|][WUBRG] | [0-9]+(?!/[WUBRGSCTQ2]) | [WUBRGHS0-9](/[WUBRGS])\{0,4} ") + cmc := {to_number( + for each sym in cmc_split() do ( + numbers := only_numbers(sym) + if is_half_mana(sym) then 0.5 + else if numbers != "" then max(1, to_int(numbers)) + else 1 # all other symbols are 1 + )) + } + + colored_mana := {to_number( + for each sym in cmc_split() do ( + numbers := only_numbers(sym) + if is_colored_mana(sym) then + if is_half_mana(sym) then 0.5 else 1 + else 0 + )) + } + + ############################################################## The text box + + # Filters for the text box + # context in which mana symbols are found + mana_context := + "(?ix) # case insensitive, ignore whitespace + (^|[[:space:]\"(]) # start of a word + ( : # G: something + | , # G, tap: something + | [ ]can[ ]be[ ]pay + | (pays?|additional|costs?|the # pay X. creatures cost 1 less. pay an additional G. + |adds?|pay(ed)?[ ](with|using) + ) + ([ ]either)? # pay either X or Y + ([ ]]*>[CTQHSXYZIWUBRG0-9/|]+]*>[ ](and|or))* # pay X or Y + [ ] + ([,.)]|$ # (end of word) + |[ ][^ .,]*$ # still typing... + |[ ]( or | and | in | less | more | to ) # or next word is ... + ) + ) + | # keyword argument that is declared as mana + | [ ]* # keyword argument that is declared as cost + | , # keyword argument that is declared as cost + "; + # the rule text filter + # - adds mana symbols + # - makes text in parentheses italic + text_filter := + # step 1 : remove all automatic tags + remove_tag@(tag: "") + + remove_tag@(tag: "") + + remove_tag@(tag: "{keyword}" + else keyword + if expand then " ({reminder})" } + ) + + # step 2b : move inline keywords' reminder text to the end of the line + replace@( + match: "(.*]*>)([^\n(]+)", + replace: "\\2\\1" + ) + + replace@( + match: "(.*]*>)([^\n(]+)", + replace: "\\2\\1" + ) + + replace@( + match: "(.*]*>)([^\n(]+)", + replace: "\\2\\1" + ) + + # step 3 : expand shortcut words ~ and CARDNAME + replace@( + match: "CARDNAME", + in_context: "(^|[[:space:]]|\\()", + replace: "" + ) + + # step 4 : fill in atom fields + tag_contents@( + tag: "", + contents: { if card.name=="" then "CARDNAME" else card.type + " - " + card.name } + ) + + # step 4.5 : explict non mana symbols + replace@( + match: "\\][HSCTQXYZIWUBRG0-9/|]+\\[", + replace: {"" + mana_filter_t() + ""} ) + + # step 5 : add mana & tap symbols + replace@( + match: "[HSCTQXYZIWUBRG0-9/|]+", + in_context: mana_context, + replace: {"" + mana_filter_t() + ""} ) + + # step 5b : add explict mana symbols + replace@( + match: "\\[[HSCTQXYZIWUBRG0-9/|]+\\]", + replace: {"" + mana_filter_t() + ""} ) + + # step 7 : italic reminder text + replace@( + match: "[(][^)\n]*[)]?", + in_context: "(^|[[:space:]])|", + replace: "&") + + # step 8 : automatic capitalization, but not after "(" + replace@( + match: "[a-z]", + in_context: "[ ]*: |—| — ", + replace: { to_upper() })+ + curly_quotes + + ############################################################## Other boxes + # the flavor text filter + # - makes all text italic + flavor_text_filter := + # step 2 : remove italic tags + remove_tag@(tag: "") + + # step 3 : surround by tags + { "" + input + "" } + + # curly quotes + curly_quotes + + # Process the name for sorting rules + sort_name := + # Remove "The", "A", and "And" at the beginning + replace@(match: "^(The|An?) ", replace: "") + + # Remove commas and apostrophes + replace@(match: "(,|'|’)", replace: "") + + # Remove bold and italic tags + replace@(match: "(|||)", replace: "") + + # Make lowercase + to_lower + + #Necessary to make magic-mana-future play nicely + colorless_color := { "c" } + + word_count := break_text@(match:"[^[:space:]]+") + length + line_count := split_text@(match:"\n+",include_empty:false) + length + + # Mana font scripts + ancestral_mana := {false} + use_v_mana := {contains(set.custom_mana_symbol_name, match:".png")} + use_large_v_mana := { use_v_mana() and contains(set.mana_symbol_options, match:"casting")} + use_small_v_mana := { use_v_mana() and contains(set.mana_symbol_options, match:"text")} + use_color_v_mana := { use_v_mana() and contains(set.mana_symbol_options, match:"colored") and not use_hybrid_v_mana()} + use_hybrid_v_mana := { use_v_mana() and contains(set.mana_symbol_options, match:"hybrid")} + v_mana_name := {if not use_v_mana() then "" else replace(set.custom_mana_symbol_name, match:"(.+/|\\.png)", replace:"")} + v_mana_loc := {if not use_v_mana() then "" else replace(set.custom_mana_symbol_name, match:"{v_mana_name()}\\.png", replace:"")} + white_text := {false} + symbol_font_small_color := { "black" } +############################################################## Set fields +set field: + type: info + name: Set Information +set field: + type: text + name: title +set field: + type: text + name: description + multi line: true +set field: + type: text + name: artist +set field: + type: text + name: copyright +set field: + type: info + name: Defaults and Automation +set field: + type: color + name: border color + description: The default border color for cards + choice: + name: black + color: rgb(0,0,0) + choice: + name: white + color: rgb(255,255,255) + choice: + name: silver + color: rgb(128,128,128) + choice: + name: gold + color: rgb(200,180,0) +set field: + type: multiple choice + name: automatic reminder text + choice: old + choice: core + choice: expert + choice: pseudo + choice: custom + initial: old, pseudo, custom + # Convert from older mse versions + script: + if value == "yes" then "old, core, expert, custom" + else if value == "no" then "" + else value + description: For which kinds of keywords should reminder text be added by default? Note: you can enable/disable reminder text by right clicking the keyword. +set field: + type: boolean + name: automatic card numbers + initial: no + description: Should card numbers be shown on the cards? +set field: + type: info + name: custom mana +set field: + type: text + name: custom mana symbol name + description: Use mana symbols from magic-mainframe-extras.mse-include. Input NAME.png here, check help below for file instructions. +set field: + type: multiple choice + name: mana symbol options + choice: enable in casting costs + choice: enable in text boxes + choice: colored mana symbols + choice: hybrid with colors +set field: + type: text + name: number hybrid variants + description: Change each number hybrid (0/X, 1/X, 2/X ... 11/X) up to this number to a specific variant instead of a hybrid symbol. +set field: + type: choice + name: mana symbol help + choice: Click here for mana symbol help! + choice: In your mainframe-extras folder, create folders named "large" and/or "small" depending on your usage + choice: Large is for only mana costs, small for only text, create both if you use both + choice: Additionally, you can create a "future" folder for M15 Future mana costs + choice: Save NAME.png to the relevant folders. Remember that large symbols have dropshadows + choice: For the name option above, set the address of the image, minus mainframe-extras and large/small/future + choice: Ex: magic-mainframe-extras/cajun/large/hazard.png would use cajun/hazard.png + choice: Standard size is 160x160 for small, 200x200 for small hybrid and future, 165x178 for large, 205x218 for large hybrid + choice: If your symbol mixes with colors (such as Phyrexian mana): Save NAME_w.png, NAME_u.png, etc to those folders too. + choice: If your symbol hybrids with colors (like 2/W): [Note, doesn't work on M15 Future mana costs.] + choice: Save NAME_h.png to those folders too. See mana_bb.png and similar for how this image should look. + choice: Your mana symbol will now be keyed to V (and V/W, V/U, etc. for colored/hybrid symbols). + choice: You can change number hybrids (2/V etc) to different mana symbols for even more custom symbols. + choice: Put the highest number to change (from 0 to 11) in "number hybrid variants" and save as NAME_0.png etc. + +############################# Default style +default set style: + title: + padding left: 2 + font: + size: 16 + automatic reminder text: + render style: checklist + direction: vertical + mana symbol options: + render style: checklist + direction: vertical +############################################################## Card fields +############################# Background stuff +card field: + type: color + name: border color + default: set.border_color + choice: + name: black + color: rgb(0,0,0) + choice: + name: white + color: rgb(255,255,255) + choice: + name: silver + color: rgb(128,128,128) + choice: + name: gold + color: rgb(200,180,0) + show statistics: false + description: The border of the card; can be any solid color +card field: + type: choice + name: background + choice: normal + show statistics: false + editable: false +############################# Name line +card field: + type: text + name: name + identifying: true + show statistics: false + card list visible: true + card list column: 1 + card list width: 150 + description: The name of the card +#### compatibility with mana fonts +card field: + type: choice + name: card symbol + description: The symbol of the card. + show statistics: false + card list name: Symbol + card list column: 0920 + card list width: 100 + choice: none +############################# Image +card field: + type: image + name: image + show statistics: false + description: The image of the card +############################# Card type +card field: + type: text + name: type + card list visible: true + card list column: 2 + description: The type of the card + icon: stats/card_type.png +############################# Text box +card field: + type: text + name: rule text + script: text_filter(value) + show statistics: false + multi line: true + description: The rules text of the card +card field: + type: text + name: flavor text + script: flavor_text_filter(value) + show statistics: false + multi line: true + description: The flavor text of the card +############################# PT +card field: + type: text + name: handmod + card list visible: true + card list column: 3 + card list width: 50 + card list name: hand + show statistics: false + description: The starting and maximum hand size modifier +card field: + type: text + name: lifemod + card list visible: true + card list column: 4 + card list width: 50 + card list name: life + show statistics: false + description: The starting life total modifier +############################# Card sorting / numbering +card field: + type: text + name: card number + save value: false + script: + position( + of: card + in: set + order_by: { sort_name(card.name) } + ) + 1 + + "/" + + number_of_items(in: set) + card list visible: true + card list column: 10 + card list width: 50 + card list name: # + editable: false + show statistics: false +############################# Copyright stuff +card field: + type: text + name: illustrator + default: set.artist + description: The illustrator of the image + icon: stats/illustrator.png +card field: + type: text + name: copyright + default: set.copyright + show statistics: false + editable: false +card field: + type: text + name: copyright line + save value: false + show statistics: false + script: + if set.automatic_card_numbers then + combined_editor(field1: card.copyright, separator: " ", field2: card.card_number) + else + forward_editor(field: card.copyright) + description: The copyright and card number of the card +############################################################### Extra Statistics +statistics dimension: + name: hand size modifier + script: card.handmod + icon: stats/number.png +statistics dimension: + name: life total modifier + script: card.lifemod + icon: stats/number.png +statistics dimension: + name: text length (words) + position hint: 100 + script: word_count(to_text(card.rule_text)) + numeric: true + bin size: 5 + icon: stats/text_length.png +statistics dimension: + name: text length (lines) + position hint: 101 + script: line_count(to_text(card.rule_text)) + numeric: true + icon: stats/text_length.png +statistics dimension: + name: keywords + position hint: 1000 + script: keyword_usage(unique:true) + show empty: false + split list: true + icon: stats/keywords.png +statistics dimension: + name: style + position hint: 1001 + script: stylesheet.short_name + icon: stats/stylesheet.png +############################################################## Auto replace +# Do we need categories? +#auto replace category: text box +#auto replace category: copyright +#auto replace category: everywhere +auto replace: + match: (C) + replace: © +auto replace: + match: AE + replace: Æ + whole word: false +auto replace: + match: TM + replace: ™ + whole word: false +auto replace: + match: -- + replace: — +auto replace: + # note the spaces + match: + - + replace: + — +auto replace: + match: CIP + replace: enters the battlefield +auto replace: + match: AAA + replace: as an additional cost to cast +auto replace: + match: ~ + replace: CARDNAME +auto replace: + match: ' + replace: ’ +############################################################## Card pack items +pack type: + name: card + filter: card.name != "" +############################################################## Card packs +pack type: + name: booster pack + item: + name: card + amount: 1 +############################################################## Keywords +############################# Keyword rules + +has keywords: true + +#keyword preview: {keyword} ({reminder}) + +keyword mode: + name: old + description: Old keywords (Banding, Phasing, etc.) +keyword mode: + name: core + description: Core set keywords (Flying, Regenerate, etc.) +keyword mode: + name: expert + description: Expert level keywords (Scry, Vanishing, etc.) +keyword mode: + name: pseudo + description: Pseudo keyword / named ability (Hellbent, Threshold, etc.) +keyword mode: + is default: true + name: custom + description: Custom keywords + +keyword parameter type: + name: mana + match: [HSCTQXYZI0-9WUBRG/|]+ + refer script: + name: normal + description: No changes made + script: \{{input}\} + refer script: + name: converted mana cost + description: Converts mana to number + # "0" left in so users can easily see how to edit script. + script: \{cmc({input}) + 0\} + refer script: + name: colored mana cost + description: Converts mana to number of colored mana + # "0" left in so users can easily see how to edit script. + script: \{colored_mana({input}) + 0\} +# By pichoro and bunnierein +keyword parameter type: + name: cost + match: [ ][HSCTQXYZI0-9WUBRG/|]*|[-—][^(\n]* + separator before is: [ —-] + separator after is: [.] + optional: false + # note: the separator is part of match + refer script: + name: normal + description: When using mana only costs, doesn't include anything extra in the reminder text + script: \{{input}\} + refer script: + name: add "pay an additional " for mana costs + description: When using mana only costs, words the reminder text as "pay an additional " + script: \{for_mana_costs(add:"pay an additional ",{input})\} + refer script: + name: add "pay " for mana costs + description: When using mana only costs, words the reminder text as "pay " + script: \{for_mana_costs(add:"pay ",{input})\} + separator script: long_dash() +keyword parameter type: + name: number + match: [XYZ0-9]+ + refer script: + name: normal + description: (1,2,3) + script: \{{input}\} + refer script: + name: as words + description: (one, two, three) + script: \{english_number({input})\} + refer script: + name: as words, use "a" for 1 + description: (a, two, three) + script: \{english_number_a({input})\} + refer script: + name: as words, use "" for 1 + description: (, two, three) + script: \{english_number_multiple({input})\} +keyword parameter type: + name: action + match: [^(:\n]+ + separator after is: [.] + reminder script: alternative_cost() +keyword parameter type: + name: one_word + match: [A-Za-z0-9]+ +keyword parameter type: + name: name + match: [^(.:;\n—]+ + refer script: + name: normal + description: No changes made. + script: \{{input}\} + refer script: + name: singular + description: Removes plurality from words. + script: \{english_singular({input})\} +keyword parameter type: + name: english_number + match: [ upto]*[(an? |one |two |three |four |five |six |seven |eight |nine |ten )]* +keyword parameter type: + name: prefix + description: Prefix for things like "walk" + optional: false + match: [A-Z][A-Z,a-z’ ]* + example: Forest +keyword parameter type: + name: a + match: [an?]* +keyword parameter type: + name: nonland + match: ( n?o?n?l?a?n?d? ?) +############################# All Magic keywords +# By JrEye and Neko_Asakami, Updated by Pichoro and Buttock1234 +keyword: + keyword: Flying + match: flying + mode: core + reminder: It can’t be blocked except by creatures with flying or reach. +keyword: + keyword: First strike + match: first strike + mode: core + reminder: It deals combat damage before creatures without first strike. +keyword: + keyword: Trample + match: trample + mode: core + reminder: If it would deal enough combat damage to its blockers to destroy them, you may have it deal the rest of its damage to defending player or planeswalker. +keyword: + keyword: Banding + match: banding + mode: old + reminder: Any creatures with banding, and up to one without, can attack in a band. Bands are blocked as a group. If any creatures with banding you control are blocking or being blocked by a creature, you divide that creature’s combat damage, not its controller, among any of the creatures it’s being blocked by or is blocking. +keyword: + keyword: Landwalk + match: prefixwalk + mode: core + reminder: This creature is unblockable as long as defending player controls a {if match(param1.value, match: " land$") or contains(param1.value, match: "Snow") or contains(param1.value, match:"Basic") or contains(param1.value, match:"Legendary") then "{to_lower(param1)}" else "{param1}"}. +keyword: + keyword: Protection from + match: protection from name + mode: core + reminder: It can’t be blocked, targeted, dealt damage, enchanted, or equipped by anything {english_singular(param1)}. +keyword: + keyword: Regeneration + match: Regenerate + mode: core + reminder: The next time it would be destroyed this turn, it isn’t. If it is a creature, instead tap it, remove all damage from it, and remove it from combat. +keyword: + keyword: Bands with other + match: bands with other name + mode: old + reminder: Any {param1} can attack in a band as long as at least one has “bands with other {param1}.” Bands are blocked as a group. If at least two {param1} you control, one of which has “bands with other {param1},” are blocking or being blocked by the same creature, you divide that creature’s combat damage, not its controller, among any of the creatures it’s being blocked by or is blocking. +keyword: + keyword: Rampage + match: rampage number + mode: old + reminder: Whenever it becomes blocked, it gets +{param1}/+{param1} until end of turn for each creature blocking it beyond the first. +keyword: + keyword: Cumulative upkeep + match: cumulative upkeep cost + mode: old + reminder: At the beginning of your upkeep, put an age counter on it, then sacrifice it unless you pay its upkeep cost for each age counter on it. +keyword: + keyword: Phasing + match: phasing + mode: old + reminder: It phases in or out before you untap during each of your untap steps. While it’s phased out, it’s treated as though it doesn’t exist. +keyword: + keyword: Flanking + match: flanking + mode: expert + reminder: Whenever a creature without flanking blocks the creature, the blocking creature gets -1/-1 until end of turn. +keyword: + keyword: Shadow + match: shadow + mode: expert + reminder: It can block or be blocked by only creatures with shadow. +keyword: + keyword: Denimwalk + match: denimwalk + mode: old + reminder: If defending player is wearing any clothing made of denim, the creature is unblockable. +keyword: + keyword: Buyback + match: buyback cost + mode: expert + reminder: You may {for_mana_costs(add:"pay an additional ",param1)} as you cast it. If you do, put it into your hand as it resolves. +keyword: + keyword: Echo + match: echo cost + mode: expert + reminder: At the beginning of your upkeep, if the permanent came under your control since the beginning of your last upkeep, sacrifice it unless you pay its echo cost. +keyword: + keyword: Cycling + match: cycling cost + mode: expert + reminder: {param1}, Discard it: Draw a card. +keyword: + keyword: Haste + match: haste + mode: core + reminder: It can attack and T as soon as it comes under your control. +keyword: + keyword: Horsemanship + match: horsemanship + mode: old + reminder: It can’t be blocked except by creatures with horsemanship. +keyword: + keyword: Fading + match: fading number + mode: expert + reminder: It enters the battlefield with {english_number_a(param1)} fade counter(s) on it. At the beginning of your upkeep, remove a fade counter from it. If you can’t, sacrifice it. +keyword: + keyword: Kicker + match: kicker cost + mode: expert + reminder: You may {for_mana_costs(add:"pay an additional ",param1)} as you cast the card. +keyword: + keyword: Flashback + match: flashback cost + mode: expert + reminder: You may cast it from your graveyard for its flashback cost. Then exile it. +keyword: + keyword: Threshold + match: Threshold + mode: pseudo + rules: Threshold — [effect] as long as seven or more cards are in your graveyard. +keyword: + keyword: Madness + match: madness cost + mode: expert + reminder: If you discard it, you may cast it for its madness cost instead of putting it into your graveyard. +keyword: + keyword: Morph + match: morph cost + mode: expert + reminder: You may cast it face down as a 2/2 creature for 3. Turn it face up any time for its morph cost. +keyword: + keyword: Fear + match: fear + mode: old + reminder: It can’t be blocked except by artifact creatures and/or black creatures. +keyword: + keyword: Amplify + match: amplify number + mode: expert + reminder: As it enters the battlefield, put {english_number_a(param1)} +1/+1 counter(s) on it for each creature that shares a type with it that you reveal in your hand. +keyword: + keyword: Double strike + match: double strike + mode: core + reminder: It deals both first-strike and regular combat damage. +keyword: + keyword: Provoke + match: provoke + mode: expert + reminder: When it attacks, you may have target creature defending player controls untap and block it if able. +keyword: + keyword: Typecycling + match: prefixcycling cost + mode: expert + reminder: {param2}, Discard it: Search your library for a {param1} card, reveal it, and put it into your hand. Then shuffle your library. +keyword: + keyword: Storm + match: storm + mode: expert + reminder: When you cast it, copy it for each spell cast before it this turn. You may choose new targets for the copies. +keyword: + keyword: Affinity for + match: affinity for name + mode: expert + reminder: It costs 1 less to cast for each {english_singular(param1)} you control. +keyword: + keyword: Entwine + match: entwine cost + mode: expert + reminder: Choose both if you pay the entwine cost. +keyword: + keyword: Equip + match: equip cost + mode: core + reminder: {param1}: Attach to target creature you control. Equip only as a sorcery. +keyword: + keyword: Imprint + match: Imprint + mode: pseudo + rules: Imprint — When it enters the battlefield, you may exile a [something] from [somewhere]. +keyword: + keyword: Modular + match: modular number + mode: expert + reminder: It enters the battlefield with {english_number_a(param1)} +1/+1 counter(s) on it. When it’s put into a graveyard, you may put its +1/+1 counters on target artifact creature. +keyword: + keyword: Scry + match: Scry number + mode: expert + reminder: + To scry {param1}, look at the top { + if param1.value==1 then "card of your library, then you may put that card on the bottom of your library." + else "{english_number(param1)} cards of your library. Put any number of them on the bottom of your library in any order and the rest on top in any order." + } +keyword: + keyword: Sunburst + match: sunburst + mode: expert + reminder: It enters the battlefield with a +1/+1 counter on it for each color of mana spent to cast it. If it isn’t a creature, use charge counters instead. +keyword: + keyword: Art rampage + match: art rampage number + mode: expert + reminder: Whenever it blocked by a creature, it gets +{param1}/+{param1} for each creature in the blocker’s art beyond the first. +keyword: + keyword: Super haste + match: Super haste + mode: expert + reminder: It may attack the turn before you cast it. (You may have it enter the battlefield from your hand, tapped and attacking, during your declare attackers step. If you do, you lose the game at the end of your next turn unless you pay its mana cost during that turn.) +keyword: + keyword: Gotcha + match: Gotcha + mode: pseudo + rules: Gotcha — Whenever an opponent [does something], you may say “Gotcha!”. If you do, return [something] from your graveyard to your hand. +keyword: + keyword: Splice + match: splice onto name cost + mode: expert + reminder: As you cast a {param1} spell, you may reveal the card from your hand and pay its splice cost. If you do, add its effects to that spell. +keyword: + keyword: Bushido + match: bushido number + mode: expert + reminder: When it blocks or becomes blocked, it gets +{param1}/+{param1} until end of turn. +keyword: + keyword: Soulshift + match: soulshift number + mode: expert + reminder: When it is put into a graveyard from the battlefield, you may return target Spirit card with converted mana cost {param1} or less from your graveyard to your hand. +keyword: + keyword: Enchant + match: enchant name + mode: core + reminder: Target a {param1} as you cast the card. The card enters the battlefield attached to that {param1}. +keyword: + keyword: Vigilance + match: vigilance + mode: core + reminder: Attacking doesn’t cause it to tap. +keyword: + keyword: Defender + match: defender + mode: core + reminder: It can’t attack. +keyword: + keyword: Offering + match: prefix offering + mode: expert + reminder: You may cast it any time you could cast an instant by sacrificing a {param1} and paying the difference in mana costs between it and the sacrificed {param1}. Mana cost includes color. +keyword: + keyword: Ninjutsu + match: ninjutsu cost + mode: expert + reminder: {param1}, Return an unblocked attacker you control to hand: Put it onto the battlefield from your hand tapped and attacking. +keyword: + keyword: Epic + match: epic + mode: expert + reminder: For the rest of the game, you can’t cast spells. At the beginning of each of your upkeeps, copy the card except for its epic ability. If it has any targets, you may choose new targets for the copy. +keyword: + keyword: Channel + match: Channel + mode: pseudo + rules: Channel — [cost], Discard a card: [effect]. +keyword: + keyword: Sweep + match: Sweep + mode: pseudo + rules: Sweep — Return any number of [basic land type] you control to their owner’s hand. [effect based on number of lands returned]. +keyword: + keyword: Convoke + match: convoke + mode: expert + reminder: Each creature you tap while casting the card reduces its cost by 1 or by one mana of that creature’s color. +keyword: + keyword: Transmute + match: transmute cost + mode: expert + reminder: {param1}, Discard it: Search your library for a card with the same converted mana cost as the discarded card, reveal it, and put it into your hand. Then shuffle your library. Transmute only as a sorcery. +keyword: + keyword: Dredge + match: dredge number + mode: expert + reminder: If you would draw a card, instead you may put exactly {english_number(param1)} card(s) from the top of your library into your graveyard. If you do, return the card from your graveyard to your hand. Otherwise, draw a card. +keyword: + keyword: Radiance + match: Radiance + mode: pseudo + rules: Radiance — [effect to target permanent or spell and all cards of same card type that share a color with it]. +keyword: + keyword: Haunt + match: haunt + mode: expert + reminder: When it is put into a graveyard from the battlefield, or when it resolves if it is not a permanent, exile it haunting target creature. +keyword: + keyword: Bloodthirst + match: bloodthirst number + mode: expert + reminder: If an opponent was dealt damage this turn, the permanent enters the battlefield with {english_number_a(param1)} +1/+1 counter(s) on it. +keyword: + keyword: Replicate + match: replicate cost + mode: expert + reminder: When you cast it, copy it for each time you paid its replicate cost. You may choose new targets for the copies. +keyword: + keyword: Graft + match: graft number + mode: expert + reminder: It enters the battlefield with {english_number_a(param1)} +1/+1 counter(s) on it. Whenever a creature enters the battlefield, you may move a +1/+1 counter from the permanent onto it. +keyword: + keyword: Forecast + match: forecast — action, Reveal name from your hand: action + mode: expert + reminder: Activate the ability only during your upkeep and only once each turn. +keyword: + keyword: Hellbent + match: Hellbent + mode: pseudo + rules: Hellbent — [effect] if you have no cards in hand. +keyword: + keyword: Recover + match: recover cost + mode: expert + reminder: When a creature is put into your graveyard from the battlefield, you may {for_mana_costs(add:"pay ",param1)}. If you do, return the card from your graveyard to your hand. Otherwise, exile this card. +keyword: + keyword: Ripple + match: ripple number + mode: expert + reminder: When you cast it, you may reveal the top {english_number_multiple(param1)} card(s) of your library. You may cast any revealed cards with the same name as the card without paying their mana costs. Put the rest on the bottom of your library. +keyword: + keyword: Flash + match: flash + mode: core + reminder: You may cast it any time you could cast an instant. +keyword: + keyword: Split second + match: split second + mode: expert + reminder: As long as it is on the stack, players can’t cast spells or activate abilities that aren’t mana abilities. +keyword: + keyword: Suspend + match: suspend numbercost + mode: expert + reminder: Rather than cast it from your hand, you may pay {param2} and exile it with {english_number_a(param1)} time counter(s) on it. At the beginning of your upkeep, remove a time counter. When the last is removed, cast it without paying its mana cost. If it is a creature, it has haste. +keyword: + keyword: Vanishing + match: vanishing number + mode: expert + reminder: It enters the battlefield with {english_number_a(param1)} time counter(s) on it. At the beginning of your upkeep, remove a time counter from it. When the last is removed, sacrifice it. +keyword: + keyword: Deathtouch + match: deathtouch + mode: expert + reminder: Any amount of damage it deals to a creature is enough to destroy it. +keyword: + keyword: Reach + match: reach + mode: core + reminder: It can block creatures with flying. +keyword: + keyword: Gravestorm + match: gravestorm + mode: expert + reminder: When you cast it, copy it for each permanent put into a graveyard this turn. You may choose new targets for the copies. +keyword: + keyword: Lifelink + match: lifelink + mode: core + reminder: Damage dealt by it also causes you to gain that much life. +keyword: + keyword: Absorb + match: absorb number + mode: expert + reminder: If a source would deal damage to it, prevent {param1} of that damage. +keyword: + keyword: Fateseal + match: fateseal number + mode: expert + reminder: + Look at the top { + if param1.value==1 then "card of an opponent’s library, then you may put it on the bottom of that player’s library." + else "{english_number(param1)} cards of an opponent’s library, then put any number of them on the bottom of that player’s library and the rest on top in any order." + } +keyword: + keyword: Transfigure + match: transfigure cost + mode: expert + reminder: {param1}, Sacrifice it: Search your library for a creature card with the same converted mana cost as the sacrificed card and put that card onto the battlefield. Then shuffle your library. Transfigure only as a sorcery. +keyword: + keyword: Aura swap + match: aura swap cost + mode: expert + reminder: {param1}: Exchange it with an Aura card in your hand. +keyword: + keyword: Frenzy + match: frenzy number + mode: expert + reminder: Whenever it attacks and isn’t blocked, it gets +{param1}/+0 until end of turn. +keyword: + keyword: Delve + match: delve + mode: expert + reminder: You may exile any number of cards in your graveyard as you cast it. It costs 1 less to cast for each card exiled this way. +keyword: + keyword: Poisonous + match: poisonous number + mode: expert + reminder: Whenever it deals combat damage to a player, that player gets {english_number_a(param1)} poison counter(s). A player with ten or more poison counters loses the game. +keyword: + keyword: Shroud + match: shroud + mode: core + reminder: It can’t be the target of spells or abilities. +keyword: + keyword: Fortify + match: fortify cost + mode: expert + reminder: {param1}: Attach to target land you control. Fortify only as a sorcery. It enters the battlefield unattached and stays on the battlefield if the land leaves. +keyword: + keyword: Grandeur + match: Grandeur + mode: pseudo + rules: Grandeur — Discard another card named [something]: [effect]. +keyword: + keyword: Evoke + match: evoke cost + mode: expert + reminder: You may cast it for its evoke cost. If you do, it’s sacrificed when it enters the battlefield. +keyword: + keyword: Champion + match: champion a name + mode: expert + reminder: When it enters the battlefield, sacrifice it unless you exile another {param2} you control. When it leaves the battlefield, return that card to the battlefield. +keyword: + keyword: Clash + match: clash + mode: expert + reminder: Each clashing player reveals the top card of his or her library, then puts that card on the top or bottom. A player wins if his or her card had a higher converted mana cost. +keyword: + keyword: Changeling + match: changeling + mode: expert + reminder: It is every creature type at all times. +keyword: + keyword: Hideaway + match: hideaway + mode: expert + reminder: The land enters the battlefield tapped. When it does, look at the top four cards of your library, exile one face down, then put the rest on the bottom of your library. +keyword: + keyword: Prowl + match: prowl cost + mode: expert + reminder: You may cast it for its prowl cost if you dealt combat damage to a player this turn with a creature that shares a type with it. +keyword: + keyword: Reinforce + match: reinforce numbercost + mode: expert + reminder: {param2}, Discard it: Put {english_number_a(param1)} +1/+1 counter(s) on target creature. +keyword: + keyword: Kinship + match: Kinship + mode: pseudo + rules: Kinship — At the beginning of your upkeep, you may look at the top card of your library. If that card shares a creature type with it, you may reveal it. If you do, [effect]. +keyword: + keyword: Persist + match: persist + mode: expert + reminder: When it is put into a graveyard from the battlefield, if it had no -1/-1 counters on it, return it to the battlefield under its owner’s control with a -1/-1 counter on it. +keyword: + keyword: Wither + match: wither + mode: expert + reminder: It deals damage to creatures in the form of -1/-1 counters. +keyword: + keyword: Conspire + match: conspire + mode: expert + reminder: As you cast it, you may tap two untapped creatures you control that share a color with it. When you do, copy it and you may choose a new target for the copy. +keyword: + keyword: Retrace + match: retrace + mode: expert + reminder: You may cast it from your graveyard by discarding a land card in addition to paying its other costs. +keyword: + keyword: Chroma + match: Chroma + mode: pseudo + rules: Chroma — [effect] based on the number of [color] mana symbols [in graveyard, under your control, in cards you discard]. +keyword: + keyword: Unearth + match: unearth cost + mode: expert + reminder: {param1}: Return it from your graveyard to the battlefield. If it is a creature, it gains haste. Exile it at the beginning of the end step or if it would leave the battlefield. Unearth only as a sorcery. +keyword: + keyword: Devour + match: devour number + mode: expert + reminder: As it enters the battlefield, you may sacrifice any number of creatures. It enters the battlefield with { if param1.value == 1 then "" else if param1.value == 2 then "twice " else english_number(param1) + " times " }that many +1/+1 counters on it. +keyword: + keyword: Exalted + match: exalted + mode: expert + reminder: Whenever a creature you control attacks alone, that creature gets +1/+1 until end of turn. +keyword: + keyword: Domain + match: Domain + mode: pseudo + rules: Domain — [effect] for each basic land type among lands you control. +keyword: + keyword: Cascade + match: cascade + mode: expert + reminder: When you cast it, exile the top card of your library until you remove a nonland card that costs less. You may cast that card without paying its mana cost. Put the exiled cards on the bottom of your library at random. +keyword: + keyword: Intimidate + match: intimidate + mode: core + reminder: It can’t be blocked except by artifact creatures and/or creatures that share a color with it. +keyword: + keyword: Landfall + match: Landfall + mode: pseudo + rules: Landfall — Whenever a land enters the battlefield under your control, [effect]. +keyword: + keyword: Multikicker + match: multikicker cost + mode: expert + reminder: You may {for_mana_costs(add:"pay an additional ", param1)} any number of times as you cast it. +keyword: + keyword: Annihilator + match: annihilator number + mode: expert + reminder: Whenever it attacks, defending player sacrifices {english_number_a(param1)} permanent(s). +keyword: + keyword: Rebound + match: rebound + mode: expert + reminder: If you cast it from your hand, exile it as it resolves. At the beginning of your next upkeep, you may cast it from exile without paying its mana cost. +keyword: + keyword: Totem armor + match: totem armor + mode: expert + reminder: If enchanted creature would be destroyed, instead remove all damage from the creature and destroy it. +keyword: + keyword: Level up + match: level up cost + mode: expert + reminder: {param1}: Put a level counter on it. Level up only as a sorcery. +keyword: + keyword: Infect + match: infect + mode: expert + reminder: This creature deals damage to creatures in the form of -1/-1 counters and to players in the form of poison counters. +keyword: + keyword: Proliferate + match: proliferate + mode: expert + reminder: You may choose any number of permanents and/or players with counters on them, then give each another counter of a kind already there. +keyword: + keyword: Metalcraft + match: Metalcraft + mode: pseudo + rules: Metalcraft — As long as you control three or more artifacts, [effect]. +keyword: + keyword: Battlecry + match: battlecry + mode: expert + reminder: Whenever it attacks, each other attacking creature gets +1/+0 until end of turn. +keyword: + keyword: Living weapon + match: living weapon + mode: expert + reminder: When it enters the battlefield, put a 0/0 black Germ creature token onto the battlefield, then attach it to the creature. +keyword: + keyword: Hexproof + match: hexproof + mode: core + reminder: It can't be the target of spells or abilities your opponents control. +keyword: + keyword: Morbid + match: Morbid + mode: pseudo + rules: Morbid — If a creature died this turn, [effect]. +keyword: + keyword: Fight + match: fight + mode: action + reminder: Each deals damage equal to its power to the other. +keyword: + keyword: Undying + match: undying + mode: expert + reminder: When it dies, if it had no +1/+1 counters on it, return it to the battlefield under its owner's control with a +1/+1 counter on it. +keyword: + keyword: Fateful hour + match: Fateful hour + mode: pseudo + rules: Fateful hour — As long as you have 5 or less life, [effect]. +keyword: + keyword: Miracle + match: miracle cost + mode: expert + reminder: You may cast it for its miracle cost when you draw it if it's the first card you drew this turn. +keyword: + keyword: Soulbond + match: soulbond + mode: expert + reminder: You may pair it with another unpaired creature when either enters the battlefield. They remain paired for as long as you control both of them. +keyword: + keyword: Detain + match: detainenglish_numbertargetnonlandone_word + mode: action + reminder: Until your next turn, {if contains(param1.value, match:"one") or param1.value == " " then "that" else "those"} {param3} can't attack or block and its activated abilities can't be activated. +keyword: + keyword: Overload + match: overload cost + mode: expert + reminder: You may cast it for its overload cost. If you do, change its text by replacing all instances of "target" with "each". +keyword: + keyword: Unleash + match: unleash + mode: expert + reminder: You may have it enter the battlefield with a +1/+1 counter on it. It can't block as long as it has a +1/+1 counter on it. +keyword: + keyword: Scavenge + match: scavenge cost + mode: expert + reminder: {param1}, Exile it from your graveyard: Put a number of +1/+1 counters equal to its power on target creature. Scavenge only as a sorcery. +keyword: + keyword: Populate + match: populate + mode: action + reminder: Put a token onto the battlefield that's a copy of a creature token you control. +keyword: + keyword: Extort + match: extort + mode: expert + reminder: Whenever you cast spell, you may pay [W/B]. If you do, each opponent loses 1 life and you gain that much life. +keyword: + keyword: Cipher + match: cipher + mode: expert + reminder: Then you may exile it encoded on a creature you control. Whenever that creature deals combat damage to a player, its controller may cast a copy of the encoded card without paying its mana cost. +keyword: + keyword: Bloodrush + match: Bloodrush + mode: pseudo + rules: Bloodrush — [cost], Discard ~: Target attacking creature gets [effect]. +keyword: + keyword: Battalion + match: Battalion + mode: pseudo + rules: Battalion — Whenever ~ and at least two other creatures attack, [effect]. +keyword: + keyword: Evolve + match: evolve + mode: expert + reminder: Whenever a creature enters the battlefield under your control, if that creature has greater power or toughness than it, put a +1/+1 counter on it. +keyword: + keyword: Fuse + match: fuse + mode: expert + reminder: You may cast one or both halves of it from your hand. +keyword: + keyword: Indestructible + match: indestructible + mode: core + reminder: Damage and effects that say "destroy" don't destroy it. +keyword: + keyword: Hero's Reward + match: Hero's Reward + mode: pseudo +keyword: + keyword: Monstrosity + match: monstrosity number + mode: expert + reminder: If it isn’t monstrous, put {english_number_a(param1)} +1/+1 counter(s) on it and it becomes monstrous. +keyword: + keyword: Heroic + match: Heroic + mode: pseudo + rules: Whenever you cast a spell that targets ~, [effect]. +keyword: + keyword: Bestow + match: bestow cost + mode: expert + reminder: If you cast it for its bestow cost, it's an Aura spell with enchant creature. It becomes a creature again if it's not attached to a creature. +keyword: + keyword: Devotion + match: devotion to action + mode: action + reminder: Each {color_to_mana(param1)} in the mana costs of permanents you control counts toward your devotion to {param1}. +keyword: + keyword: Tribute + match: tribute number + mode: expert + reminder: As it enters the battlefield, an opponent of your choice may put {english_number_a(param1)} +1/+1 counter(s) on it. +keyword: + keyword: Inspiration + match: Inspiration + mode: pseudo + rules: Inspiration - Whenever ~ becomes untapped, [effect]. diff --git a/vanguard.mse-game/stats/card_type.png b/vanguard.mse-game/stats/card_type.png new file mode 100644 index 0000000..d2b8f49 Binary files /dev/null and b/vanguard.mse-game/stats/card_type.png differ diff --git a/vanguard.mse-game/stats/illustrator.png b/vanguard.mse-game/stats/illustrator.png new file mode 100644 index 0000000..86117ef Binary files /dev/null and b/vanguard.mse-game/stats/illustrator.png differ diff --git a/vanguard.mse-game/stats/keywords.png b/vanguard.mse-game/stats/keywords.png new file mode 100644 index 0000000..4f1e07a Binary files /dev/null and b/vanguard.mse-game/stats/keywords.png differ diff --git a/vanguard.mse-game/stats/number.png b/vanguard.mse-game/stats/number.png new file mode 100644 index 0000000..21e566f Binary files /dev/null and b/vanguard.mse-game/stats/number.png differ diff --git a/vanguard.mse-game/stats/stylesheet.png b/vanguard.mse-game/stats/stylesheet.png new file mode 100644 index 0000000..3207223 Binary files /dev/null and b/vanguard.mse-game/stats/stylesheet.png differ diff --git a/vanguard.mse-game/stats/text_length.png b/vanguard.mse-game/stats/text_length.png new file mode 100644 index 0000000..e8c7904 Binary files /dev/null and b/vanguard.mse-game/stats/text_length.png differ