Files
magic-set-editor-fork/data/magic-future-artbg.mse-style/style
cajun 6d617985ce [274/274] magic-modules rollout (#51)
Add Magic-Modules support to all frames
2024-09-10 22:21:23 -05:00

541 lines
14 KiB
Plaintext

mse version: 2.0.0
game: magic
short name: Future Art BG
full name: Futureshift Art BG
installer group: magic/Future/Artbackground cards
icon: card-sample.png
position hint: 274
version: 2024-05-29
depends on:
package: magic.mse-game
version: 2007-12-29
depends on:
package: magic-future-common.mse-include
version: 2007-09-23
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-modules.mse-include
version: 2024-05-20
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_hybrid_with_land := { styling.grey_hybrid_name }
watermark_include := "/magic-modules.mse-include/watermarks"
template_suffix := [pt: "pt.png", textbox: "textbox.png", typeline: "typeline.png"]
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"
}
card_color := {
# usually the color of mana
mana_color := mana_to_color(colors: color_filter(casting_cost), hybrid: color_filterH(casting_cost))
if mana_color == "colorless" and is_land (type) then land_to_color(watermark)
else if mana_color == "colorless" and is_artifact(type) then "artifact"
else mana_color
};
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 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)]
]
)
}
card_shape := { if styling.shifted_sorting then "shifted" else "normal" }
############################################################## 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)
variation:
name: mythic rare
border radius: 0.07
fill type: linear gradient
fill color 1: rgb(255, 160, 40)
fill color 2: rgb(202, 49, 35)
border color 1: rgb(0, 0, 0)
border color 2: rgb(0, 0, 0)
############################################################## Extra style options
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: 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: color
name: copyright font color
description: The default artist and copyright line font color for cards
choice:
name: black
color: rgb(0,0,0)
choice:
name: white
color: rgb(255,255,255)
styling field:
type: color
name: textbox font color
description: The default textbox font color for cards
choice:
name: black
color: rgb(0,0,0)
choice:
name: white
color: rgb(255,255,255)
styling field:
type: color
name: typeline font color
description: The default name, p/t, and typeline font color for cards
choice:
name: black
color: rgb(0,0,0)
choice:
name: white
color: rgb(255,255,255)
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 field:
type: boolean
name: display border
description: Should the card border be displayed?
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
############################################################## Card fields
include file: /magic-modules.mse-include/corners/card_fields
card style:
############################# Background stuff
border color:
left: 0
top : 0
width: 375
height: 523
radius: 18
left width: 10
right width: 10
top width: 10
bottom width: 10
visible: { styling.display_border }
mask: bordermask.png
z index: 1
############################# 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: Matrix
size: 18
color: { styling.typeline_font_color }
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: 3
padding top: 0
mask: costmask.png
card symbol:
left: {if card.card_symbol == "none" then 50 else 63}
top : 32
height: 21
width: 23
z index: 4
render style: image
image: { card_symbol_image(face: 1) }
############################# Image
image:
left: 0
top: 0
width: 375
height: 523
mask: imagemask.png
default: defimg.png
z index: 0
############################# Card type
type:
left: 49
top : 300
width: { 300 - max(21,card_style.rarity.content_width) }
height: 20
alignment: middle shrink-overflow
z index: 3
padding top: 2
font:
name: Matrix
size: 14
color: { styling.typeline_font_color }
separator color: rgb(128,128,128)
rarity:
right: 353
top : 302
width: 22
height: 22
z index: 3
alignment: middle right
render style: image
include file: /magic-modules.mse-include/rarities/choice_images
############################# Text box
text:
left: 36
top : 330
width: 301
height: 138
font:
name: MPlantin
italic name: MPlantin-Italic
size: 13
scale down to: 6
color: { styling.textbox_font_color }
symbol font:
name: { styling.text_box_mana_symbols }
size: 13
alignment:
script:
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_text == "always"
then "middle center"
else "middle left"
z index: 4
padding left: 6
padding top: 2
padding right: 4
padding bottom: 2
line height hard: 1.2
line height soft: 0.9
line height line: 1.5
watermark:
left: 26
top : 350
width: 301
height: 138
z index: 3
render style: image
include file: /magic.mse-game/watermarks/menu_choice_images
image: { watermark_image_1() }
############################# PT
pt:
z index: 4
left: 287
top: 469
width: 60
height: 28
alignment: center middle shrink-overflow
font:
name: ModMatrix
size: 18
weight: bold
color: { styling.typeline_font_color }
separator color: rgb(200,0,0)
############################# Card sorting / numbering
############################# Copyright stuff
illustrator:
right: { if card.pt != "" then 275 else 338 }
top : 475
left: 30
height: 16
z index: 1
alignment: middle right
font:
name: Matrix
size: 10
color: { styling.copyright_font_color }
copyright line:
left: 30
top : 488
right: { if card.pt != "" then 275 else 338 }
height: 12
z index: 1
alignment: bottom right
font:
name: MPlantin
size: 7
color: { styling.copyright_font_color }
############################################################## Extra card fields
extra card field:
type: multiple choice
name: textbox
empty choice: colorless
choice: white
choice: blue
choice: black
choice: red
choice:
name: green
line below: true
choice: artifact
choice: land
choice: multicolor
choice:
name: hybrid
line below: true
choice:
name: horizontal
type: radio
choice:
name: vertical
type: radio
choice:
name: radial
type: radio
choice:
name: overlay
type: radio
choice:
name: reversed
script: card_color_filter(value)
default: card_color(casting_cost: card.casting_cost, rules_text: card.rule_text, type: card.super_type, watermark: card.watermark, card_name: card.name)
extra card field:
type: multiple choice
name: typeline
empty choice: colorless
choice: white
choice: blue
choice: black
choice: red
choice:
name: green
line below: true
choice: artifact
choice: land
choice: multicolor
choice:
name: hybrid
line below: true
choice:
name: horizontal
type: radio
choice:
name: vertical
type: radio
choice:
name: radial
type: radio
choice:
name: overlay
type: radio
choice:
name: reversed
script: card_color_filter(value)
default: card_color(casting_cost: card.casting_cost, rules_text: card.rule_text, type: card.super_type, watermark: card.watermark, card_name: card.name)
extra card field:
type: multiple choice
name: pt box
empty choice: colorless
choice: white
choice: blue
choice: black
choice: red
choice:
name: green
line below: true
choice: artifact
choice: land
choice: multicolor
choice:
name: hybrid
line below: true
choice:
name: horizontal
type: radio
choice:
name: vertical
type: radio
choice:
name: radial
type: radio
choice:
name: overlay
type: radio
choice:
name: reversed
script: card_color_filter(value)
default: card_color(casting_cost: card.casting_cost, rules_text: card.rule_text, type: card.super_type, watermark: card.watermark, card_name: card.name)
extra card field:
type: choice
name: foil layer
choice: foil
save value: false
editable: false
extra card field:
type: choice
name: paintbrush
choice: black
choice: white
extra card style:
textbox:
left: 0
top: 320
width: 358
height: 152
render style: image
popup style: in place
image: { card_textbox() }
z index: 1
typeline:
left: 18
top: 17
width: 339
height: 464
render style: image
popup style: in place
image: { card_typeline() }
z index: 2
pt box:
left: 285
top: 452
width: 70
height: 52
z index: 3
visible: { card.pt != "" }
render style: image
image: { card_ptbox() }
paintbrush:
right: { ( if card.pt != "" then 275 else 338 ) - card_style.illustrator.content_width }
top : 476
width: 40
height: 15
z index: 1
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"}