327 lines
8.3 KiB
Plaintext
327 lines
8.3 KiB
Plaintext
mse version: 0.3.7
|
|
game: space
|
|
short name: Normal
|
|
full name: Normal Style
|
|
installer group: Space/Standard
|
|
icon: card-sample.png
|
|
position hint: 001
|
|
|
|
version: 2008-08-08
|
|
depends on:
|
|
package: space.mse-game
|
|
version: 2007-12-19
|
|
depends on:
|
|
package: space-psi.mse-symbol-font
|
|
version: 2007-12-19
|
|
depends on:
|
|
package: space-psi-nocircle.mse-symbol-font
|
|
version: 2007-12-19
|
|
|
|
card width: 375
|
|
card height: 523
|
|
card dpi: 150
|
|
|
|
#Images by Buttock1234, Artfreakwiu, and Pichoro
|
|
#Code by Pichoro and Artfreakwiu
|
|
#Fonts used:
|
|
#Times New Roman
|
|
#Venus Rising
|
|
#Times New Roman Italic
|
|
############################################################## Extra scripts
|
|
|
|
init script:
|
|
# Should hybrids have a grey name?
|
|
mask_hybrid_with_resource := { styling.grey_hybrid_name }
|
|
|
|
# Which artifact template should be used?
|
|
device_template := {
|
|
if input == "a" then (
|
|
if styling.artifact_style == "light" then "ld"
|
|
else if styling.artifact_style == "brown" then "bd"
|
|
else "d"
|
|
) else input
|
|
}
|
|
template := { device_template() + "{type}.jpg" }
|
|
resource_template := { (if input == "d" then "c" else input) + "l{type}.jpg" }
|
|
# Use land templates for previews because they show more contrast
|
|
hybrid_previews := "resource,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"
|
|
}
|
|
|
|
casting_cost_color := {
|
|
if card.card_color == "crystal" then rgb(0,0,0)
|
|
else if contains(card.card_color, match:"hybrid") and contains(card.card_color, match:"crystal") and
|
|
not contains(card.card_color, match:"cryo") and not contains(card.card_color, match:"shadow") then rgb(0,0,0)
|
|
else rgb(255,255,255)
|
|
}
|
|
|
|
############################################################## Extra style options
|
|
|
|
styling field:
|
|
type: choice
|
|
name: artifact style
|
|
description: Choose the style of artifacts: light = before Fifth Dawn, dark = used since Fifth Dawn, brown = old rust style.
|
|
initial: dark
|
|
choice: light
|
|
choice: dark
|
|
choice: brown
|
|
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: 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: center short text
|
|
description: Center the text on cards with short rule text and no flavor text.
|
|
initial: no
|
|
|
|
styling style:
|
|
artifact style:
|
|
render style: both
|
|
choice images:
|
|
light: ldcard.jpg
|
|
dark: dcard.jpg
|
|
brown: bdcard.jpg
|
|
tap symbol:
|
|
render style: both
|
|
choice images:
|
|
modern: /space-psi.mse-symbol-font/psi_t.png
|
|
old: /space-psi.mse-symbol-font/psi_t_old.png
|
|
diagonal T: /space-psi.mse-symbol-font/psi_t_older.png
|
|
|
|
############################################################## Card fields
|
|
card style:
|
|
############################# Background stuff
|
|
border color:
|
|
left: 0
|
|
top : 0
|
|
width: 375
|
|
height: 523
|
|
radius: 18
|
|
left width: 17
|
|
right width: 17
|
|
top width: 17
|
|
bottom width: 18
|
|
#mask: border-mask.png
|
|
z index: -1
|
|
card color:
|
|
left: 0
|
|
top: 0
|
|
width: 375
|
|
height: 523
|
|
z index: -2
|
|
render style: image
|
|
popup style: in place
|
|
image: { card_background() }
|
|
|
|
############################# Name line
|
|
name:
|
|
left: 30
|
|
top : 20
|
|
right: 348
|
|
height: 23
|
|
alignment: middle left shrink-overflow
|
|
padding bottom: 0
|
|
z index: 1
|
|
font:
|
|
name: Venus Rising
|
|
size: 12
|
|
color:
|
|
script:
|
|
if card.card_color == "crystal" then rgb(0,0,0)
|
|
else if contains(card.card_color, match:"crystal") and
|
|
contains(card.card_color, match:"hybrid") then rgb(0,0,0)
|
|
else if contains(card.card_color, match:"crystal") and
|
|
contains(card.card_color, match:"resource") then rgb(0,0,0)
|
|
else rgb(255,255,255)
|
|
casting cost:
|
|
right: 348
|
|
top : 42
|
|
width: 107
|
|
height: 105
|
|
alignment: top left
|
|
direction: vertical
|
|
symbol font:
|
|
name: space-psi-nocircle
|
|
size: 85
|
|
scale down to: 85
|
|
alignment: top left
|
|
always symbol: true
|
|
z index: 3
|
|
padding top: 0
|
|
mask: mask_cost.png
|
|
|
|
############################# Image
|
|
image:
|
|
left: 30
|
|
top: 43
|
|
width: 319
|
|
height: 230
|
|
mask: mask_image.png
|
|
z index: 1
|
|
|
|
############################# Card type
|
|
|
|
type:
|
|
left: 33
|
|
top : 275
|
|
width: { 308 - max(22,card_style.rarity.content_width) }
|
|
height: 16
|
|
alignment: middle shrink-overflow
|
|
z index: 1
|
|
padding top: 2
|
|
font:
|
|
name: Times New Roman
|
|
size: 13
|
|
color:
|
|
script:
|
|
if card.card_color == "crystal" then rgb(0,0,0)
|
|
else if contains(card.card_color, match:"crystal") and
|
|
contains(card.card_color, match:"hybrid") then rgb(0,0,0)
|
|
else if contains(card.card_color, match:"crystal") and
|
|
contains(card.card_color, match:"resource") then rgb(0,0,0)
|
|
else rgb(255,255,255)
|
|
separator color: rgb(128,128,128)
|
|
|
|
rarity:
|
|
right: 357
|
|
top : 272
|
|
width: 44
|
|
height: 22
|
|
z index: 1
|
|
alignment: middle center
|
|
render style: image
|
|
choice images:
|
|
# Images based on the set symbol
|
|
basic resource: 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: "uncommon")
|
|
rare: script: symbol_variation(symbol: set.symbol, variation: "rare")
|
|
mythic rare: script: symbol_variation(symbol: set.symbol, variation: "mythic rare")
|
|
special: script: symbol_variation(symbol: set.symbol, variation: "special")
|
|
|
|
############################# Text box
|
|
text:
|
|
left: 31
|
|
top : 302
|
|
width: 311
|
|
height: 152
|
|
font:
|
|
name: Times New Roman
|
|
size: 14
|
|
scale down to: 6
|
|
color: rgb(0,0,0)
|
|
symbol font:
|
|
name: space-psi
|
|
size: 70
|
|
scale down to: 20
|
|
alignment:
|
|
script:
|
|
if styling.center_short_text and
|
|
not contains(match:"\n", card.rule_text) and
|
|
card.flavor_text == "<i-flavor></i-flavor>" and
|
|
card_style.text.content_lines <= 2
|
|
then "middle center"
|
|
else "middle left"
|
|
z index: 2
|
|
padding left: 6
|
|
padding right: 4
|
|
line height hard: 1.2
|
|
line height line: 1.5
|
|
line height soft: 0.9
|
|
|
|
############################# PT
|
|
power:
|
|
z index: 4
|
|
right: 164
|
|
top: 467
|
|
width: 40
|
|
height: 28
|
|
alignment: right middle
|
|
font:
|
|
name: Venus Rising
|
|
size: 14
|
|
weight: bold
|
|
color:
|
|
script:
|
|
if card.card_color == "crystal" then rgb(0,0,0)
|
|
else if contains(card.card_color, match:"crystal") and
|
|
contains(card.card_color, match:"hybrid") then rgb(0,0,0)
|
|
else if contains(card.card_color, match:"crystal") and
|
|
contains(card.card_color, match:"resource") then rgb(0,0,0)
|
|
else rgb(255,255,255)
|
|
toughness:
|
|
z index: 4
|
|
left: 222
|
|
top: 467
|
|
width: 40
|
|
height: 28
|
|
alignment: left middle
|
|
font:
|
|
name: Venus Rising
|
|
size: 14
|
|
weight: bold
|
|
color:
|
|
script:
|
|
if card.card_color == "crystal" then rgb(0,0,0)
|
|
else if contains(card.card_color, match:"crystal") and
|
|
contains(card.card_color, match:"hybrid") then rgb(0,0,0)
|
|
else if contains(card.card_color, match:"crystal") and
|
|
contains(card.card_color, match:"resource") then rgb(0,0,0)
|
|
else rgb(255,255,255)
|
|
|
|
############################# Card sorting / numbering
|
|
############################# Copyright stuff
|
|
|
|
illustrator:
|
|
left: 15
|
|
top: 265
|
|
height: 16
|
|
width: 217
|
|
alignment: middle right
|
|
z index: 1
|
|
angle: 90
|
|
font:
|
|
name: Times New Roman
|
|
size: 8
|
|
weight: bold
|
|
color:
|
|
script:
|
|
if card.card_color == "crystal" then rgb(0,0,0)
|
|
else if contains(card.card_color, match:"crystal") and
|
|
contains(card.card_color, match:"hybrid") then rgb(0,0,0)
|
|
else if contains(card.card_color, match:"crystal") and
|
|
contains(card.card_color, match:"resource") then rgb(0,0,0)
|
|
else rgb(255,255,255)
|
|
|
|
copyright line:
|
|
left: 18
|
|
top : 506
|
|
width: 340
|
|
height: 10
|
|
alignment: top center
|
|
z index: 1
|
|
font:
|
|
name: Times New Roman
|
|
size: 6.5
|
|
color:
|
|
script:
|
|
if card.border_color == "black" or
|
|
card.border_color == rgb(255,255,255) then rgb(0,0,0)
|
|
else rgb(255,255,255)
|
|
|
|
############################################################## Extra card fields
|