mse version: 2.0.0 game: magic short name: 8th Test full name: 8th Edition Test Prints icon: card-sample.png position hint: 288 version: 2024-05-30 depends on: package: magic.mse-game version: 2008-06-02 depends on: package: magic-modules.mse-include version: 2024-10-01 depends on: package: magic-mana-large.mse-symbol-font version: 2007-09-23 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: # Should hybrids have a grey name? mask_hybrid_with_land := { styling.grey_hybrid_name } #Should multicolor lands with basic land types have a colored name? mask_multi_land_with_color := { styling.colored_multicolor_land_name } template := { (if input == "c" then "a" else input) + "card.jpg" } land_template := { (if input == "a" then "c" else input) + "lcard.jpg" } # 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 } # What frame colors should have white copyright text? font_colors_white := { input == "c" or input == "u" or input == "b" or input == "r" or input == "g" or input == "a" or contains(input, match:"l") } # If a paintbrush is present, what color should it be? paintbrush_color := { if not styling.brush then "none" else if font_white() then "white" else "black" } # Filter out blending patterns. no_blends := replace@(match:", horizontal", replace:"")+ replace@(match:", vertical", replace:"")+ replace@(match:", radial", replace:"")+ replace@(match:", overlay", replace:"") # What color should the "land bar" be? land_bar_color := { if card.card_color == "land" then "c" else if card.card_color == "artifact, land" then "c" else if card.card_color == "white, land" then "w" else if card.card_color == "blue, land" then "u" else if card.card_color == "black, land" then "b" else if card.card_color == "red, land" then "r" else if card.card_color == "green, land" then "g" else if no_blends(card.card_color) == "white, blue, land" then "w|u" else if no_blends(card.card_color) == "white, black, land" then "w|b" else if no_blends(card.card_color) == "white, red, land" then "w|r" else if no_blends(card.card_color) == "white, green, land" then "w|g" else if no_blends(card.card_color) == "blue, black, land" then "u|b" else if no_blends(card.card_color) == "blue, red, land" then "u|r" else if no_blends(card.card_color) == "blue, green, land" then "u|g" else if no_blends(card.card_color) == "black, red, land" then "b|r" else if no_blends(card.card_color) == "black, green, land" then "b|g" else if no_blends(card.card_color) == "red, green, land" then "r|g" else "m" } color_combination := { # The base hybrid, without the outer frame blended over it base := base_hybrid[shape][color_count]() # Put a frame around it? if land and color_count > 1 and not styling.gradient_lands then land_template("m") else if land and multi and mask_multi_land_with_color() then masked_blend( mask: "hybrid_blend_{type}.png", dark: base, light: land_template("m"), ) else if multi and artifact then masked_blend( mask: "artifact_blend_{type}.png", dark: template("a"), light: masked_blend( mask: "multicolor_blend_{type}.png", dark: template("m"), light: base ) ) else if multi then masked_blend( mask: "multicolor_blend_{type}.png", dark: template("m"), light: base, ) else if artifact and color_count > 1 and mask_hybrid_with_land() then masked_blend( mask: "artifact_blend_{type}.png", dark: template("a"), light: masked_blend( mask: "multicolor_blend_{type}.png", dark: template("c"), light: base ) ) else if artifact then masked_blend( mask: "artifact_blend_{type}.png", dark: template("a"), light: base, ) else if color_count > 1 and mask_hybrid_with_land() then masked_blend( mask: "hybrid_blend_{type}.png", dark: land_template("c"), light: base, ) else base } watermark_include := "/magic-modules.mse-include/watermarks" ############################################################## 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: 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: gradient lands description: Should lands with more than one color have gradiented colors? This isn't done on real cards. 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: casting cost mana symbols match: magic-mana-*.mse-symbol-font initial: magic-mana-large.mse-symbol-font 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: text box font initial: Verdana choice: Verdana choice: Mplantin 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: 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: boolean name: brush description: Should the illustrator field have a paintbrush? initial: yes styling field: type: boolean name: inverted common symbol description: Should the common rarity symbol be inverted, like in Coldsnap? initial: no 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-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 include file: /magic-modules.mse-include/corners/card_fields include file: /magic-modules.mse-include/information/the_list_old card style: ############################# Background stuff border color: left: 0 top: 0 width: 375 height: 523 left width: 20 right width: 19 top width: 21 bottom width: 24 z index: 4 card color: left: 0 top: 0 width: 375 height: 523 z index: -2 render style: image popup style: in place image: { card_background() } ############################# Name line name: left: 70 top: 39 width: {if card.card_symbol == "none" then "267" else "250"} height: 23 alignment: middle shrink-overflow padding bottom: 0 z index: 1 font: name: Matrix size: 19 weight: bold color: black casting cost: left: 22 top: 27 width: {if contains(card.card_color, match:"land") then "0" else "30"} height: 240 alignment: top center direction: vertical symbol font: name: { styling.casting_cost_mana_symbols } size: 18 alignment: middle right always symbol: true z index: 2 padding top: 0 card symbol: left: {if card.card_symbol=="none" then 20 else 28} top : 31 height: 21 width: 23 z index: 5 render style: image image: { card_symbol_image(face: 1) } ############################# Image image: left: 63 top: 65 width: 279 height: 223 z index: 1 mask: imagemask.png ############################# Card type type: left: 65 top: 291 width: 273 height: 20 alignment: middle shrink-overflow z index: 1 padding top: 2 font: name: Matrix size: 15 color: black separator color: gray rarity: left: 22 top : 476 width: 36 height: 22 z index: 1 alignment: middle center render style: image include file: /magic-modules.mse-include/rarities/choice_images ############################# Text box text: left: 60 top : 328 width: 284 height: 160 font: name: { styling.text_box_font } size: 11 scale down to: 6 color: black symbol font: name: { styling.text_box_mana_symbols } size: 11 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: 2 padding left: 6 padding right: 4 line height hard: 1.2 line height line: 1.5 line height soft: 0.9 mask: {if contains(card.card_color, match:"land") then nil else "textboxmask.png"} watermark: left: 50 top : 328 width: 304 height: 160 z index: 1 render style: image alignment: middle center include file: /magic.mse-game/watermarks/menu_choice_images image: { watermark_image_1() } ############################# PT pt: z index: 4 left: 270 top: 463 width: {if contains(card.card_color, match:"land") then "0" else "75"} height: 24 alignment: center middle font: name: Mplantin size: 18 weight: bold color: black separator color: red ############################# Card sorting / numbering ############################# Copyright stuff copyright line: left: 38 top: 470 right: 237 height: 12 angle: 90 z index: 3 alignment: bottom font: name: Verdana size: 5 color: { font_color(card.card_color) } ############################################################## Extra card fields extra card field: type: choice name: paintbrush script: paintbrush_color(card.card_color) editable: false choice: black choice: white extra card field: type: choice name: foil layer choice: foil save value: false editable: false extra card field: type: text name: illustrator line save value: false script: if not styling.brush then forward_editor(prefix: "Illus. ", field: card.illustrator) else forward_editor(prefix: "", field: card.illustrator) description: The illustrator of the card. extra card field: type: choice name: land bar whole save value: false editable: false script: land_bar_color() extra card field: type: choice name: land bar top save value: false editable: false script: land_bar_color() extra card field: type: choice name: land bar bottom save value: false editable: false script: land_bar_color() extra card style: paintbrush: left: 27 top : 471 width: 30 height: 11 angle: 90 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 foil layer: left: 0 top : 0 width: 375 height: 523 z index: 1050 render style: image image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} illustrator line: left: 23 top: {if styling.brush then "438" else "470"} right: {if styling.brush then "190" else "222"} height: 16 angle: 90 z index: 3 font: name: Verdana size: 9 weight: bold color: { font_color(card.card_color) } land bar whole: left: 33 top: 73 width: {if contains(card.card_color, match:"land") then "27" else "0"} height: 208 z index: 1 render style: image choice images: c: cbar.png w: wbar.png u: ubar.png b: bbar.png r: rbar.png g: gbar.png m: mbar.png land bar top: left: 33 top: 73 width: {if contains(card.card_color, match:"land") then "27" else "0"} height: 121 z index: 1 render style: image choice images: w|u: wbar2.png w|b: wbar2.png w|r: rbar2.png w|g: gbar2.png u|b: ubar2.png u|r: ubar2.png u|g: gbar2.png b|r: bbar2.png b|g: bbar2.png r|g: rbar2.png land bar bottom: left: 33 top: 160 width: {if contains(card.card_color, match:"land") then "27" else "0"} height: 121 z index: 2 render style: image choice images: w|u: ubar2.png w|b: bbar2.png w|r: wbar2.png w|g: wbar2.png u|b: bbar2.png u|r: rbar2.png u|g: ubar2.png b|r: rbar2.png b|g: gbar2.png r|g: gbar2.png