---------

Co-authored-by: cajun <12363371+CajunAvenger@users.noreply.github.com>
This commit is contained in:
cajun
2024-10-01 08:34:46 -05:00
committed by GitHub
parent d1b3bdac74
commit 5016c6efa2
32836 changed files with 65408 additions and 48862 deletions

View File

@@ -6,13 +6,10 @@ installer group: magic/m15 style/planeswalkers
icon: card-sample.png
position hint: 704
version: 2023-02-13
version: 2024-09-01
depends on:
package: magic.mse-game
version: 2014-06-25
depends on:
package: magic-watermarks.mse-include
version: 2007-09-23
depends on:
package: magic-mana-large.mse-symbol-font
version: 2007-09-23
@@ -20,8 +17,8 @@ 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
package: magic-modules.mse-include
version: 2024-10-01
card width: 375
card height: 523
@@ -31,8 +28,22 @@ 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: ""
card2: ""
pt: "/magic-modules.mse-include/pts/375 m15/"
stamp: "stamps/"
ubstamp: "ubstamps/"
identity: "/magic-modules.mse-include/indicators/"
]
template_suffix := [
card: "card.jpg"
card2: "card.jpg"
pt: "pt.png"
stamp: "stamp.png"
ubstamp: "stamp.png"
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
@@ -72,8 +83,7 @@ init script:
paragraph_count :=
replace@(match:"<soft-line>\n", replace:"")+
filter_text@(match:"\n")
has_identity := { styling.color_indicator_dot }
is_unsorted := {styling.remove_from_autocount}
watermark_include := "/magic-modules.mse-include/watermarks"
############################################################## Set info fields
set info style:
symbol:
@@ -84,20 +94,6 @@ set info style:
fill color: rgb(255,255,255)
border color: rgb(0,0,0)
############################################################## Extra style options
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
description: Removes the automatic card number for specific cards, to allow for overcounted cards like in Planeswalker Decks.
initial: no
styling field:
type: boolean
name: grey hybrid name
@@ -166,6 +162,11 @@ 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/stamps/card_fields
include file: /magic-modules.mse-include/rarities/card_fields
include file: /magic-modules.mse-include/watermarks/card_fields
card style:
############################# Background stuff
card color:
@@ -204,14 +205,14 @@ card style:
z index: 2
padding top: 0
card symbol:
left: {if card.card_symbol=="none" then 20 else 29}
top: 23
height: 18
width: 14
left: {if card.card_symbol=="none" then 20 else 28}
top: 21
height: 21
width: 23
z index: 1
render style: image
choice images:
tombstone: tombstone.png
include file: /magic.mse-game/card-symbols/menu_choice_images
image: { card_symbol_image(face: 1) }
############################# Image
image:
left: 25
@@ -229,7 +230,7 @@ card style:
z index: 2
render style: image
visible: { has_identity() }
image: { card_identity() }
image: { module_identity() }
type:
left: { if has_identity() then "53" else "33" }
top: { if has_four_abilities() then 261 else 296 }
@@ -251,21 +252,7 @@ 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")
include file: /magic-modules.mse-include/rarities/choice_images
############################# Text box
text:
left: 63
@@ -309,7 +296,8 @@ card style:
z index: 2
render style: image
alignment: middle center
include file: /magic-watermarks.mse-include/watermarks
include file: /magic.mse-game/watermarks/menu_choice_images
image: { watermark_image_1() }
############################# Loyalty
loyalty:
z index: 7
@@ -366,58 +354,7 @@ card style:
name: Beleren Bold
size: 11
color: white
############################# Card sorting / numbering
set code:
left: 24
top: 498
width: 40
height: 10
z index: 6
font:
name: Relay-Medium
size: 7
color: white
weight: bold
############################# Copyright stuff
illustrator:
left: { 44 + card_style.set_code.content_width }
top: 497.5
width: 200
height: 10
z index: 1
font:
name: Beleren Small Caps Bold
size: 7.25
color: white
copyright:
right: 350
top: 498
width: 140
height: 10
z index: 6
visible: {not set.automatic_copyright}
alignment: middle right shrink-overflow
font:
name: Matrix
size: 7
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
@@ -430,12 +367,6 @@ extra card field:
script: card.card_color
editable: false
save value: false
extra card field:
type: choice
name: foil stamp
choice: stamp
save value: false
editable: false
extra card field:
type: choice
name: foil layer
@@ -497,40 +428,13 @@ 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 field:
type: choice
name: list icon
choice: no icon
choice: the list
save value: true
editable: true
name: stamp backing
script: card.card_color
editable: false
save value: false
extra card style:
card code:
left: 24
top: 488
width: 120
height: 10
z index: 6
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
z index: 6
render style: image
image: artist_arrow.png
loyalty box:
right: 362
top: 460
@@ -541,31 +445,21 @@ extra card style:
visible: { card.loyalty !="" }
choice images:
loyalty: loyalty.png
stamp:
left: 170
top: 473
width: 36.5
height: 22.5
z index: 6
visible: { is_rare() and styling.use_holofoil_stamps }
stamp backing:
left: 157
top: 467
width: 61
height: 25
z index: 840
visible: { card.card_stamp != "none" }
render style: image
image: { card_stamp() }
mask: stamp_mask.png
foil stamp:
left: 170
top: 473
width: 36.5
height: 22.5
z index: 7
visible: { is_rare() and styling.use_holofoil_stamps }
render style: image
image: foil_stamp.png
image: { if stamp_shape() == "triangle" then module_ubstamp() else module_stamp() }
foil layer:
left: 0
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:
@@ -703,25 +597,3 @@ extra card style:
line height hard max: 1.3
line height line max: 1.6
visible: { has_four_abilities() }
auto copyright:
right: 350
top: 498
width: 140
height: 10
z index: 2
alignment: middle right shrink-overflow
visible: {set.automatic_copyright}
font:
name: Matrix
size: 7
color: white
weight: bold
list icon:
left: 0
top: 487
width: 29
height: 36
render style: image
choice images:
the list: list.png
z index: 4