[274/274] magic-modules rollout (#51)
Add Magic-Modules support to all frames
This commit is contained in:
@@ -1,27 +1,24 @@
|
||||
mse version: 2.0.0
|
||||
game: magic
|
||||
short name: M15 Classic Walkers
|
||||
short name: Classic Walkers
|
||||
full name: M15 Classicshifted Planeswalkers
|
||||
installer group: magic/m15 style/planeswalkers
|
||||
icon: card-sample.png
|
||||
position hint: 386
|
||||
|
||||
version: 2018-02-22
|
||||
version: 2024-05-27
|
||||
depends on:
|
||||
package: magic.mse-game
|
||||
version: 2014-06-25
|
||||
depends on:
|
||||
package: magic-watermarks.mse-include
|
||||
version: 2007-09-23
|
||||
package: magic-modules.mse-include
|
||||
version: 2024-05-20
|
||||
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
|
||||
depends on:
|
||||
package: magic-identity-new.mse-include
|
||||
version: 2012-01-22
|
||||
|
||||
card width: 752
|
||||
card height: 1049
|
||||
@@ -31,16 +28,21 @@ init script:
|
||||
# Should hybrids have a grey name?
|
||||
mask_hybrid_with_land := { styling.grey_hybrid_name }
|
||||
|
||||
template_prefix := [card: "" card2: "" stamp: "" identity: "/magic-identity-new.mse-include/"]
|
||||
template_suffix := [card: "card.jpg" card2: "card2.jpg" stamp: "stamp.jpg" identity: "identity.png"]
|
||||
template_prefix := [
|
||||
card: ""
|
||||
stamp: ""
|
||||
identity: "/magic-modules.mse-include/indicators/"
|
||||
]
|
||||
template_suffix := [
|
||||
card: "card.jpg"
|
||||
stamp: "stamp.jpg"
|
||||
identity: "identity.png"
|
||||
]
|
||||
template := { template_prefix[type] + input + template_suffix[type] }
|
||||
land_template := { template_prefix[type] + "c" + template_suffix[type] }
|
||||
# Use land templates for previews because they show more contrast
|
||||
hybrid_previews := "land,hybrid"
|
||||
|
||||
# This will create two seperate card faces
|
||||
card_background2 := { color_background(type:"card2", base_hybrid:card_hybrid) }
|
||||
|
||||
# Use the normal tap symbol
|
||||
mana_t := {
|
||||
if styling.tap_symbol == "old" then "old"
|
||||
@@ -68,12 +70,17 @@ init script:
|
||||
is_promo := { styling.promo }
|
||||
|
||||
# Does the card have four abilities?
|
||||
has_four_abilities := { contains(paragraph_count(card.rule_text), match: "\n\n\n") }
|
||||
# this template doesn't support this
|
||||
#has_four_abilities := { contains(paragraph_count(card.rule_text), match: "\n\n\n") }
|
||||
has_four_abilities := {false}
|
||||
paragraph_count :=
|
||||
replace@(match:"<soft-line>\n", replace:"")+
|
||||
filter_text@(match:"\n")
|
||||
has_identity := { styling.color_indicator_dot }
|
||||
is_unsorted := {styling.remove_from_autocount}
|
||||
card_symbol_offset_top_1 := { -14 }
|
||||
watermark_include := "/magic-modules.mse-include/watermarks"
|
||||
information_secondary_shift_with_pt_1 := {false}
|
||||
information_copyright_offset_right_1 := { if card.pt == "" then 0 else -100 }
|
||||
############################################################## Set info fields
|
||||
set info style:
|
||||
symbol:
|
||||
@@ -88,11 +95,6 @@ styling field:
|
||||
type: boolean
|
||||
name: use holofoil stamps
|
||||
description: Change to no to disable rare holofoil stamps
|
||||
styling field:
|
||||
type: boolean
|
||||
name: color indicator dot
|
||||
description: Use the color indicator dot
|
||||
initial: no
|
||||
styling field:
|
||||
type: boolean
|
||||
name: remove from autocount
|
||||
@@ -166,6 +168,9 @@ styling style:
|
||||
no: { symbol_variation(symbol: set.symbol, variation: "common") }
|
||||
yes: { symbol_variation(symbol: set.symbol, variation: "invertedcommon") }
|
||||
############################################################## Card fields
|
||||
include file: /magic-modules.mse-include/corners/card_fields
|
||||
include file: /magic-modules.mse-include/information/card_fields
|
||||
include file: /magic-modules.mse-include/card-symbols/card_fields
|
||||
card style:
|
||||
############################# Background stuff
|
||||
card color:
|
||||
@@ -209,15 +214,6 @@ card style:
|
||||
always symbol: true
|
||||
z index: 2
|
||||
padding top: 0
|
||||
card symbol:
|
||||
left: {if card.card_symbol=="none" then 40 else 60}
|
||||
top: 44
|
||||
height: 40
|
||||
width: 28
|
||||
z index: 1
|
||||
render style: image
|
||||
choice images:
|
||||
tombstone: tombstone.png
|
||||
############################# Image
|
||||
image:
|
||||
left: 52
|
||||
@@ -235,7 +231,7 @@ card style:
|
||||
z index: 2
|
||||
render style: image
|
||||
visible: { has_identity() }
|
||||
image: { card_identity() }
|
||||
image: { module_identity() }
|
||||
type:
|
||||
left: { if has_identity() then "104" else "64" }
|
||||
top: { if has_four_abilities() then 522 else 602.5 }
|
||||
@@ -260,22 +256,8 @@ card style:
|
||||
z index: 2
|
||||
render style: image
|
||||
alignment: middle right
|
||||
choice images:
|
||||
# Images based on the set symbol
|
||||
basic land:
|
||||
script:
|
||||
if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon")
|
||||
else symbol_variation(symbol: set.symbol, variation: "common")
|
||||
common:
|
||||
script:
|
||||
if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon")
|
||||
else 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")
|
||||
masterpiece: script: symbol_variation(symbol: set.masterpiece_symbol, variation: "mythic rare")
|
||||
############################# Text box
|
||||
include file: /magic-modules.mse-include/rarities/choice_images
|
||||
############################# Text box
|
||||
text:
|
||||
left: 126
|
||||
top: { if has_four_abilities() then 578 else 658 }
|
||||
@@ -318,7 +300,8 @@ card style:
|
||||
z index: 2
|
||||
render style: image
|
||||
alignment: middle center
|
||||
include file: /magic-watermarks.mse-include/watermarks-old
|
||||
include file: /magic.mse-game/watermarks/menu_choice_images
|
||||
image: { watermark_image_1() }
|
||||
############################# Loyalty
|
||||
loyalty:
|
||||
z index: 7
|
||||
@@ -375,58 +358,7 @@ card style:
|
||||
name: Beleren Bold
|
||||
size: 22
|
||||
color: white
|
||||
############################# Card sorting / numbering
|
||||
set code:
|
||||
left: 48
|
||||
top: 996
|
||||
width: 80
|
||||
height: 20
|
||||
z index: 1
|
||||
font:
|
||||
name: Relay-Medium
|
||||
size: 14
|
||||
color: white
|
||||
weight: bold
|
||||
############################# Copyright stuff
|
||||
illustrator:
|
||||
left: { 88 + card_style.set_code.content_width }
|
||||
top: 995
|
||||
width: 400
|
||||
height: 20
|
||||
z index: 1
|
||||
font:
|
||||
name: Beleren Small Caps Bold
|
||||
size: 14.5
|
||||
color: white
|
||||
copyright:
|
||||
right: 700
|
||||
top: { if card.pt != "" then 1000 else 976 }
|
||||
width: 280
|
||||
height: 20
|
||||
z index: 2
|
||||
visible: {not set.automatic_copyright}
|
||||
alignment: middle right shrink-overflow
|
||||
font:
|
||||
name: Matrix
|
||||
size: 14
|
||||
color: white
|
||||
weight: bold
|
||||
############################################################## Extra card fields
|
||||
extra card field:
|
||||
type: text
|
||||
name: card code
|
||||
save value: false
|
||||
script:
|
||||
if set.automatic_card_numbers and not styling.remove_from_autocount then
|
||||
forward_editor(prefix: card_number_m15() + "/" + card_count_m15() + " " + rarity_code() + " ", field: card.card_code_text)
|
||||
else
|
||||
combined_editor(field1: card.custom_card_number, separator: " " + rarity_code() + " ", field2: card.card_code_text)
|
||||
extra card field:
|
||||
type: choice
|
||||
name: artist arrow
|
||||
editable: false
|
||||
save value: false
|
||||
choice: white
|
||||
extra card field:
|
||||
type: choice
|
||||
name: loyalty box
|
||||
@@ -506,33 +438,7 @@ extra card field:
|
||||
multi line: true
|
||||
save value: false
|
||||
script: card.text
|
||||
extra card field:
|
||||
type: text
|
||||
name: auto copyright
|
||||
script: set.copyright
|
||||
save value: false
|
||||
editable: false
|
||||
show statistics: false
|
||||
extra card style:
|
||||
card code:
|
||||
left: 48
|
||||
top: 976
|
||||
width: 240
|
||||
height: 20
|
||||
z index: 6
|
||||
font:
|
||||
name: Relay-Medium
|
||||
size: 14
|
||||
color: white
|
||||
weight: bold
|
||||
artist arrow:
|
||||
left: { 56 + card_style.set_code.content_width }
|
||||
top: 1000
|
||||
width: 24
|
||||
height: 14
|
||||
z index: 6
|
||||
render style: image
|
||||
image: artist_arrow.png
|
||||
loyalty box:
|
||||
right: 724
|
||||
top: 950
|
||||
@@ -567,7 +473,7 @@ extra card style:
|
||||
top : 0
|
||||
width: 375
|
||||
height: 523
|
||||
z index: 4
|
||||
z index: 1050
|
||||
render style: image
|
||||
image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"}
|
||||
loyalty cost box 1:
|
||||
@@ -705,16 +611,3 @@ extra card style:
|
||||
line height hard max: 1.3
|
||||
line height line max: 1.6
|
||||
visible: { has_four_abilities() }
|
||||
auto copyright:
|
||||
right: 700
|
||||
top: { if card.pt != "" then 1000 else 976 }
|
||||
width: 280
|
||||
height: 20
|
||||
z index: 2
|
||||
alignment: middle right shrink-overflow
|
||||
visible: {set.automatic_copyright}
|
||||
font:
|
||||
name: Matrix
|
||||
size: 14
|
||||
color: white
|
||||
weight: bold
|
||||
|
||||
Reference in New Issue
Block a user