Files
magic-set-editor-fork/data/planechase-fullart-horizontal.mse-style/style
2024-10-01 08:42:16 -05:00

225 lines
5.7 KiB
Plaintext

mse version: 2.0.0
game: planechase
full name: Full Art Style
short name: Horizontal
installer group: Magic Planes/fullart style/horizontal
icon: card-sample.png
position hint: 100
version: 2014-02-04
depends on:
package: planechase.mse-game
version: 2009-08-10
depends on:
package: magic-mana-small.mse-symbol-font
version: 2009-08-10
card width: 523
card height: 375
card dpi: 150
#By Pichoro
############################################################## Extra scripts
init script:
artist_color := {
if to_int(card.border_color) < 96 then "white" else "black"
}
# 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 }
############################################################## Set info fields
############################################################## Extra style options
styling field:
type: boolean
name: reverse text color
description: Should text color be black with a white shadow?
initial: no
styling field:
type: text
name: textbox left
description: The top coordinate for the textbox.
styling field:
type: text
name: textbox top
description: The top coordinate for the textbox.
styling field:
type: text
name: textbox width
description: The top coordinate for the textbox.
styling field:
type: text
name: textbox height
description: The height coordinate for the textbox.
styling field:
type: text
name: textbox angle
description: The angle of the textbox.
styling field:
type: choice
name: textbox alignment
description: The alignment of the textbox.
choice: left top shrink-overflow
choice: center top shrink-overflow
choice: right top shrink-overflow
choice: left middle shrink-overflow
choice: center middle shrink-overflow
choice: right middle shrink-overflow
choice: left bottom shrink-overflow
choice: center bottom shrink-overflow
choice: right bottom shrink-overflow
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?
initial: old
choice: modern
choice: old
choice: diagonal T
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
card style:
############################# Background stuff
border color:
left: 0
top : 0
width: 523
height: 375
radius: 18
left width: 17
right width: 17
top width: 17
bottom width: 18
z index: -1
############################# Text
name:
left: 18
top: 18
height: 23
width: 487
alignment: bottom shrink-overflow
padding bottom: 0
z index: 1
font:
name: Matrix
size: 17
weight: bold
color: {if styling.reverse_text_color then "black" else "white"}
shadow color: {if styling.reverse_text_color then "white" else "black"}
shadow displacement x: 2
shadow displacement y: 2
shadow blur: 2
type:
left: 18
top: 41
height: 23
width: 487
alignment: bottom shrink-overflow
padding bottom: 0
z index: 1
font:
name: Matrix
size: 13
weight: bold
color: {if styling.reverse_text_color then "black" else "white"}
shadow color: {if styling.reverse_text_color then "white" else "black"}
shadow displacement x: 2
shadow displacement y: 2
shadow blur: 2
############################# Image
image:
left: 17
top: 17
width: 489
height: 340
z index: 0
############################# Rules Text
rule text:
left: {if styling.textbox_left == "" then 0 else styling.textbox_left}
top : {if styling.textbox_top == "" then 0 else styling.textbox_top}
width: {if styling.textbox_width == "" then 0 else styling.textbox_width}
height: {if styling.textbox_height == "" then 0 else styling.textbox_height}
angle: {if styling.textbox_angle == "" then 0 else styling.textbox_angle}
font:
name: MPlantin
italic name: MPlantin-Italic
size: 14
scale down to: 0
color: {if styling.reverse_text_color then "black" else "white"}
shadow color: {if styling.reverse_text_color then "white" else "black"}
shadow displacement x: 2
shadow displacement y: 2
shadow blur: 2
symbol font:
name: { styling.text_box_mana_symbols }
size: 14
alignment: {styling.textbox_alignment}
z index: 2
padding left: 4
padding top: 2
padding right: 4
padding bottom: 2
line height hard: 1.2
line height line: 1.5
############################# Copyright stuff
copyright line:
left: 507
#left: 359
top: 345
#top: 493
width: 252
#width: 400
height: 10
angle: 90
z index: 2
font:
name: Matrix
size: 8
weight: bold
color: { artist_color() }
extra card field:
type: text
name: artist line
save value: false
script: forward_editor(prefix: "Illustrated by ", field: card.illustrator)
description: The artist of the card.
extra card style:
artist line:
left: 30
top: 359
#top : 507
width: 365
#width: 217
height: 10
z index: 2
font:
name: Matrix
size: 8
weight: bold
color: { artist_color() }