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

354 lines
8.3 KiB
Plaintext

mse version: 2.0.0
game: magic
short name: Horror
full name: Magic Horror
icon: card-sample.png
installer group: magic/horror style
position hint: 827
version: 2024-05-30
depends on:
package: magic.mse-game
version: 2008-06-02
depends on:
package: magic-modules.mse-include
version: 2024-10-01
depends on:
package: magic-mana-large-dark.mse-symbol-font
version: 2007-09-23
depends on:
package: magic-mana-small-dark.mse-symbol-font
version: 2007-09-23
card width: 375
card height: 523
card dpi: 150
# By Pichoro
############################################################## Extra scripts
init script:
# Should hybrids have a grey name?
mask_hybrid_with_land := { styling.grey_hybrid_name }
# We have no colorless frame.
template := { (if input == "c" then "a" else input) + "{type}.jpg" }
# Colored lands are generated by scripting.
land_template := {
masked_blend(
mask: "artifact_blend_{type}.png",
dark: "cl{type}.jpg",
light: ( if input == "c" then "cl{type}.jpg" else input + "{type}.jpg" ),
)
}
#Should multicolor lands with basic land types have a colored name?
mask_multi_land_with_color := { styling.colored_multicolor_land_name }
# Use land templates for previews because they show more contrast
hybrid_previews := "land,hybrid"
# 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 }
watermark_include := "/magic-modules.mse-include/watermarks"
############################################################## 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:
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: boolean
name: inverted common symbol
description: Should the common rarity symbol be inverted, like in Coldsnap?
initial: no
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: package choice
name: text box mana symbols
match: magic-mana-*.mse-symbol-font
initial: magic-mana-small-dark.mse-symbol-font
styling style:
use guild mana symbols:
choice images:
yes: /magic-mana-small-dark.mse-symbol-font/mana_guild_rg.png
no: /magic-mana-small-dark.mse-symbol-font/mana_rg.png
tap symbol:
render style: both
choice images:
modern: /magic-mana-large-dark.mse-symbol-font/mana_t.png
old: /magic-mana-large-dark.mse-symbol-font/mana_t_old.png
diagonal T: /magic-mana-large-dark.mse-symbol-font/mana_t_older.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: 14
right width: 14
top width: 14
bottom width: 14
z index: 4
card color:
left: 14
top: 14
width: 347
height: 495
z index: 0
render style: image
popup style: in place
image: { card_background() }
############################# Name line
name:
left: { if card.card_symbol=="none" then 29 else 51 }
top : 34
right: { 341 - card_style.casting_cost.content_width }
height: 23
alignment: bottom shrink-overflow
angle: 3.5
padding bottom: 0
z index: 1
font:
name: Attic Antique Demibold
size: 17
weight: bold
color: rgb(0,0,0)
casting cost:
right: 346
top : 15
width: 60
height: 23
alignment: bottom right
angle: 3.5
font:
name: MPlantin
size: 15
symbol font:
name: magic-mana-large-dark
size: 15
alignment: bottom right
always symbol: true
z index: 2
padding top: 0
card symbol:
left: {if card.card_symbol=="none" then 20 else 28}
top : 34
height: 21
width: 23
z index: 5
render style: image
image: { card_symbol_image(face: 1) }
############################# Image
image:
left: 32
top: 40
width: 320
height: 272
mask: imagemask.png
default: blank.png
z index: 1
############################# Card type
type:
left: 29
top : 304
width: { 312 - card_style.rarity.content_width }
height: 20
alignment: top shrink-overflow
angle: -1.5
z index: 1
padding top: 2
font:
name: Attic Antique Demibold
size: 14
color: rgb(0,0,0)
separator color: rgb(128,128,128)
rarity:
right: 346
top : 313
width: 48
height: 24
z index: 2
render style: image
alignment: middle right
angle: -1.5
include file: /magic-modules.mse-include/rarities/choice_images
############################# Text box
text:
left: 34
top : 338
width: 311
height: 142
font:
name: MPlantin
italic name: MPlantin-Italic
size: 14
scale down to: 6
color: rgb(0,0,0)
shadow color: rgb(255,255,255)
shadow blur: 3
shadow displacement x: 0
shadow displacement y: 0
symbol font:
name: { styling.text_box_mana_symbols }
size: 14
alignment: left middle
z index: 2
padding left: 6
padding right: 4
line height hard: 1.2
line height line: 1.5
line height soft: 0.9
line height hard max: 1.3
line height line max: 1.6
watermark:
left: 24
top : 338
width: 331
height: 142
render style: image
alignment: middle center
include file: /magic.mse-game/watermarks/menu_choice_images
image: { watermark_image_1() }
############################# PT
pt:
z index: 1
left: 292
top: 478
width: 60
height: 28
alignment: right middle
font:
name: Attic Antique Demibold
size: 22
weight: bold
color: rgb(255,255,255)
separator color: rgb(200,0,0)
shadow color: rgb(0,0,0)
shadow blur: 2
shadow displacement x: -2
shadow displacement y: 2
############################# Card sorting / numbering
############################# Copyright stuff
illustrator:
left: 63
top : 482
width: { if card.pt !="" then 227 else 288 }
height: 16
z index: 1
alignment: shrink-overflow
font:
name: Attic Antique Demibold
size: 10
weight: bold
color: rgb(255,255,255)
shadow color: rgb(0,0,0)
shadow blur: 2
shadow displacement x: -1
shadow displacement y: 1
copyright line:
left: 25
top : 498
width: { if card.pt !="" then 266 else 327 }
height: 12
alignment: shrink-overflow
z index: 1
font:
name: Attic Antique Demibold
size: 6.5
color: rgb(255,255,255)
shadow color: rgb(0,0,0)
shadow blur: 2
shadow displacement x: -1
shadow displacement y: 1
############################################################## Extra card fields
extra card field:
type: choice
name: foil layer
choice: foil
save value: false
editable: false
extra card field:
type: color
name: border color fixer
script: card.border_color
save value: false
editable: false
extra card field:
type: text
name: illus
script: "Illus."
editable: false
save value: false
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"}
border color fixer:
left: 14
top: 14
width: 347
height: 495
z index: 5
mask: bordermask.png
illus:
left: 25
top : 482
width: 217
height: 16
z index: 1
font:
name: Attic Antique Demibold
size: 10
weight: bold
color: rgb(255,255,255)
shadow color: rgb(0,0,0)
shadow blur: 2
shadow displacement x: -1
shadow displacement y: 1