Files
magic-set-editor-fork/data/magic-nouveau.mse-style/style
2021-07-09 13:48:12 -05:00

468 lines
12 KiB
Plaintext

mse version: 2.0.0
game: magic
short name: Nouveau
full name: Magic Nouveau
installer group: magic/nouveau style
icon: card-sample.png
position hint: 838
version: 2014-02-22
depends on:
package: magic.mse-game
version: 2008-06-02
depends on:
package: magic-watermarks.mse-include
version: 2007-12-29
depends on:
package: magic-mana-small.mse-symbol-font
version: 2007-09-23
depends on:
package: magic-future-common.mse-include
version: 2008-05-21
depends on:
package: magic-mana-bubble.mse-symbol-font
version: 2009-09-04
card width: 375
card height: 523
card dpi: 150
############################################################## Extra scripts
init script:
# There is an artifact land frame.
land_template := { input + "l{type}.jpg" }
# 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 }
typesymbol_for :=
to_text +
replace@(match: "(Legendary|Basic|Snow|World| )", replace: "") +
{ if input == "Creature" then "creature"
else if input == "Sorcery" then "sorcery"
else if input == "Instant" then "instant"
else if input == "Artifact" then "artifact"
else if input == "Enchantment" then "enchantment"
else if input == "Land" then "land"
else if input == "Planeswalker" then "planeswalker"
else if input == "Structure" then "structure"
else "multitype"
}
card_shape := { if contains(card.super_type, match:"Token") or contains(card.sub_type, match:"Token") or styling.is_token then "token" else "normal" }
paintbrush_color := {
if to_int(card.border_color) < 96 then "white" else "black"
}
############################################################## Set info fields
set info style:
symbol:
variation:
name: radialuncommon
border radius: 0.07
fill type: radial gradient
fill color 1: rgb(84,84,84)
fill color 2: rgb(224,224,224)
border color 1: black
border color 2: black
variation:
name: radialrare
border radius: 0.07
fill type: radial gradient
fill color 1: rgb(95, 84, 40)
fill color 2: rgb(214,196,94)
border color 1: black
border color 2: black
variation:
name: radialmythicrare
border radius: 0.07
fill type: radial gradient
fill color 1: rgb(202,49,35)
fill color 2: rgb(255,160,40)
border color 1: black
border color 2: black
variation:
name: radialspecial
border radius: 0.07
fill type: radial gradient
fill color 1: rgb(58,7,80)
fill color 2: rgb(224,170,247)
border color 1: white
border color 2: white
############################################################## Extra style options
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 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: is token
description: Is this card a token?
initial: no
styling field:
type: boolean
name: keyword icons
description: Should the keyword icon area be present?
initial: yes
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: 375
height: 523
radius: 14
left width: 19
right width: 19
top width: 18
bottom width: 21
z index: 4
card color:
left: 0
top: 0
width: 375
height: 523
z index: 0
render style: image
popup style: in place
image: { card_background() }
############################# Name line
name:
left: { if card.card_symbol == "none" then 28 else 44 }
top: 24
right: { 347 - card_style.casting_cost.content_width }
height: 25
alignment: bottom shrink-overflow
padding bottom: 0
z index: 1
font:
name: Matrix
size: 19
weight: bold
color: white
shadow color: black
shadow displacement x: 2
shadow displacement y: 2
shadow blur: 2
casting cost:
right: 347
top : 24
width: { max(30, card_style.casting_cost.content_width) + 5 }
height: 25
alignment: middle right
symbol font:
name: magic-mana-bubble
size: 18
alignment: middle right
always symbol: true
z index: 2
padding top: 0
card symbol:
left: 24
top : 27
height: 20
width: 14
z index: 1
render style: image
choice images:
tombstone: tombstone.png
type symbol:
left: 23
top: 50
width: 27
height: 27
z index: 1
render style: image
choice images:
artifact: { drop_shadow("/magic-future-common.mse-include/artifact_white.png", offset_x: 0.08, offset_y: 0.10, color: rgb(0,0,0), alpha: 1, blur_radius: 0.05) }
creature: { drop_shadow("/magic-future-common.mse-include/creature_white.png", offset_x: 0.08, offset_y: 0.10, color: rgb(0,0,0), alpha: 1, blur_radius: 0.05) }
enchantment: { drop_shadow("/magic-future-common.mse-include/enchantment_white.png", offset_x: 0.08, offset_y: 0.10, color: rgb(0,0,0), alpha: 1, blur_radius: 0.05) }
instant: { drop_shadow("/magic-future-common.mse-include/instant_white.png", offset_x: 0.08, offset_y: 0.10, color: rgb(0,0,0), alpha: 1, blur_radius: 0.05) }
land: { drop_shadow("/magic-future-common.mse-include/land_white.png", offset_x: 0.08, offset_y: 0.10, color: rgb(0,0,0), alpha: 1, blur_radius: 0.05) }
multitype: { drop_shadow("/magic-future-common.mse-include/multitype_white.png", offset_x: 0.08, offset_y: 0.10, color: rgb(0,0,0), alpha: 1, blur_radius: 0.05) }
sorcery: { drop_shadow("/magic-future-common.mse-include/sorcery_white.png", offset_x: 0.08, offset_y: 0.10, color: rgb(0,0,0), alpha: 1, blur_radius: 0.05) }
planeswalker: { drop_shadow("/magic-future-common.mse-include/planeswalker_white.png", offset_x: 0.08, offset_y: 0.10, color: rgb(0,0,0), alpha: 1, blur_radius: 0.05) }
structure: { drop_shadow("structure_white.png", offset_x: 0.08, offset_y: 0.10, color: rgb(0,0,0), alpha: 1, blur_radius: 0.05) }
############################# Image
image:
left: 19
top: 59
width: 337
height: 239
z index: 1
mask: image_mask.png
############################# Card type
type:
left: 28
top : 299
right: 347
height: 20
alignment: middle shrink-overflow
z index: 1
padding top: 1
font:
name: Matrix
size: 16
weight: bold
color: white
shadow color: black
shadow displacement x: 2
shadow displacement y: 2
shadow blur: 2
rarity:
left: 324
top : 256
width: 29
height: 29
z index: 1
alignment: middle center
render style: image
choice images:
# Images based on the set symbol
basic land: script: symbol_variation(symbol: set.symbol, variation: "common")
common: script: symbol_variation(symbol: set.symbol, variation: "common")
uncommon: script: symbol_variation(symbol: set.symbol, variation: "radialuncommon")
rare: script: symbol_variation(symbol: set.symbol, variation: "radialrare")
mythic rare: script: symbol_variation(symbol: set.symbol, variation: "radialmythicrare")
special: script: symbol_variation(symbol: set.symbol, variation: "radialspecial")
############################# Text box
text:
left: 36
top : { if styling.keyword_icons then 367 else 333 }
width: 303
height: { if styling.keyword_icons then 111 else 145 }
font:
name: MPlantin
italic name: MPlantin-Italic
size: 14
scale down to: 6
color: black
symbol font:
name: { styling.text_box_mana_symbols }
size: 14
alignment: middle left
z index: 2
padding left: 6
padding top: 2
padding right: 4
padding bottom: 0
line height hard: 1.2
line height line: 1.5
line height soft: 0.9
mask: { if styling.keyword_icons then "textbox_mask_short.png" else "textbox_mask.png" }
watermark:
left: 105
top : { if styling.keyword_icons then 357 else 323 }
width: 165
height: { if styling.keyword_icons then 131 else 165 }
z index: 1
render style: image
alignment: middle center
include file: /magic-watermarks.mse-include/watermarks
############################# PT
pt:
z index: 2
left: 272
top: 446
width: 64
height: 39
alignment: center middle shrink-overflow
font:
name: ModMatrix
size: 23
color: black
separator color: rgb(200,0,0)
############################# Card sorting / numbering
############################# Copyright stuff
illustrator:
left: 40
top : 484
width: 297
height: 16
z index: 1
alignment: middle center
font:
name: MPlantin
size: 10
color: white
shadow color: black
shadow displacement x: 2
shadow displacement y: 2
shadow blur: 2
copyright line:
left: 40
top : 501
width: 297
height: 12
z index: 5
alignment: middle center
font:
name: MPlantin
size: 6.5
color: { paintbrush_color() }
############################################################## Extra card fields
extra card field:
type: choice
name: foil layer
choice: foil
save value: false
editable: false
extra card field:
type: choice
name: pt box
choice: pt
save value: false
editable: false
extra card field:
type: choice
name: keyword bar
choice: bar
save value: false
editable: false
extra card field:
type: text
name: cmc
save value: false
editable: false
script: cmc(card.casting_cost)
extra card field:
type: choice
name: paintbrush
save value: false
editable: false
choice: paintbrush
extra card field:
type: multiple choice
name: keyword icons
description: Icons for keywords
choice: deathtouch
choice: double strike
choice: first strike
choice: flash
choice: flying
choice: haste
choice: lifelink
choice: reach
choice:
name: protection from
choice: white
choice: blue
choice: black
choice: red
choice: green
choice: multicolor
choice: artifact
extra card style:
foil layer:
left: 0
top : 0
width: 375
height: 523
z index: 3
render style: image
image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"}
pt box:
left: 0
top: 0
width: 375
height: 523
z index: 1
render style: image
visible: {card.pt != ""}
image: pt_bar.png
keyword bar:
left: 0
top: 0
width: 375
height: 523
z index: 1
render style: image
image: keyword_bar.png
visible: {styling.keyword_icons}
cmc:
left: 22
top: 77
width: 27
height: 27
z index: 1
alignment: middle center
font:
name: ModMatrix
size: 20
weight: bold
color: white
shadow color: black
shadow displacement x: 2
shadow displacement y: 2
shadow blur: 2
paintbrush:
left: { 150 + card_style.illustrator.content_width * -0.5 }
top: 484
height: 15
width: 38
z index: 1
render style: image
image: { drop_shadow("/magic-future-common.mse-include/paintbrush_white.png", offset_x: 0.0526, offset_y: 0.1333, color: rgb(0,0,0), alpha: 1, blur_radius: 0.12)}
keyword icons:
left: 42
top: { if styling.keyword_icons then 321 else 5000 }
width: 297
height: 24
z index: 1
alignment: middle left
render style: image list
spacing: 10
choice images:
deathtouch: deathtouch.png
double strike: doublestrike.png
first strike: firststrike.png
flash: flash.png
flying: flying.png
haste: haste.png
lifelink: lifelink.png
reach: reach.png
protection from white: pro-white.png
protection from blue: pro-blue.png
protection from black: pro-black.png
protection from red: pro-red.png
protection from green: pro-green.png
protection from multicolor: pro-gold.png
protection from artifact: pro-artifact.png