711 lines
15 KiB
Plaintext
711 lines
15 KiB
Plaintext
mse version: 2.0.0
|
|
game: magic
|
|
short name: Heroes
|
|
full name: Moxy's Heroes
|
|
installer group: magic/Moxydotorg's heroes
|
|
icon: card-sample.png
|
|
position hint: 826
|
|
|
|
version: 2024-05-30
|
|
depends on:
|
|
package: magic.mse-game
|
|
version: 2009-07-23
|
|
depends on:
|
|
package: magic-modules.mse-include
|
|
version: 2024-10-01
|
|
depends on:
|
|
package: magic-mana-large.mse-symbol-font
|
|
version: 2007-09-23
|
|
depends on:
|
|
package: magic-mana-small.mse-symbol-font
|
|
version: 2007-09-23
|
|
|
|
card width: 375
|
|
card height: 523
|
|
card dpi: 150
|
|
#By Moxydotorg
|
|
#Updated by Pichoro
|
|
############################################################## Extra scripts
|
|
init script:
|
|
# Should hybrids have a grey name?
|
|
mask_hybrid_with_land := { styling.grey_hybrid_name }
|
|
|
|
# Which artifact template should be used?
|
|
template := { input + "{type}.jpg" }
|
|
land_template := { "c{type}.jpg" }
|
|
# 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 }
|
|
|
|
font_colors_white := { input == "b" or input == "bl" or input == "u" or input == "ul" or input == "r" or input == "rl" or input == "g" or input == "gl" }
|
|
|
|
font_white := {
|
|
hybrid := chosen(choice:"hybrid")
|
|
artifact := chosen(choice:"artifact")
|
|
colors := sort_text( order: "(wubrg)"
|
|
, (if chosen(choice:"white") then "w")
|
|
+ (if chosen(choice:"blue") then "u")
|
|
+ (if chosen(choice:"black") then "b")
|
|
+ (if chosen(choice:"red") then "r")
|
|
+ (if chosen(choice:"green") then "g"))
|
|
+ (if artifact then "a")
|
|
font_colors_white(
|
|
if chosen(choice:"land") and chosen(choice:"white") then "wl"
|
|
else if chosen(choice:"land") and chosen(choice:"blue") then "ul"
|
|
else if chosen(choice:"land") and chosen(choice:"black") then "bl"
|
|
else if chosen(choice:"land") and chosen(choice:"red") then "rl"
|
|
else if chosen(choice:"land") and chosen(choice:"green") then "gl"
|
|
else if chosen(choice:"land") then "l"
|
|
else if input == "artifact, multicolor" then "a"
|
|
else if chosen(choice:"multicolor") then "m"
|
|
else if artifact and not hybrid then "a"
|
|
else if colors == "" then "c"
|
|
else colors[
|
|
font_color_positions[
|
|
if chosen(choice:"horizontal") then "horizontal"
|
|
else if chosen(choice:"vertical") then "vertical"
|
|
else if chosen(choice:"overlay") then "overlay"
|
|
else "radial"
|
|
][number_of_items(in: colors)]
|
|
]
|
|
)
|
|
}
|
|
|
|
paintbrush_color := {
|
|
if to_int(card.border_color) < 96 then "white" else "black"
|
|
}
|
|
|
|
# Loyalty cost arrows
|
|
loyalty_image := {
|
|
if contains(input, match: "+") then "loyalty up"
|
|
else if contains(input, match: "-") then "loyalty down"
|
|
else "loyalty naught"
|
|
}
|
|
|
|
card_shape := { "heroes" }
|
|
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: 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: 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: no
|
|
styling field:
|
|
type: color
|
|
name: trigger color
|
|
description: The default color for the experience trigger
|
|
choice:
|
|
name: black
|
|
color: rgb(0,0,0)
|
|
choice:
|
|
name: white
|
|
color: rgb(255,255,255)
|
|
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 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-large.mse-symbol-font/mana_t.png
|
|
old: /magic-mana-large.mse-symbol-font/mana_t_old.png
|
|
diagonal T: /magic-mana-large.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: 17
|
|
right width: 17
|
|
top width: 17
|
|
bottom width: 0
|
|
mask: border_mask.png
|
|
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 32 else 51 }
|
|
top : 24
|
|
right: 341
|
|
height: 23
|
|
alignment: bottom shrink-overflow
|
|
padding bottom: 0
|
|
z index: 1
|
|
font:
|
|
name: Matrix
|
|
size: 17
|
|
weight: bold
|
|
color: rgb(0,0,0)
|
|
casting cost:
|
|
left: 17
|
|
top: 37
|
|
height: 213
|
|
width: 72
|
|
alignment: top left
|
|
direction: vertical
|
|
symbol font:
|
|
name: magic-mana-large
|
|
size: 22
|
|
scale down to: 22
|
|
alignment: bottom right
|
|
always symbol: true
|
|
z index: 2
|
|
padding top: 0
|
|
mask: costmask.png
|
|
card symbol:
|
|
left: {if card.card_symbol=="none" then 20 else 28}
|
|
top : 25
|
|
height: 21
|
|
width: 23
|
|
z index: 5
|
|
render style: image
|
|
image: { card_symbol_image(face: 1) }
|
|
############################# Image
|
|
image:
|
|
left: 35
|
|
top: 43
|
|
width: 321
|
|
height: 446
|
|
z index: 1
|
|
mask: image_mask.png
|
|
############################# Card type
|
|
type:
|
|
left: 39
|
|
top : 260
|
|
width: { 306 - max(22,card_style.rarity.content_width) }
|
|
height: 20
|
|
alignment: top shrink-overflow
|
|
z index: 1
|
|
padding top: 2
|
|
font:
|
|
name: Matrix
|
|
size: 15
|
|
color: rgb(0,0,0)
|
|
separator color: rgb(128,128,128)
|
|
rarity:
|
|
right: 342
|
|
top : 260
|
|
width: 44
|
|
height: 22
|
|
z index: 2
|
|
render style: image
|
|
alignment: middle right
|
|
include file: /magic-modules.mse-include/rarities/choice_images
|
|
############################# Text box
|
|
text:
|
|
left: 58
|
|
top : 293
|
|
width: 281
|
|
bottom: 457
|
|
font:
|
|
name: MPlantin
|
|
italic name: MPlantin-Italic
|
|
size: 14
|
|
scale down to: 6
|
|
color: rgb(0,0,0)
|
|
symbol font:
|
|
name: { styling.text_box_mana_symbols }
|
|
size: 14
|
|
paragraph height: 33
|
|
alignment:
|
|
script:
|
|
if (styling.center_text == "short text only" and
|
|
not contains(match:"\n", card.rule_text) and
|
|
card.flavor_text == "<i-flavor></i-flavor>" and
|
|
card_style.text.content_lines <= 2) or
|
|
styling.center_text == "always"
|
|
then "middle center"
|
|
else "middle left"
|
|
z index: 2
|
|
padding left: 6
|
|
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
|
|
watermark:
|
|
left: 48
|
|
top : 293
|
|
width: 301
|
|
bottom: 457
|
|
z index: 1
|
|
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: 291
|
|
top: 474
|
|
width: 60
|
|
height: 28
|
|
alignment: center middle shrink-overflow
|
|
font:
|
|
name: ModMatrix
|
|
size: 18
|
|
weight: bold
|
|
color: rgb(0,0,0)
|
|
separator color: rgb(200,0,0)
|
|
############################# Loyalty
|
|
loyalty cost 1:
|
|
z index: 6
|
|
left: 32
|
|
top: 300
|
|
width: 13.16
|
|
height: 15
|
|
alignment: center middle
|
|
font:
|
|
name: Mplantin
|
|
size: 12
|
|
weight: bold
|
|
color: rgb(255,255,255)
|
|
loyalty cost 2:
|
|
z index: 6
|
|
left: 32
|
|
top: 334
|
|
width: 13.16
|
|
height: 15
|
|
alignment: center middle
|
|
font:
|
|
name: Mplantin
|
|
size: 12
|
|
weight: bold
|
|
color: rgb(255,255,255)
|
|
loyalty cost 3:
|
|
z index: 6
|
|
left: 32
|
|
top: 367
|
|
width: 13.16
|
|
height: 15
|
|
alignment: center middle
|
|
font:
|
|
name: Mplantin
|
|
size: 12
|
|
weight: bold
|
|
color: rgb(255,255,255)
|
|
loyalty cost 4:
|
|
z index: 6
|
|
left: 32
|
|
top: 399
|
|
width: 13.16
|
|
height: 15
|
|
alignment: center middle
|
|
font:
|
|
name: Mplantin
|
|
size: 12
|
|
weight: bold
|
|
color: rgb(255,255,255)
|
|
loyalty cost 5:
|
|
z index: 6
|
|
left: 32
|
|
top: 432
|
|
width: 13.16
|
|
height: 15
|
|
alignment: center middle
|
|
font:
|
|
name: Mplantin
|
|
size: 12
|
|
weight: bold
|
|
color: rgb(255,255,255)
|
|
############################# Card sorting / numbering
|
|
############################# Copyright stuff
|
|
illustrator:
|
|
left: -1
|
|
top: 337
|
|
height: 16
|
|
width: 287
|
|
z index: 5
|
|
angle: 90
|
|
alignment: right middle
|
|
font:
|
|
name: Matrix
|
|
size: 10
|
|
weight: bold
|
|
color: { paintbrush_color() }
|
|
copyright line:
|
|
left: 28
|
|
top : 503
|
|
width: 320
|
|
height: 12
|
|
z index: 5
|
|
alignment: middle left
|
|
font:
|
|
name: MPlantin
|
|
size: 7
|
|
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: text
|
|
name: exp scale 1
|
|
default: "5"
|
|
extra card field:
|
|
type: text
|
|
name: exp scale 2
|
|
default: "-"
|
|
extra card field:
|
|
type: text
|
|
name: exp scale 3
|
|
default: "-"
|
|
extra card field:
|
|
type: text
|
|
name: exp scale 4
|
|
default: "-"
|
|
extra card field:
|
|
type: text
|
|
name: exp scale 5
|
|
default: "4"
|
|
extra card field:
|
|
type: text
|
|
name: exp scale 6
|
|
default: "-"
|
|
extra card field:
|
|
type: text
|
|
name: exp scale 7
|
|
default: "-"
|
|
extra card field:
|
|
type: text
|
|
name: exp scale 8
|
|
default:"3"
|
|
extra card field:
|
|
type: text
|
|
name: exp scale 9
|
|
default: "-"
|
|
extra card field:
|
|
type: text
|
|
name: exp scale 10
|
|
default: "2"
|
|
extra card field:
|
|
type: text
|
|
name: exp scale 11
|
|
default: "1"
|
|
extra card field:
|
|
type: text
|
|
name: exp exp
|
|
multi line: true
|
|
script:
|
|
text_filter(input: value, card_name: card.name)
|
|
default: "Gain Experience Trigger"
|
|
extra card field:
|
|
type: choice
|
|
name: loyalty cost box 1
|
|
editable: false
|
|
script: loyalty_image(card.loyalty_cost_1)
|
|
save value: false
|
|
extra card field:
|
|
type: choice
|
|
name: loyalty cost box 2
|
|
editable: false
|
|
script: loyalty_image(card.loyalty_cost_2)
|
|
save value: false
|
|
extra card field:
|
|
type: choice
|
|
name: loyalty cost box 3
|
|
editable: false
|
|
script: loyalty_image(card.loyalty_cost_3)
|
|
save value: false
|
|
extra card field:
|
|
type: choice
|
|
name: loyalty cost box 4
|
|
editable: false
|
|
script: loyalty_image(card.loyalty_cost_4)
|
|
save value: false
|
|
extra card field:
|
|
type: choice
|
|
name: loyalty cost box 5
|
|
editable: false
|
|
script: loyalty_image(card.loyalty_cost_5)
|
|
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"}
|
|
loyalty cost box 1:
|
|
left: 20
|
|
top: 296
|
|
width: 35
|
|
height: 25
|
|
z index: 5
|
|
render style: image
|
|
visible: { card.loyalty_cost_1 !="" }
|
|
choice images:
|
|
loyalty up: loyaltyup.png
|
|
loyalty down: loyaltydown.png
|
|
loyalty naught: loyaltynaught.png
|
|
loyalty cost box 2:
|
|
left: 20
|
|
top: 329
|
|
width: 35
|
|
height: 25
|
|
z index: 5
|
|
render style: image
|
|
visible: { card.loyalty_cost_2 !="" }
|
|
choice images:
|
|
loyalty up: loyaltyup.png
|
|
loyalty down: loyaltydown.png
|
|
loyalty naught: loyaltynaught.png
|
|
loyalty cost box 3:
|
|
left: 20
|
|
top: 362
|
|
width: 35
|
|
height: 25
|
|
z index: 5
|
|
render style: image
|
|
visible: { card.loyalty_cost_3 !="" }
|
|
choice images:
|
|
loyalty up: loyaltyup.png
|
|
loyalty down: loyaltydown.png
|
|
loyalty naught: loyaltynaught.png
|
|
loyalty cost box 4:
|
|
left: 20
|
|
top: 394
|
|
width: 35
|
|
height: 25
|
|
z index: 5
|
|
render style: image
|
|
visible: { card.loyalty_cost_4 !="" }
|
|
choice images:
|
|
loyalty up: loyaltyup.png
|
|
loyalty down: loyaltydown.png
|
|
loyalty naught: loyaltynaught.png
|
|
loyalty cost box 5:
|
|
left: 20
|
|
top: 428
|
|
width: 35
|
|
height: 25
|
|
z index: 5
|
|
render style: image
|
|
visible: { card.loyalty_cost_5 !="" }
|
|
choice images:
|
|
loyalty up: loyaltyup.png
|
|
loyalty down: loyaltydown.png
|
|
loyalty naught: loyaltynaught.png
|
|
exp exp:
|
|
left: 30
|
|
top: 460
|
|
width: 242
|
|
height: 40
|
|
font:
|
|
name: MPlantin
|
|
italic name: MPlantin-Italic
|
|
size: 14
|
|
scale down to: 6
|
|
color: {styling.trigger_color }
|
|
symbol font:
|
|
name: { styling.text_box_mana_symbols }
|
|
alignment: middle left
|
|
z index: 1
|
|
exp scale 1:
|
|
left: 320
|
|
top: 57
|
|
height: 16
|
|
width: 22
|
|
alignment: center
|
|
font:
|
|
name: MPlantin
|
|
italic name: MPlantin-Italic
|
|
size: 13
|
|
color: rgb(0,0,0)
|
|
z index: 2
|
|
exp scale 2:
|
|
left: 320
|
|
top: 74
|
|
height: 16
|
|
width: 22
|
|
alignment: center
|
|
font:
|
|
name: MPlantin
|
|
italic name: MPlantin-Italic
|
|
size: 13
|
|
color: rgb(0,0,0)
|
|
z index: 2
|
|
exp scale 3:
|
|
left: 320
|
|
top: 91
|
|
height: 16
|
|
width: 22
|
|
alignment: center
|
|
font:
|
|
name: MPlantin
|
|
italic name: MPlantin-Italic
|
|
size: 13
|
|
color: rgb(0,0,0)
|
|
z index: 2
|
|
exp scale 4:
|
|
left: 320
|
|
top: 108
|
|
height: 16
|
|
width: 22
|
|
alignment: center
|
|
font:
|
|
name: MPlantin
|
|
italic name: MPlantin-Italic
|
|
size: 13
|
|
color: rgb(0,0,0)
|
|
z index: 2
|
|
exp scale 5:
|
|
left: 320
|
|
top: 125
|
|
height: 16
|
|
width: 22
|
|
alignment: center
|
|
font:
|
|
name: MPlantin
|
|
italic name: MPlantin-Italic
|
|
size: 13
|
|
color: rgb(0,0,0)
|
|
z index: 2
|
|
exp scale 6:
|
|
left: 320
|
|
top: 143
|
|
height: 16
|
|
width: 22
|
|
alignment: center
|
|
font:
|
|
name: MPlantin
|
|
italic name: MPlantin-Italic
|
|
size: 13
|
|
color: rgb(0,0,0)
|
|
z index: 2
|
|
exp scale 7:
|
|
left: 320
|
|
top: 162
|
|
height: 16
|
|
width: 22
|
|
alignment: center
|
|
font:
|
|
name: MPlantin
|
|
italic name: MPlantin-Italic
|
|
size: 13
|
|
color: rgb(0,0,0)
|
|
z index: 2
|
|
exp scale 8:
|
|
left: 320
|
|
top: 180
|
|
height: 16
|
|
width: 22
|
|
alignment: center
|
|
font:
|
|
name: MPlantin
|
|
italic name: MPlantin-Italic
|
|
size: 13
|
|
color: rgb(0,0,0)
|
|
z index: 2
|
|
exp scale 9:
|
|
left: 320
|
|
top: 198
|
|
height: 16
|
|
width: 22
|
|
alignment: center
|
|
font:
|
|
name: MPlantin
|
|
italic name: MPlantin-Italic
|
|
size: 13
|
|
color: rgb(0,0,0)
|
|
z index: 2
|
|
exp scale 10:
|
|
left: 320
|
|
top: 215
|
|
height: 16
|
|
width: 22
|
|
alignment: center
|
|
font:
|
|
name: MPlantin
|
|
italic name: MPlantin-Italic
|
|
size: 13
|
|
color: rgb(0,0,0)
|
|
z index: 2
|
|
exp scale 11:
|
|
left: 320
|
|
top: 233
|
|
height: 16
|
|
width: 22
|
|
alignment: center
|
|
font:
|
|
name: MPlantin
|
|
italic name: MPlantin-Italic
|
|
size: 13
|
|
color: rgb(0,0,0)
|
|
z index: 2
|