391 lines
10 KiB
Plaintext
391 lines
10 KiB
Plaintext
mse version: 0.3.9
|
|
game: magic
|
|
short name: M15 Counters
|
|
full name: After M15 Counters
|
|
icon: card-sample.png
|
|
position hint: 999
|
|
installer group: magic/counter cards
|
|
|
|
version: 2017-05-03
|
|
depends on:
|
|
package: magic.mse-game
|
|
version: 2010-10-09
|
|
depends on:
|
|
package: magic-mana-small.mse-symbol-font
|
|
version: 2007-09-23
|
|
depends on:
|
|
package: magic-watermarks-counters.mse-include
|
|
version: 2017-05-03
|
|
|
|
card width: 375
|
|
card height: 523
|
|
card dpi: 150
|
|
############################################################## Extra scripts
|
|
init script:
|
|
# 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 }
|
|
|
|
card_shape := { "counter" }
|
|
|
|
# Use watermarks or image for token image?
|
|
use_watermark := { if styling.symbol == "watermark" then "yes" else "no" }
|
|
use_image := { if styling.symbol == "png image" then "yes" else "no" }
|
|
|
|
# Use M15 default credit fields?
|
|
m15_credits := { if styling.credit_fields == "same as m15" then "yes" else "no" }
|
|
|
|
############################################################## Set info fields
|
|
############################################################## Extra style options
|
|
styling field:
|
|
type: text
|
|
name: rules position
|
|
description: Default is 377.
|
|
styling field:
|
|
type: text
|
|
name: rules height
|
|
description: Default is 94.
|
|
styling field:
|
|
type: choice
|
|
name: rules width
|
|
description: How wide do you want your rules text?
|
|
initial: wide
|
|
choice: wide
|
|
choice: alligned with symbol field
|
|
styling field:
|
|
type: choice
|
|
name: symbol
|
|
description: Do you want to use watermarks or upload png-image?
|
|
initial: watermark
|
|
choice: watermark
|
|
choice: png image
|
|
styling field:
|
|
type: choice
|
|
name: credit fields
|
|
description: Where should the credit fields be located?
|
|
initial: "same as m15"
|
|
choice: same as m15
|
|
choice: center
|
|
styling field:
|
|
type: choice
|
|
name: name border color
|
|
description: Gold or silver border around name field?
|
|
initial: gold
|
|
choice: gold
|
|
choice: silver
|
|
styling field:
|
|
type: color
|
|
name: text color
|
|
description: What color should the text be?
|
|
choice:
|
|
name: black
|
|
color: rgb(0,0,0)
|
|
choice:
|
|
name: gold
|
|
color: rgb(255,239,128)
|
|
choice:
|
|
name: silver
|
|
color: rgb(128,128,128)
|
|
choice:
|
|
name: red
|
|
color: rgb(217,0,0)
|
|
choice:
|
|
name: white
|
|
color: rgb(255,255,255)
|
|
choice:
|
|
name: poison
|
|
color: rgb(143,150,70)
|
|
styling field:
|
|
type: boolean
|
|
name: shadow
|
|
description: Should the text elements have black shadows?
|
|
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: choice
|
|
name: center text
|
|
description: When to center text (short text only means only on one-line cards with no flavor text)
|
|
choice: always
|
|
choice: short text only
|
|
choice: never
|
|
initial: always
|
|
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: package choice
|
|
name: overlay
|
|
description: Should there be an overlay applied, such as foil?
|
|
match: magic-overlay-*.mse-include
|
|
required: false
|
|
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: 18
|
|
left width: 17
|
|
right width: 17
|
|
top width: 17
|
|
bottom width: 18
|
|
z index: 2
|
|
mask: border_mask.png
|
|
############################# Name line
|
|
name:
|
|
left: 30
|
|
top: 26
|
|
width: 315
|
|
height: 28
|
|
alignment: bottom center
|
|
padding bottom: -2
|
|
padding top: 2
|
|
z index: 5
|
|
font:
|
|
name: Beleren Small Caps Bold
|
|
size: 19
|
|
color: rgb(255,239,128)
|
|
always symbol: true
|
|
############################# Image
|
|
image:
|
|
left: 15
|
|
top : 15
|
|
width: 345
|
|
height: 464
|
|
z index: 1
|
|
default: default.jpg
|
|
mask: image_mask.png
|
|
############################# Card type
|
|
############################# Text box
|
|
rule text:
|
|
left: { if styling.rules_width == "wide" then 35 else 62 }
|
|
top: { if styling.rules_position=="" then 377 else styling.rules_position }
|
|
width: { if styling.rules_width == "wide" then 306 else 250 }
|
|
height: { if styling.rules_height=="" then 94 else styling.rules_height }
|
|
font:
|
|
name: MPlantin
|
|
italic name: MPlantin-Italic
|
|
size: 16
|
|
scale down to: 10
|
|
color: {styling.text_color}
|
|
shadow color: {if styling.shadow then "black" else rgba(0,0,0,0)}
|
|
shadow displacement x: 0
|
|
shadow displacement y: 0
|
|
shadow blur: 2
|
|
symbol font:
|
|
name: { styling.text_box_mana_symbols }
|
|
size: 16
|
|
alignment:
|
|
script:
|
|
if (styling.center_text == "short text only" and
|
|
card_style.text.content_lines <= 2 and
|
|
not contains(match: ".", card.rule_text) and
|
|
not contains(match: ";", card.rule_text) and
|
|
not contains(match: ":", card.rule_text) and
|
|
not contains(match: "!", card.rule_text) and
|
|
not contains(match: "?", card.rule_text) and
|
|
card.flavor_text == "<i-flavor></i-flavor>") or
|
|
styling.center_text == "always"
|
|
then "middle center shrink-overflow"
|
|
else "middle left shrink-overflow"
|
|
z index: 3
|
|
padding left: 6
|
|
padding top: 2
|
|
padding right: 4
|
|
padding bottom: 2
|
|
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
|
|
############################# Card sorting / numbering
|
|
set code:
|
|
left: 24
|
|
top: 498
|
|
width: 40
|
|
height: 10
|
|
visible: { m15_credits() }
|
|
z index: 2
|
|
font:
|
|
name: Relay-Medium
|
|
size: 7
|
|
color: white
|
|
#weight: bold
|
|
############################# Copyright stuff
|
|
copyright:
|
|
right: { if m15_credits() then 350 else 346 }
|
|
top: { if m15_credits() then 488 else 486 }
|
|
width: { if m15_credits() then 140 else 316 }
|
|
height: { if m15_credits() then 10 else 12 }
|
|
z index: 2
|
|
alignment: { if m15_credits() then "middle right shrink-overflow" else "middle center" }
|
|
font:
|
|
name: Matrix
|
|
size: { if m15_credits() then 7 else 8 }
|
|
color: white
|
|
weight: bold
|
|
############################################################## M15 card fields
|
|
extra card field:
|
|
type: text
|
|
name: card code
|
|
save value: false
|
|
script: forward_editor(prefix: card_number_m15() + "/" + card_count_m15() + " ", field: card.card_code_text)
|
|
#script: forward_editor(prefix: card_number_m15() + "/" + card_count_m15() + " " + rarity_code() + " ", field: card.card_code_text)
|
|
extra card field:
|
|
type: choice
|
|
name: artist arrow
|
|
editable: false
|
|
save value: false
|
|
choice: white
|
|
extra card style:
|
|
card code:
|
|
left: 24
|
|
top: 488
|
|
width: 120
|
|
height: 10
|
|
visible: { m15_credits() }
|
|
z index: 2
|
|
font:
|
|
name: Relay-Medium
|
|
size: 7
|
|
color: white
|
|
weight: bold
|
|
artist arrow:
|
|
left: { 28 + card_style.set_code.content_width }
|
|
top: 500
|
|
width: 12
|
|
height: 7
|
|
visible: { m15_credits() }
|
|
z index: 2
|
|
render style: image
|
|
image: artist_arrow.png
|
|
############################################################## Extra card fields
|
|
extra card field:
|
|
type: image
|
|
name: counter symbol
|
|
show statistics: false
|
|
description: The image of the counter symbol
|
|
extra card field:
|
|
type: choice
|
|
name: watermark
|
|
icon: stats/watermark.png
|
|
position hint: 200
|
|
include file: /magic-watermarks-counters.mse-include/watermark-names
|
|
description: A watermark as the counter symbol
|
|
extra card field:
|
|
type: choice
|
|
name: frame
|
|
save value: false
|
|
editable: false
|
|
choice: frame
|
|
extra card field:
|
|
type: choice
|
|
name: name field
|
|
save value: false
|
|
editable: false
|
|
choice: field
|
|
extra card field:
|
|
type: choice
|
|
name: foil layer
|
|
choice: foil
|
|
save value: false
|
|
editable: false
|
|
extra card field:
|
|
type: text
|
|
name: illus line
|
|
save value: false
|
|
script:
|
|
if (card.illustrator != "" and styling.credit_fields == "center") then forward_editor(prefix: "Illus. by ", field: card.illustrator)
|
|
else forward_editor(prefix: "", field: card.illustrator)
|
|
description: The illustrator of the card.
|
|
extra card style:
|
|
watermark:
|
|
left: 62.5
|
|
top: 125
|
|
width: { if use_watermark() then 250 else 0 }
|
|
height: { if use_watermark() then 250 else 0 }
|
|
z index: 2
|
|
visible: { use_watermark() }
|
|
render style: image
|
|
alignment: middle center
|
|
popup style: in place
|
|
include file: /magic-watermarks-counters.mse-include/watermarks
|
|
counter symbol:
|
|
left: 62.5
|
|
top: 125
|
|
width: { if use_image() then 250 else 0 }
|
|
height: { if use_image() then 250 else 0 }
|
|
visible: { use_image() }
|
|
z index: 2
|
|
default: no_symbol.png
|
|
frame:
|
|
left: 0
|
|
top : 0
|
|
width: 375
|
|
height: 523
|
|
z index: 0
|
|
render style: image
|
|
image: frame.png
|
|
name field:
|
|
left: 0
|
|
top : 0
|
|
width: 375
|
|
height: 523
|
|
z index: 4
|
|
render style: image
|
|
image: { "name_" + styling.name_border_color + ".jpg" }
|
|
mask: name_mask.png
|
|
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"}
|
|
illus line:
|
|
left: { if m15_credits() then (44 + card_style.set_code.content_width) else 30 }
|
|
top: { if m15_credits() then 498.5 else 500 }
|
|
width: { if m15_credits() then 200 else 316 }
|
|
height: { if m15_credits() then 10 else 12 }
|
|
z index: 2
|
|
alignment: { if m15_credits() then "middle left" else "middle center" }
|
|
font:
|
|
name: { if m15_credits() then "Beleren Small Caps Bold" else "Matrix" }
|
|
size: { if m15_credits() then 7.25 else 8 }
|
|
weight: bold
|
|
color: white
|