mse version: 2.0.0 game: magic short name: M15 Future full name: Futureshift installer group: magic/Future/Normal cards icon: card-sample.png position hint: 073 version: 2018-06-01 depends on: package: magic.mse-game version: 2008-06-02 depends on: package: magic-watermarks.mse-include version: 2007-09-23 depends on: package: magic-future-common.mse-include version: 2008-05-21 depends on: package: magic-mana-small.mse-symbol-font version: 2007-09-23 depends on: package: magic-mana-future.mse-symbol-font version: 2007-09-23 depends on: package: magic-mainframe-extras.mse-include version: 2018-01-01 depends on: package: magic-mana-small-invocation.mse-symbol-font version: 2017-03-31 card width: 375 card height: 523 card dpi: 150 #By: Pichoro #Images by Spiderboy4, Buttock1234, and Artfreakwiu ############################################################## Extra scripts init script: mask_hybrid_with_land := { styling.grey_hybrid_name } mask_multi_land_with_color := { styling.colored_multicolor_land_name } template_suffix := [card: "card.jpg", pt: "pt.png", textbox: "textbox.png", typeline: "typeline.png" stamp: "stamp.jpg"] template := { input + template_suffix[type] } land_template := { (if input == "a" then "c" else input) + "l" + template_suffix[type] } # 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 } colorless_color := { if card.card_color=="white" then "w" else if card.card_color=="blue" then "u" else if card.card_color=="black" then "b" else if card.card_color=="red" then "r" else if card.card_color=="green" then "g" else "c" } font_colors_white := { input == "b" or input == "bl" or input == "u" or input == "ul" or input == "r" or input == "rl" or input == "g" or input == "gl" } font_white := { hybrid := chosen(choice:"hybrid") artifact := chosen(choice:"artifact") colors := sort_text( order: "(wubrg)" , (if chosen(choice:"white") then "w") + (if chosen(choice:"blue") then "u") + (if chosen(choice:"black") then "b") + (if chosen(choice:"red") then "r") + (if chosen(choice:"green") then "g")) + (if artifact then "a") font_colors_white( if artifact and hybrid and length(colors) == 2 then "a" else if chosen(choice:"land") and chosen(choice:"white") then "wl" else if chosen(choice:"land") and chosen(choice:"blue") then "ul" else if chosen(choice:"land") and chosen(choice:"black") then "bl" else if chosen(choice:"land") and chosen(choice:"red") then "rl" else if chosen(choice:"land") and chosen(choice:"green") then "gl" else if chosen(choice:"land") then "l" else if input == "artifact, multicolor" then "a" else if chosen(choice:"multicolor") then "m" else if artifact and not hybrid then "a" else if colors == "" then "c" else colors[ font_color_positions[ if chosen(choice:"horizontal") then "horizontal" else if chosen(choice:"vertical") then "vertical" else if chosen(choice:"overlay") then "overlay" else "radial" ][number_of_items(in: colors)] ] ) } paintbrush_color:= { if contains(card.card_color, match:"land") then "white" else if contains(card.card_color, match:"artifact") or contains(card.card_color, match:"multicolor") or contains(card.card_color, match:"white") then "black" else "white" } typesymbol_color:= { if contains(card.card_color, match:"artifact") then "black" else if contains(card.card_color, match:"land") and contains(card.card_color, match:"multicolor") and styling.colored_multicolor_land_name then "black" else if contains(card.card_color, match:"multicolor") then ( if card.card_color=="multicolor" then "black" else if not contains(card.card_color, match:"white") then "white" else if contains(card.card_color, match:"red") or contains(card.card_color, match:"green") then "white" else "black" ) else if card.card_color == "white" then "black" else if contains(card.card_color, match:"land") then ( if contains(card.card_color, match:"green") then "white" else if contains(card.card_color, match:"red") then "white" else if contains(card.card_color, match:"black") then "white" else if contains(card.card_color, match:"blue") then "white" else "black" ) else if card.card_color == "colorless" then "black" else "white" } card_shape := { if styling.shifted_sorting then "shifted" else "normal" } is_unsorted := {styling.remove_from_autocount} use_main_rarity := { contains(set.mainframe_rarity_name, match: ".png")} un_png := replace@(match:".png", replace: "") is_hybrid := {contains(card.card_color, match:"hybrid")} chop_top := {if styling.chop_top == "" then 0 else if comma_count(styling.chop_top) == "," or comma_count(styling.chop_top) == ",," then split_text(match:",", styling.chop_top).0 else styling.chop_top} chop_bot := {if comma_count(styling.chop_top) == ",," then split_text(match:",", styling.chop_top).1 else if styling.chop_bottom == "" then 0 else styling.chop_bottom} bar_offset := {if styling_offset() == "-" then 0 else if styling_offset() != "" then -styling_offset() else 0} styling_offset := { replace(styling.flavor_bar_offset, match:"(u|d)+", replace: "") } offset_lines := {offset_counter(styling.flavor_bar_offset)} use_evobar := {card.alias != ""} ############################################################## 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: chop top description: Shrinks the textbox X pixels from the top OR shrinks "top,bottom," styling field: type: text name: chop bottom description: Shrinks the textbox X pixels from the bottom. styling field: type: text name: flavor bar offset description: Move the flavor bar down X pixels. Use negative to move up. styling field: type: boolean name: use holofoil stamps description: Change to no to disable rare holofoil stamps styling field: type: boolean name: original symbols description: Should these cards use the original type symbol? initial: no styling field: type: boolean name: beleren description: Should these cards use Beleren or the original font? initial: no styling field: type: boolean name: shifted sorting description: Should this style of card sort as a shifted card (after other cards of that color)? initial: no styling field: type: boolean name: remove from autocount description: Removes the automatic card number for specific cards, to allow for overcounted cards like in Planeswalker Decks. initial: no styling field: type: boolean name: grey hybrid name description: Use a grey background for the name and type line on hybrid cards. This is done on real cards. styling field: type: boolean name: colored multicolor land name description: Use a colored background for the name and type on multicolor land cards with a basic land type. This is done on real cards. 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: 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: 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: center text description: When to center text (short text only means only on one-line cards with no flavor text) choice: always choice: short text only choice: never initial: never 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 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 center text: render style: both choice images: always: /magic.mse-game/icons/center-all-text.png short text only: /magic.mse-game/icons/center-short-text.png never: /magic.mse-game/icons/center-no-text.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 mask: bordermask.png z index: 3 card color: left: 0 top: 0 width: 375 height: 523 z index: 0 render style: image popup style: in place image: { card_background() } ############################# Name line name: left: { if card.card_symbol=="none" then 73 else 88 } top : 30 width: { if card.card_symbol=="none" then 269 else 254 } height: 26 alignment: middle shrink-overflow padding bottom: 0 z index: 4 font: name: { if styling.beleren then "Beleren" else "Matrix" } size: { if styling.beleren then "16" else "18" } color: script: if is_hybrid() then "black" else if styling.grey_hybrid_name and contains(card.card_color, match:"land") and contains(card.card_color, match:"horizontal") or contains(card.card_color, match:"radial") or contains(card.card_color, match:"vertical") and not contains(card.card_color, match:"multicolor") then rgb(0,0,0) else if contains(card.card_color, match:"land") and contains(card.card_color, match:"multicolor") and contains(card.card_color, match:"black") and styling.colored_multicolor_land_name then rgb(255,255,255) else if contains(card.card_color, match:"land") and contains(card.card_color, match:"multicolor") then rgb(0,0,0) else if styling.grey_hybrid_name and contains(card.card_color, match:"hybrid") then rgb(0,0,0) else if contains(card.card_color, match:"artifact") then ( if contains(card.card_color, match:"blue") or contains(card.card_color, match:"black") or contains(card.card_color, match:"red") or contains(card.card_color, match:"green") then rgb(255,255,255) else rgb(0,0,0) ) else font_color(card.card_color) alias: right: 353 top: 67 width: {max(50, card_style.alias.content_width)} height: 20 alignment: right shrink-overflow padding bottom: 0 z index: 3 font: name: Matrix size: 10 style: italic color: black casting cost: left: 4 top: 39 height: 254 width: 82 alignment: top left direction: vertical symbol font: name: magic-mana-future size: 22 scale down to: 22 alignment: bottom right always symbol: true z index: 4 padding top: 0 mask: costmask.png card symbol: left: {if card.card_symbol=="none" then 50 else 67} top : 31 height: 20 width: 14 z index: 4 render style: image choice images: tombstone: tombstone.png type symbol: left: 24 top: 24 width: 21 height: 20 z index: 3 render style: image choice images: artifact: { if styling.original_symbols then "/magic-future-common.mse-include/artifact_" + typesymbol_color(value) + ".png" } creature: { if styling.original_symbols then "/magic-future-common.mse-include/creature_" + typesymbol_color(value) + ".png" } enchantment: { if styling.original_symbols then "/magic-future-common.mse-include/enchantment_" + typesymbol_color(value) + ".png" } instant: { if styling.original_symbols then "/magic-future-common.mse-include/instant_" + typesymbol_color(value) + ".png"} land: { if styling.original_symbols then "/magic-future-common.mse-include/land_" + typesymbol_color(value) + ".png" } multitype: { if styling.original_symbols then "/magic-future-common.mse-include/multitype_" + typesymbol_color(value) + ".png" } sorcery: { if styling.original_symbols then "/magic-future-common.mse-include/sorcery_" + typesymbol_color(value) + ".png" } planeswalker: { if styling.original_symbols then "/magic-future-common.mse-include/planeswalker_" + typesymbol_color(value) + ".png" } ############################# Image image: left: 32 top: 44 width: 327 height: 250 z index: 1 mask: mask_image.png ############################# Card type type: left: 49 top : 300 width: { 300 - max(21,card_style.rarity.content_width) } height: 20 alignment: middle shrink-overflow z index: 4 padding top: 2 font: name: { if styling.beleren then "Beleren" else "Matrix" } size: { if styling.beleren then "12" else "14" } color: script: if is_hybrid() then "black" else if styling.grey_hybrid_name and contains(card.card_color, match:"land") and contains(card.card_color, match:"horizontal") or contains(card.card_color, match:"radial") or contains(card.card_color, match:"vertical") and not contains(card.card_color, match:"multicolor") then rgb(0,0,0) else if contains(card.card_color, match:"land") and contains(card.card_color, match:"multicolor") and contains(card.card_color, match:"black") and styling.colored_multicolor_land_name then rgb(255,255,255) else if contains(card.card_color, match:"land") and contains(card.card_color, match:"multicolor") then rgb(0,0,0) else if styling.grey_hybrid_name and contains(card.card_color, match:"hybrid") then rgb(0,0,0) else if contains(card.card_color, match:"artifact") then ( if contains(card.card_color, match:"blue") or contains(card.card_color, match:"black") or contains(card.card_color, match:"red") or contains(card.card_color, match:"green") then rgb(255,255,255) else rgb(0,0,0) ) else font_color(card.card_color) separator color: rgb(128,128,128) rarity: right: 353 top : 303 width: 22 height: 22 z index: 4 alignment: middle right render style: image choice images: # Images based on the set symbol basic land: script: if use_main_rarity() then "/magic-mainframe-extras.mse-include/" + un_png(set.mainframe_rarity_name) + "c.png" else if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") else symbol_variation(symbol: set.symbol, variation: "common") common: script: if use_main_rarity() then "/magic-mainframe-extras.mse-include/" + un_png(set.mainframe_rarity_name) + "c.png" else if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") else symbol_variation(symbol: set.symbol, variation: "common") uncommon: script: if use_main_rarity() then "/magic-mainframe-extras.mse-include/" + un_png(set.mainframe_rarity_name) + "u.png" else symbol_variation(symbol: set.symbol, variation: "uncommon") rare: script: if use_main_rarity() then "/magic-mainframe-extras.mse-include/" + un_png(set.mainframe_rarity_name) + "r.png" else symbol_variation(symbol: set.symbol, variation: "rare") mythic rare: script: if use_main_rarity() then "/magic-mainframe-extras.mse-include/" + un_png(set.mainframe_rarity_name) + "m.png" else symbol_variation(symbol: set.symbol, variation: "mythic rare") special: script: if use_main_rarity() then "/magic-mainframe-extras.mse-include/" + un_png(set.mainframe_rarity_name) + "s.png" else symbol_variation(symbol: set.symbol, variation: "special") masterpiece: script: if use_main_rarity() then "/magic-mainframe-extras.mse-include/" + un_png(set.mainframe_rarity_name) + "mp.png" else symbol_variation(symbol: set.masterpiece_symbol, variation: "mythic rare") ############################# Text box text: left: 36 top : { 330 - (-chop_top()) } width: 301 bottom: { 468 - chop_bot()} font: name: MPlantin italic name: MPlantin-Italic size: 12 scale down to: 6 weight: bold color: script: if not contains(card.card_color, match:"land") then rgb(0,0,0) else if contains(card.card_color, match:"multicolor") then rgb(0,0,0) else font_color(card.card_color) symbol font: name: { styling.text_box_mana_symbols } size: 12 alignment: script: if (styling.center_text == "short text only" and not contains(match:"\n", card.rule_text) and card.flavor_text == "" and card_style.text.content_lines <= 2) or styling.center_text == "always" then "middle center" else "middle left" z index: 4 padding left: 0 padding top: 4 padding right: 0 padding bottom: 4 line height hard: 1.2 line height soft: 0.9 line height line: 1.5 watermark: left: 32 top : 321 width: 309 height: 152 z index: 3 render style: image alignment: middle center include file: /magic-watermarks.mse-include/watermarks ############################# PT pt: z index: 5 left: 287 top: 469 width: 60 height: 28 alignment: center middle shrink-overflow font: name: ModMatrix size: 18 weight: bold color: script: if is_hybrid() then "black" else if styling.grey_hybrid_name and contains(card.card_color, match:"land") and contains(card.card_color, match:"horizontal") or contains(card.card_color, match:"radial") or contains(card.card_color, match:"vertical") and not contains(card.card_color, match:"multicolor") then rgb(0,0,0) else if contains(card.card_color, match:"land") and contains(card.card_color, match:"multicolor") then rgb(0,0,0) else if contains(card.card_color, match:"artifact") then ( if contains(card.card_color, match:"blue") or contains(card.card_color, match:"black") or contains(card.card_color, match:"red") or contains(card.card_color, match:"green") then rgb(255,255,255) else rgb(0,0,0) ) else if contains(card.card_color, match:"hybrid") and contains(card.card_color, match:"white") and not contains(card.card_color, match:"red") and not contains(card.card_color, match:"green") then rgb(255,255,255) else if contains(card.card_color, match:"hybrid") and contains(card.card_color, match:"white") then rgb(0,0,0) else font_color(card.card_color) separator color: rgb(200,0,0) ############################# Card sorting / numbering set code: left: 24 top: 498 width: 40 height: 10 z index: 4 font: name: Relay-Medium size: 7 color: white weight: bold ############################# Copyright stuff illustrator: left: { 44 + card_style.set_code.content_width } top : 497.5 width: 200 height: 10 z index: 4 font: name: Beleren Small Caps Bold size: 7.5 color: white weight: bold copyright: right: 350 top : { if card.pt != "" then 504 else 488 } width: {if set.automatic_copyright then 0 else 140} height: 10 alignment: bottom right z index: 4 font: name: Matrix size: 7 color: white weight: bold ############################################################## Extra card fields extra card field: type: choice name: textbox script: card.card_color editable: false save value: false extra card field: type: choice name: typeline script: if is_hybrid() then "colorless, land" else card.card_color editable: false save value: false extra card field: type: choice name: pt box script: if is_hybrid() then "colorless, land" else card.card_color editable: false save value: false extra card field: type: choice name: stamp script: card.card_color editable: false save value: false extra card field: type: choice name: foil layer choice: foil save value: false editable: false extra card field: type: choice name: artist arrow choice: artist arrow editable: false save value: false extra card field: type: choice name: flavor bar choice: bar editable: true save value: true show statistics: false 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: evobar choice: evo save value: false editable: false extra card field: type: choice name: evobar tip choice: evo save value: false editable: false extra card field: type: text name: card code save value: false script: if set.automatic_card_numbers and not styling.remove_from_autocount then forward_editor(prefix: card_number_m15() + "/" + card_count_m15() + " " + rarity_code() + " ", field: card.card_code_text) else combined_editor(field1: card.custom_card_number, separator: " " + rarity_code() + " ", field2: card.card_code_text) extra card field: type: choice name: future node default: typesymbol_type(type: card.super_type) card list visible: false show statistics: false choice: artifact choice: creature choice: enchantment choice: fortress choice: instant choice: land choice: multitype choice: planeswalker choice: sorcery choice: aetherprint choice: none description: The card type symbol for this card extra card field: type: choice name: foil stamp choice: stamp save value: false editable: false extra card field: type: choice name: legend symbol default: "none" choice: none choice: legend description: the legend symbol for this card. extra card style: card code: left: 24 top: 488 width: 120 height: 10 z index: 4 font: name: Relay-Medium size: 7 color: white weight: bold textbox: left: 23 top: 320 width: 335 height: 152 render style: image popup style: in place image: { card_textbox() } z index: 2 typeline: left: 18 top: 17 width: 339 height: 464 render style: image popup style: in place image: { card_typeline() } z index: 3 pt box: left: 285 top: 452 width: 70 height: 52 z index: 4 visible: { card.pt != "" } render style: image image: { card_ptbox() } artist arrow: left: { 28 + card_style.set_code.content_width } top : 500 width: 12 height: 7 z index: 4 render style: image image: artist_arrow.png foil layer: left: 0 top : 0 width: 375 height: 523 z index: 6 render style: image image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} future node: left: { if styling.original_symbols then 0 else 19 } top: { if styling.original_symbols then 0 else 18 } width: { if styling.original_symbols then 0 else 30 } height: { if styling.original_symbols then 0 else 30 } z index: 4 render style: image choice images: artifact: artifact.png creature: creature.png enchantment: enchantment.png fortress: fortress.png instant: instant.png land: land.png multitype: multitype.png sorcery: sorcery.png planeswalker: planeswalker.png aetherprint: aetherprint.png stamp: left: 170 top: 472 width: 36.5 height: 22.5 z index: 3 visible: { is_rare() and styling.use_holofoil_stamps} render style: image mask: futurestampmask.png image: { card_stamp() } foil stamp: left: 170 top: 475 width: 36.5 height: 22.5 z index: 4 visible: { is_rare() and styling.use_holofoil_stamps} render style: image image: foil_stamp.png auto copyright: right: 350 top: { if card.pt != "" then 504 else 488 } width: 140 height: 10 z index: 4 alignment: middle right shrink-overflow visible: {set.automatic_copyright} font: name: Matrix size: 7 color: white weight: bold flavor bar: left: 0 top: { bar_equation() } width: 375 height: 1 z index: 3 render style: image image: bar.png visible: { card.rule_text != "" and remove_tags(card.flavor_text) != "" and set.use_flavor_bar } legend symbol: left: 19 top: 296 width: 29 height: 29 z index: 6 alignment: middle right render style: image choice images: legend: legend.png evobar: right: 358 top: 65 width: {card_style.alias.content_width} height: 27 z index: 2 render style: image image: evobar.png visible: {use_evobar()} evobar tip: right: {358 - card_style.alias.content_width} top: 65 width: 36 height: 27 z index: 2 render style: image image: evobar_flip.png visible: {use_evobar()}