Files
magic-set-editor-fork/data/magic-baseball-1980-topps.mse-style/style
GenevensiS 8350a8663e Correct DPI of certain frames (#64)
* correct dpi

* correct mainframe mini dpi
2024-09-15 10:19:19 -05:00

355 lines
8.1 KiB
Plaintext

mse version: 2.1.2
game: magic
short name: Baseball
full name: 1980 Topps
icon: card_sample.png
position hint: 810
version: 2024-05-30
depends on:
package: magic.mse-game
version: 2020-04-25
depends on:
package: magic-mana-large.mse-symbol-font
version: 2001-01-01
depends on:
package: magic-mana-small.mse-symbol-font
version: 2001-01-01
depends on:
package: magic-modules.mse-include
version: 2024-05-20
card width: 822
card height: 1122
card dpi: 325
############################################################## Scripts
init script:
guild_mana := { styling.use_guild_mana_symbols }
mana_t := {
if styling.tap_symbol == "old" then "old"
else if styling.tap_symbol == "diagonal T" then "older"
else "new"
}
ancestral_mana := { styling.ancestral_mana_symbols }
has_cc := { card.casting_cost != "" }
has_type := { remove_tags(card.type) != "" }
has_rules := { card.rule_text != "" }
has_pt := { card.pt != "" }
has_illustrator := { card.illustrator != "" }
shrink_name := {if styling.shrink_name != "" then to_int(styling.shrink_name) else 0 }
shrink_type := {if styling.shrink_type != "" then to_int(styling.shrink_type) else 0 }
shrink_cc := {if styling.shrink_casting_cost != "" then to_int(styling.shrink_casting_cost) else 0 }
shrink_rules := {if styling.shrink_rules != "" then to_int(styling.shrink_rules) else 0 }
shrink_pt := {if styling.shrink_pt != "" then to_int(styling.shrink_pt) else 0 }
shrink_rarity_top := { to_int(pull_comma_array(styling.shrink_rarity_symbol, cell:0, end:0, default:0)) }
shrink_rarity_bot := { to_int(pull_comma_array(styling.shrink_rarity_symbol, cell:1, end:0, default:0)) }
shrink_rarity_left := { to_int(pull_comma_array(styling.shrink_rarity_symbol, cell:2, end:0, default:0)) }
shrink_rarity_right := { to_int(pull_comma_array(styling.shrink_rarity_symbol, cell:3, end:0, default:0)) }
############################################################## Rarity Symbols
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)
set info style:
symbol:
variation:
name: special
border radius: 0.10
fill type: solid
fill color: rgb(155,155,155)
border color: rgb(0,0,0)
############################################################## Styling
styling field:
type: text
name: shrink name
description: Reduces the name text's font size by N points.
styling field:
type: text
name: shrink type
description: Reduces the type text's font size by N points.
styling field:
type: text
name: shrink casting cost
description: Reduces the casting cost text's font size by N points.
styling field:
type: text
name: shrink rules
description: Reduces the rules text's font size by N points.
styling field:
type: text
name: shrink pt
description: Reduces the pt text's font size by N points.
styling field:
type: text
name: shrink rarity symbol
description: Shrinks the top, bottom, left, and right edges of the rarity symbol by N pixels. Use negatives to enlarge. Formatted as "1,2,3,4"
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: 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?
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 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
############################################################## Fields
include file: /magic-modules.mse-include/corners/card_fields
include file: /magic-modules.mse-include/information/the_list_old
card style:
name:
left: { if has_cc() then 285 else 77 }
top: 70
width: { if has_cc() then 440 else 651 }
height: 50
z index: 10
alignment: middle center shrink-overflow
font:
name: Franklin Gothic
size: { 39 - shrink_name() }
color: black
card style:
casting cost:
left: 73
top: 140
width: 175
height: 70
angle: 15.5
z index: 11
alignment: middle center shrink-overflow
font:
name: Franklin Gothic
size: { 42 - shrink_cc() }
symbol font:
name: magic-mana-large
size: { 42 - shrink_cc() }
always symbol: true
card style:
image:
left: 77
top: { if has_type() then 200 else 141 }
right: 733
bottom: 1042
z index: 0
card style:
type:
left: { if has_cc() then 288 else 92 }
top: 145
right: { min(710,675 + shrink_rarity_left()) }
height: 40
z index: 10
alignment: middle center shrink-overflow
font:
name: AlternateGotNo3D
size: { 26 - shrink_type() }
color: rgb(200,50,80)
separator color: green
card style:
rarity:
left: { 680 + shrink_rarity_left() }
right: { 720 - shrink_rarity_right() }
top: { 145 + shrink_rarity_top() }
bottom: { 185 - shrink_rarity_bot() }
z index: 11
render style: image
alignment: middle center shrink-overflow
include file: /magic-modules.mse-include/rarities/choice_images
card style:
rule_text:
left: 345
top: 919
width: 370
height: 96
angle: 12.8
z index: 10
alignment: middle center
font:
name: AlternateGotNo3D
size: { 24 - shrink_rules() }
scale down to: 12
color: rgb(185,45,69)
symbol font:
name: { styling.text_box_mana_symbols }
size: { 24 - shrink_rules() }
card style:
pt:
left: 642
top: 995
width: 90
height: 55
angle: 23.5
z index: 10
alignment: middle left shrink-overflow
font:
name: AlternateGotNo3D
size: { 36 - shrink_pt() }
color: rgb(185,45,69)
separator color: green
card style:
illustrator:
left: 221
top: 1060
width: 400
height: 20
z index: 10
alignment: middle center
font:
name: AlternateGotNo3D
size: 16
color: black
############################################################## Extra Fields
extra card field:
type: choice
name: blank
choice: bogus choice
editable: false
save value: false
extra card field:
type: choice
name: cc box
choice: bogus choice
editable: false
save value: false
extra card field:
type: choice
name: type box
choice: bogus choice
editable: false
save value: false
extra card field:
type: choice
name: rules box
choice: bogus choice
editable: false
save value: false
extra card field:
type: choice
name: pt box
choice: bogus choice
editable: false
save value: false
extra card field:
type: choice
name: illustrator brush
choice: bogus choice
editable: false
save value: false
extra card style:
blank:
left: 0
top: 0
width: 822
height: 1122
z index: 1
render style: image
image: blank.png
extra card style:
cc box:
left: 0
top: 0
width: 822
height: 1122
z index: 3
visible: { has_cc() }
render style: image
image: cc_box.png
extra card style:
type box:
left: 0
top: 0
width: 822
height: 1122
z index: 2
visible: { has_type() }
render style: image
image: type_box.png
extra card style:
rules box:
left: 0
top: 0
width: 822
height: 1122
z index: 3
visible: { has_rules() }
render style: image
image: rules_box.png
extra card style:
pt box:
left: 0
top: 0
width: 822
height: 1122
z index: 3
visible: { has_pt() }
render style: image
image: pt_box.png
extra card style:
illustrator brush:
left: { 398 - ( card_style.illustrator.content_width / 2 ) }
top: 1060
width: 20
height: 20
z index: 10
visible: { has_illustrator() }
render style: image
image: illustrator_brush.png