mse version: 2.0.0 game: magic short name: Urban full name: Grafitti Style installer group: magic/urban icon: card-sample.png position hint: 843 version: 2024-05-30 depends on: package: magic.mse-game version: 2008-06-02 depends on: package: magic-mana-graffiti.mse-symbol-font version: 2010-02-04 depends on: package: magic-mana-small.mse-symbol-font version: 2007-09-23 depends on: package: magic-modules.mse-include version: 2024-10-01 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 } text_color := { if card.card_color == "white" or card.card_color == "white, land" then "black" else "white" } shadow_color := { if card.card_color == "white" or card.card_color == "white, land" then "white" else "black" } card_shape := { if contains(card.super_type, match:"Token") or contains(card.sub_type, match:"Token") or styling.is_token then "token" else "normal" } watermark_include := "/magic-modules.mse-include/watermarks" ############################################################## Set info fields ############################################################## 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? 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: 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: is token description: Is this card a token? 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 ############################################################## 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: 19 right width: 19 top width: 19 bottom width: 19 z index: 6 card color: left: 19 top: 19 width: 337 height: 485 z index: 0 render style: image popup style: in place image: backdrop.jpg ############################# Name line name: left: { if card.card_symbol == "none" then 30 else 42 } top: 27 right: { 350 - card_style.casting_cost.content_width } height: 23 alignment: bottom shrink-overflow padding bottom: 0 z index: 2 font: name: Rufa size: 19 weight: bold color: {text_color()} shadow color: {shadow_color()} shadow displacement x: 0 shadow displacement y: 0 shadow blur: 2 casting cost: right: 351 top : 22 width: { max(30, card_style.casting_cost.content_width) + 5 } height: 33 alignment: middle right symbol font: name: magic-mana-graffiti size: 16 alignment: middle right always symbol: true z index: 3 padding top: 0 card symbol: left: 20 top : 27 height: 21 width: 23 z index: 5 render style: image image: { card_symbol_image(face: 1) } ############################# Image image: left: 27 top: 57 width: 321 height: 235 z index: 2 mask: image_mask.png ############################# Card type rarity: right: 351 top : 292 width: 48 height: 24 z index: 3 alignment: middle right render style: image include file: /magic-modules.mse-include/rarities/choice_images ############################# Text box text: left: 30 top : 324 width: 321 height: 168 font: name: MPlantin italic name: MPlantin-Italic size: 15 scale down to: 6 color: black shadow color: white shadow displacement x: 0 shadow displacement y: 0 shadow blur: 2 symbol font: name: { styling.text_box_mana_symbols } size: 13.5 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: 3 mask: textbox_mask.png padding left: 6 padding top: 2 padding right: 4 padding bottom: 0 line height hard: 1.2 line height line: 1.5 line height soft: 0.9 watermark: left: 20 top : 324 width: 341 height: 168 z index: 1 render style: image popup style: in place alignment: middle center include file: /magic.mse-game/watermarks/menu_choice_images image: { watermark_image_1() } ############################# PT pt: z index: 3 left: 295 top: 470 width: 47 height: 27 alignment: right middle font: name: Rufa size: 17 weight: bold color: black shadow color: white shadow displacement x: 0 shadow displacement y: 0 shadow blur: 2 separator color: red ############################# Card sorting / numbering ############################# Copyright stuff illustrator: right: 330 top: 260 width: 286 height: 16 z index: 3 alignment: middle right font: name: Rufa size: 10 weight: bold color: black shadow color: white shadow displacement x: 0 shadow displacement y: 0 shadow blur: 2 copyright line: left: 40 top : 492 width: 297 height: 12 z index: 1 alignment: middle center font: name: MPlantin size: 6.5 color: black shadow color: white shadow displacement x: 0 shadow displacement y: 0 shadow blur: 2 ############################################################## Extra card fields extra card field: type: choice name: foil layer choice: foil save value: false editable: false extra card field: type: color name: image overlay choice: overlay save value: false editable: false script: if contains(card.card_color, match:"multicolor") or contains(card.card_color, match:"hybrid") then rgb(154,149,21) else if contains(card.card_color, match:"artifact") then rgb(165,163,150) else if contains(card.card_color, match:"white") then "white" else if contains(card.card_color, match:"blue") then rgb(55,49,183) else if contains(card.card_color, match:"black") then "black" else if contains(card.card_color, match:"red") then rgb(255,0,0) else if contains(card.card_color, match:"green") then rgb(81,155,70) else rgb(165,163,150) extra card field: type: text name: urban type save value: false script: combined_editor( field1: card.super_type, separator: " - ", field2: card.sub_type, soft_before_empty: true, hide_when_empty: true ) description: The type of this card, type - to go the sub type extra card field: type: text name: paintbrush save value: false editable: false script: "L" extra card style: 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"} image overlay: left: 19 top: 19 width: 337 height: 485 z index: 1 mask: overlay_mask.png urban type: left: 30 top : 292 width: { 321 - max(22,card_style.rarity.content_width) } height: 24 alignment: middle shrink-overflow z index: 2 padding top: 2 font: name: Rufa size: 15 weight: bold color: {text_color()} shadow color: {shadow_color()} shadow displacement x: 0 shadow displacement y: 0 shadow blur: 2 separator color: red paintbrush: right: { 330 - card_style.illustrator.content_width } top: 260 width: 50 height: 16 z index: 3 alignment: middle right font: name: Magic Symbols 2008 size: 10 weight: bold color: black shadow color: white shadow displacement x: 0 shadow displacement y: 0 shadow blur: 2