---------

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,7 +6,7 @@ icon: card-sample.png
installer group: magic/m15 style/flip cards
position hint: 012
version: 2018-02-09
version: 2024-06-06
depends on:
package: magic.mse-game
version: 2014-06-25
@@ -14,11 +14,8 @@ depends on:
package: magic-default-image.mse-include
version: 2007-09-23
depends on:
package: magic-watermarks.mse-include
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
depends on:
package: magic-mana-large.mse-symbol-font
version: 2007-09-23
@@ -41,8 +38,22 @@ init script:
#Should multicolor lands with basic land types have a colored name?
mask_multi_land_with_color := { styling.colored_multicolor_land_name }
template_prefix := [card: "" card2: "" pt: "" stamp: "" identity: "/magic-identity-new.mse-include/"]
template_suffix := [card: "card.jpg" card2: "card2.jpg" pt: "pt.png", stamp: "stamp.png" identity: "identity.png"]
template_prefix := [
card: ""
card2: ""
pt: "/magic-modules.mse-include/pts/375 m15/"
stamp: "/magic-modules.mse-include/stamps/backs/375 round/"
ubstamp: "/magic-modules.mse-include/stamps/backs/375 ub/"
identity: "/magic-modules.mse-include/indicators/"
]
template_suffix := [
card: "card.jpg"
card2: "card2.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] + (if input == "a" then "c" else input) + "l" + template_suffix[type] }
# Use land templates for previews because they show more contrast
@@ -62,9 +73,10 @@ init script:
is_promo := { styling.promo }
card_shape := {"flip"}
has_identity := { styling.color_indicator_dot }
has_identity_2 := { styling.color_indicator_dot_2 }
watermark_include := "/magic-modules.mse-include/watermarks"
is_unsorted := {styling.remove_from_autocount}
information_secondary_shift_with_pt_1 := {false}
card_stamp_offset_top_1 := {5}
############################################################## Set info fields
set info style:
symbol:
@@ -77,23 +89,14 @@ set info style:
############################################################## Extra style options
styling field:
type: boolean
name: use holofoil stamps
description: Change to no to disable rare holofoil stamps
name: bottom card color indicator
initial: false
description: Should the bottom card use a color indicator?
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: color indicator dot
description: Use the color indicator dot
initial: no
styling field:
type: boolean
name: color indicator dot 2
description: Use the second color indicator dot
initial: no
styling field:
type: boolean
name: grey hybrid name
@@ -176,6 +179,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/stamps/card_fields
card style:
############################# Background stuff
border color:
@@ -183,7 +189,6 @@ card style:
top : 0
width: 375
height: 523
radius: 18
left width: 17
right width: 17
top width: 17
@@ -266,14 +271,14 @@ card style:
z index: 1
padding top: 0
card symbol:
left: {if card.card_symbol=="none" then 20 else 30}
left: {if card.card_symbol=="none" then 20 else 26}
top: 29
height: 20
width: 14
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: 29
@@ -301,7 +306,7 @@ card style:
z index: 1
render style: image
visible: { has_identity() }
image: { card_identity() }
image: { module_identity() }
indicator 2:
left: 342
bottom: 356
@@ -311,11 +316,11 @@ card style:
z index: 1
render style: image
visible: { styling.bottom_card_color_indicator }
image: { card_identity() }
image: { module_identity() }
type:
left: { if has_identity() then "52" else "32" }
top: 131
width: { if (card.pt != "" and has_identity()) then "220" else if card.pt != "" then "240" else if has_identity() then "290" else "310" }
width: { if (card.pt != "" and has_identity()) then "230" else if card.pt != "" then "250" else if has_identity() then "290" else "310" }
height: 20
alignment: top shrink-overflow
z index: 1
@@ -340,28 +345,14 @@ card style:
color: black
separator color: red
rarity:
right: 344
top: 498
right: 305
top: 132
width: 44
height: 22
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: 29
@@ -435,7 +426,8 @@ card style:
render style: image
popup style: in place
alignment: middle center
include file: /magic-watermarks.mse-include/watermarks
include file: /magic.mse-game/watermarks/menu_choice_images
image: { watermark_image_1() }
watermark 2:
right: 156
bottom: 378
@@ -446,85 +438,35 @@ card style:
popup style: in place
alignment: middle center
angle: 180
include file: /magic-watermarks.mse-include/watermarks
include file: /magic.mse-game/watermarks/menu_choice_images
image: { watermark_image_2() }
############################# PT
pt:
z index: 2
left: 286
top: 127
width: 60
left: 308
top: 128
width: 44
height: 28
alignment: center middle shrink-overflow
font:
name: Beleren Bold
size: 16
size: 13
color: black
separator color: red
pt 2:
z index: 2
right: 27
bottom: 352
width: 60
right: 21
bottom: 353
width: 44
height: 28
alignment: center middle shrink-overflow
angle: 180
font:
name: Beleren Bold
size: 16
size: 13
color: black
separator color: red
############################# Card sorting / numbering
set code:
left: 24
top: 498
width: 40
height: 10
z index: 1
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: 488
width: 140
height: 10
z index: 2
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: frame
@@ -543,18 +485,6 @@ extra card field:
script: card.card_color_2
editable: false
save value: false
extra card field:
type: choice
name: stamp
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
@@ -562,32 +492,13 @@ extra card field:
save value: false
editable: false
extra card field:
type: text
name: auto copyright
script: set.copyright
save value: false
type: choice
name: stamp backing
script: card.card_color_2
editable: false
show statistics: false
save value: false
extra card style:
card code:
left: 24
top: 488
width: 120
height: 10
z index: 1
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: 1
render style: image
image: artist_arrow.png
frame:
left: 0
top: 0
@@ -597,61 +508,39 @@ extra card style:
render style: image
image: {flip_background(top: card.card_color, bottom: card.card_color_2)}
pt box:
left: 273
top: 124
width: 81
height: 42
left: 303
top: 128
width: 50
height: 34
z index: 1
visible: { card.pt != "" }
render style: image
image: { card_ptbox() }
image: { module_ptbox() }
pt box 2:
right: 20
bottom: 342
width: 81
height: 42
bottom: 346
width: 50
height: 34
angle: 180
z index: 1
visible: { card.pt_2 != "" }
render style: image
image: { card_ptbox() }
stamp:
left: 165
top: 472
width: 46
height: 26
z index: 1
visible: { is_rare() and styling.use_holofoil_stamps }
render style: image
image: { card_stamp() }
foil stamp:
left: 165
top: 472
width: 46
height: 26
z index: 1
visible: { is_rare() and styling.use_holofoil_stamps }
render style: image
image: foil_stamp.png
image: { module_ptbox() }
foil layer:
left: 0
top : 0
width: 375
height: 523
z index: 3
z index: 1050
render style: image
image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"}
mask: {if is_rare() then "foil_mask_rare.png" else "foil_mask.png"}
auto copyright:
right: 350
top: 488
width: 140
height: 10
z index: 2
visible: {set.automatic_copyright}
alignment: middle right shrink-overflow
font:
name: Matrix
size: 7
color: white
weight: bold
stamp backing:
left: 165
top: 477
width: 46
height: 26
visible: {card.card_stamp != "none"}
render style: image
z index: 850
image: { "/magic-modules.mse-include/stamps/backs/" + (if stamp_shape() == "triangle" then "triangle_" else "") + "stamp.png" }