Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@
# include mainframe shared files until we relocate them
!/data/magic-mainframe-extras.mse-include/mfsfiles
!/data/magic-mainframe-extras.mse-include/mfsfiles/*
data/magic.mse-game/keywords_custom
213 changes: 62 additions & 151 deletions data/magic-m15-full-art-basic-land-symbol.mse-style/style
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,26 @@ position hint: 020

version: 2023-08-15
depends on:
package: magic.mse-game
version: 2014-06-25
package: magic.mse-game
version: 2014-06-25
depends on:
package: magic-default-image.mse-include
version: 2007-09-23
package: magic-default-image.mse-include
version: 2007-09-23
depends on:
package: magic-modules.mse-include
version: 2024-10-01
package: magic-modules.mse-include
version: 2024-10-01
depends on:
package: magic-mana-large.mse-symbol-font
version: 2007-09-23
package: magic-mana-large.mse-symbol-font
version: 2007-09-23
depends on:
package: magic-mana-small.mse-symbol-font
version: 2007-09-23
package: magic-mana-small.mse-symbol-font
version: 2007-09-23
depends on:
package: magic-mainframe-extras.mse-include
version: 2007-09-23
package: magic-mainframe-extras.mse-include
version: 2007-09-23
depends on:
package: magic-watermarks.mse-include
version: 2024-01-29

card width: 375
card height: 523
Expand All @@ -34,7 +37,6 @@ card dpi: 150
### code by GenevensiS
### made from magic-744-60-full-art.mse-style


############################################################## Extra scripts

init script:
Expand Down Expand Up @@ -209,9 +211,9 @@ init script:

use_main_rarity := { contains(set.mainframe_rarity_name, match: ".png") }

rarity_right := { split := split_comma(styling.rarity_coordinates); if length(split) > 0 and split.0 != "" then clamp(split.0, minimum: 0, maximum: 800) else 344 }
rarity_top := { split := split_comma(styling.rarity_coordinates); if length(split) > 1 and split.1 != "" then clamp(split.1, minimum: 0, maximum: 1100) else 445 }
rarity_size := { split := split_comma(styling.rarity_coordinates); if length(split) > 2 and split.2 != "" then clamp(split.2, minimum: 0, maximum: 1100) else 22 }
rarity_right := { split := 344 }
rarity_top := { split := 445 }
rarity_size := { split := 22 }
rarity_left := { rarity_right() - rarity_size() }

popout_left := { split := split_comma(styling.popout_art_coordinates); if length(split) > 3 and split.0 != "" then clamp(split.0, minimum: -300, maximum: 400) else 0 }
Expand Down Expand Up @@ -244,19 +246,6 @@ init script:
if is_crowned() then combine_blend(image1: "mask_shadow_crown.png", image2: base, combine: "multiply") else base
}


############################################################## 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:
Expand All @@ -272,14 +261,9 @@ styling field:
type: text
name: chop textbox
description: Formatted as "X,Y,Z". Shrinks textbox X pixels from the top, Y from the bottom, and Z from the right.
styling field:
type: choice
name: center rule text
description: When to center text (short text means only on one-line cards with no flavor text)
choice: always
choice: short text only
choice: never
initial: never

include file: /magic-modules.mse-include/texts/styling_fields

styling field:
type: color
name: textbox color
Expand Down Expand Up @@ -308,14 +292,6 @@ styling field:
choice: hybrid
choice: blend
initial: gold
styling field:
type: choice
name: legend crown
description: Use the legend crown?
choice: yes
choice: if legendary
choice: no
initial: if legendary
styling field:
type: boolean
name: pinlines
Expand All @@ -339,109 +315,55 @@ styling field:
choice: only copyright
choice: no
initial: only copyright
styling field:
type: choice
name: legend crown
description: Use the legend crown?
choice: yes
choice: if legendary
choice: no
initial: if legendary

include file: /magic-modules.mse-include/stamps/styling_fields

include file: /magic-modules.mse-include/rarities/styling_fields

include file: /magic-modules.mse-include/watermarks/styling_fields

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 field:
type: text
name: alt rarity color
description: Use a custom color for the rarity symbol. Formatted as "R1,G1,B1:R2,G2,B2:..." 1 and 2 are fill color, 3 and 4 border color
styling field:
type: text
name: rarity coordinates
description: The coordinates for the set symbol, formatted as "right,top,size". Default is 344,445,22.
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: promo
description: Is this card a promo card, with the "P" rarity?
initial: no
styling field:
type: color
name: copyright text color
description: Color of the copyright, illustrator, and set code text.
choice: white
choice: black
initial: white
allow custom: true
styling field:
type: boolean
name: use ancestral mana symbols
description: Enables ancestral's modified generic mana.
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: choice
name: tap symbol
description: What tap and untap symbols should be used on cards?
choice: modern
choice: old
choice: diagonal T
initial: modern
styling field:
type: package choice
name: casting cost mana symbols
description: Symbols used in the casting cost.
match: magic-mana-*.mse-symbol-font
initial: magic-mana-large.mse-symbol-font
styling field:
type: package choice
name: text box mana symbols
description: Symbols used in the rule text and flavor text.
match: magic-mana-*.mse-symbol-font
initial: magic-mana-small.mse-symbol-font

include file: /magic-modules.mse-include/information/styling_fields

include file: /magic-modules.mse-include/symbol-fonts/styling_fields

include file: /magic-modules.mse-include/fonts/styling_fields

styling field:
type: text
name: custom alias font
description: Formatted as "font name;font size;font color;vertical offset;italic font name" last 4 are optional. color can be a name or R,G,B,A numbers.
############################################################## Card fields

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
center rule 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") }
include file: /magic-modules.mse-include/information/card_fields

include file: /magic-modules.mse-include/stamps/card_fields

############################################################## Card fields
include file: /magic-modules.mse-include/corners/card_fields
include file: /magic-modules.mse-include/information/card_fields

include file: /magic-modules.mse-include/watermarks/card_fields

include file: /magic-modules.mse-include/separators/card_fields
include file: /magic-modules.mse-include/stamps/card_fields

include file: /magic-modules.mse-include/namelines/card_fields

# include file: /magic-modules.mse-include/typelines/card_fields
# left out on purpose because I don't want to fuss with trying to match the existing coordinates all over again
# what's already here works fine tbh

include file: /magic-modules.mse-include/foils/card_fields

include file: /magic-modules.mse-include/alias/card_fields

card style:
############################# Background stuff
Expand Down Expand Up @@ -478,21 +400,21 @@ card style:
color: { name_font_color() }
casting cost:
right: 346
top: 28
top: 27
width: { max(35, card_style.casting_cost.content_width + 6) }
height: 26
height: 27
z index: 920
alignment: middle right
always symbol: true
font:
name: MPlantin
italic name: { name_font_italic() }
size: { name_font_size() }
size: 15
scale down to: 7
color: { name_font_color() }
symbol font:
name: { styling.casting_cost_mana_symbols }
size: { name_font_size() }
size: 15
scale down to: 7
alias:
left: 54
Expand Down Expand Up @@ -568,11 +490,11 @@ card style:
line height line max: 1.6
alignment:
script:
if (styling.center_rule_text == "short text only" and
if (styling.center_text == "short text only" and
not contains(match:"\n", card.rule_text) and
card.flavor_text == "<i-flavor></i-flavor>" and
card_style.text.content_lines <= 2) or
styling.center_rule_text == "always"
styling.center_text == "always"
then "middle center"
else "middle left"
font:
Expand All @@ -585,17 +507,6 @@ card style:
name: { styling.text_box_mana_symbols }
size: { body_font_size() }
scale down to: 7
watermark:
left: 10
top: { 315 + chop_top() }
right: 355
bottom: 437
z index: 600
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:
left: 299
Expand Down
Loading