[274/274] magic-modules rollout (#51)
Add Magic-Modules support to all frames
|
Before Width: | Height: | Size: 4.9 KiB |
|
Before Width: | Height: | Size: 9.5 KiB |
|
Before Width: | Height: | Size: 8.1 KiB |
|
Before Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 4.1 KiB |
|
Before Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 5.2 KiB |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 4.0 KiB |
|
Before Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 4.9 KiB |
|
Before Width: | Height: | Size: 8.9 KiB |
|
Before Width: | Height: | Size: 8.9 KiB |
|
Before Width: | Height: | Size: 4.1 KiB |
|
Before Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 5.0 KiB |
|
Before Width: | Height: | Size: 9.4 KiB |
|
Before Width: | Height: | Size: 9.4 KiB |
|
Before Width: | Height: | Size: 4.2 KiB |
|
Before Width: | Height: | Size: 8.1 KiB |
|
Before Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 37 KiB |
|
Before Width: | Height: | Size: 5.4 KiB |
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 4.2 KiB |
|
Before Width: | Height: | Size: 8.1 KiB |
|
Before Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 38 KiB |
|
Before Width: | Height: | Size: 5.5 KiB |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 4.2 KiB |
@@ -6,7 +6,7 @@ icon: card-sample.png
|
||||
installer group: magic/m15 style/split cards/fuse
|
||||
position hint: 011
|
||||
|
||||
version: 2024-01-05
|
||||
version: 2024-05-27
|
||||
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-05-20
|
||||
depends on:
|
||||
package: magic-mana-large.mse-symbol-font
|
||||
version: 2007-09-23
|
||||
@@ -43,9 +40,26 @@ 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: "" card3: "" pt: "" stamp: "" identity: "/magic-identity-new.mse-include/"]
|
||||
template_suffix := [card: "card.jpg" card2: "card2.jpg" card3: "card3.jpg" pt: "pt.png", stamp: "stamp.jpg" identity: "identity.png"]
|
||||
template_prefix := [
|
||||
card: ""
|
||||
card2: ""
|
||||
card3: ""
|
||||
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"
|
||||
card3: "card3.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] + input + template_suffix[type] }
|
||||
# Use land templates for previews because they show more contrast
|
||||
hybrid_previews := "land,hybrid"
|
||||
|
||||
@@ -65,15 +79,25 @@ init script:
|
||||
card_shape := { "aftermath" }
|
||||
has_two_artists := { card_style.illustrator_2 != "" }
|
||||
|
||||
has_identity := { styling.color_indicator_dot }
|
||||
has_identity_2 := { styling.color_indicator_dot_2 }
|
||||
is_unsorted := {styling.remove_from_autocount}
|
||||
use_main_rarity := { contains(set.mainframe_rarity_name, match: ".png")}
|
||||
un_png := replace@(match:".png", replace: "")
|
||||
|
||||
# alternate rarity color
|
||||
alt_rarity := {styling.alt_rarity_color}
|
||||
|
||||
card_stamp_offset_top_1 := { if stamp_shape() == "triangle" then -4 else 0 }
|
||||
information_secondary_shift_with_pt_1 := {false}
|
||||
faces_coordinates := {[
|
||||
[
|
||||
left: 0
|
||||
top: 0
|
||||
width: 375
|
||||
height: 523
|
||||
],
|
||||
[
|
||||
left: 0
|
||||
top: 285
|
||||
width: 375
|
||||
height: 238
|
||||
]
|
||||
]}
|
||||
watermark_include := "/magic-modules.mse-include/watermarks"
|
||||
############################################################## Set info fields
|
||||
set info style:
|
||||
symbol:
|
||||
@@ -84,16 +108,6 @@ set info style:
|
||||
fill color: rgb(255,255,255)
|
||||
border color: rgb(0,0,0)
|
||||
############################################################## Extra style options
|
||||
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: remove from autocount
|
||||
@@ -141,15 +155,7 @@ styling field:
|
||||
choice: short text only
|
||||
choice: never
|
||||
initial: never
|
||||
styling field:
|
||||
type: boolean
|
||||
name: holofoil stamps
|
||||
description: Should rares have holofoil stamps?
|
||||
initial: yes
|
||||
styling field:
|
||||
type: text
|
||||
name: alt rarity color
|
||||
description: Use a custom color for the rarity symbol. Formatted as "R1,G1,B1:R2,G2,B2:...:X:" 1 and 2 are fill color, 3 and 4 border color, X is border thickness. For example, rare is 214,196,94:95,84,40:0,0,0:0,0,0:0.07
|
||||
include file: /magic-modules.mse-include/rarities/styling_fields
|
||||
styling field:
|
||||
type: boolean
|
||||
name: promo
|
||||
@@ -188,6 +194,10 @@ 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/card-symbols/card_fields
|
||||
card style:
|
||||
############################# Background stuff
|
||||
border color:
|
||||
@@ -215,7 +225,7 @@ card style:
|
||||
z index: 0
|
||||
render style: image
|
||||
popup style: in place
|
||||
image: { if is_rare() and styling.holofoil_stamps then color_background(type:"card3", base_hybrid:card_hybrid) else color_background(type:"card2", base_hybrid:card_hybrid) }
|
||||
image: { if is_stamped() then color_background(type:"card3", base_hybrid:card_hybrid) else color_background(type:"card2", base_hybrid:card_hybrid) }
|
||||
############################# Name line
|
||||
name:
|
||||
left: { if card.card_symbol=="none" then 32 else 50 }
|
||||
@@ -275,25 +285,15 @@ card style:
|
||||
always symbol: true
|
||||
z index: 2
|
||||
padding top: 0
|
||||
card symbol:
|
||||
left: {if card.card_symbol=="none" then 20 else 30}
|
||||
top: 29
|
||||
height: 20
|
||||
width: 14
|
||||
z index: 1
|
||||
render style: image
|
||||
choice images:
|
||||
tombstone: tombstone.png
|
||||
card symbol 2:
|
||||
left: 341
|
||||
left: 343
|
||||
top: 294
|
||||
height: 20
|
||||
width: 14
|
||||
height: 23
|
||||
width: 21
|
||||
z index: 1
|
||||
angle: 270
|
||||
render style: image
|
||||
choice images:
|
||||
tombstone: tombstone.png
|
||||
image: { card_symbol_image(face: 2) }
|
||||
############################# Image
|
||||
image:
|
||||
left: 29
|
||||
@@ -319,16 +319,17 @@ card style:
|
||||
z index: 2
|
||||
render style: image
|
||||
visible: { has_identity() }
|
||||
image: { card_identity() }
|
||||
image: { module_identity() }
|
||||
indicator 2:
|
||||
left: 179
|
||||
left: 195
|
||||
top: 295
|
||||
width: 17
|
||||
height: 17
|
||||
z index: 2
|
||||
render style: image
|
||||
visible: { has_identity_2() }
|
||||
image: { card_identity() }
|
||||
image: { module_identity() }
|
||||
angle: 270
|
||||
type:
|
||||
left: { if has_identity() then "50" else "30" }
|
||||
top: 185
|
||||
@@ -364,45 +365,8 @@ card style:
|
||||
z index: 2
|
||||
render style: image
|
||||
alignment: middle right
|
||||
choice images:
|
||||
# Images based on the set symbol
|
||||
basic land:
|
||||
script:
|
||||
if use_main_rarity() then "/magic-mainframe-extras.mse-include/" + un_png(set.mainframe_rarity_name) + "c.png"
|
||||
else if use_alt_rarity() then alt_symbol()
|
||||
else if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon")
|
||||
else symbol_variation(symbol: set.symbol, variation: "common")
|
||||
common:
|
||||
script:
|
||||
if use_main_rarity() then "/magic-mainframe-extras.mse-include/" + un_png(set.mainframe_rarity_name) + "c.png"
|
||||
else if use_alt_rarity() then alt_symbol()
|
||||
else if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon")
|
||||
else symbol_variation(symbol: set.symbol, variation: "common")
|
||||
uncommon:
|
||||
script:
|
||||
if use_main_rarity() then "/magic-mainframe-extras.mse-include/" + un_png(set.mainframe_rarity_name) + "u.png"
|
||||
else if use_alt_rarity() then alt_symbol()
|
||||
else symbol_variation(symbol: set.symbol, variation: "uncommon")
|
||||
rare:
|
||||
script:
|
||||
if use_main_rarity() then "/magic-mainframe-extras.mse-include/" + un_png(set.mainframe_rarity_name) + "r.png"
|
||||
else if use_alt_rarity() then alt_symbol()
|
||||
else symbol_variation(symbol: set.symbol, variation: "rare")
|
||||
mythic rare:
|
||||
script:
|
||||
if use_main_rarity() then "/magic-mainframe-extras.mse-include/" + un_png(set.mainframe_rarity_name) + "m.png"
|
||||
else if use_alt_rarity() then alt_symbol()
|
||||
else symbol_variation(symbol: set.symbol, variation: "mythic rare")
|
||||
special:
|
||||
script:
|
||||
if use_main_rarity() then "/magic-mainframe-extras.mse-include/" + un_png(set.mainframe_rarity_name) + "s.png"
|
||||
else if use_alt_rarity() then alt_symbol()
|
||||
else symbol_variation(symbol: set.symbol, variation: "special")
|
||||
masterpiece:
|
||||
script:
|
||||
if use_main_rarity() then "/magic-mainframe-extras.mse-include/" + un_png(set.mainframe_rarity_name) + "mp.png"
|
||||
else symbol_variation(symbol: set.masterpiece_symbol, variation: "mythic rare")
|
||||
############################# Text box
|
||||
include file: /magic-modules.mse-include/rarities/choice_images
|
||||
############################# Text box
|
||||
text:
|
||||
left: 28
|
||||
top: 214
|
||||
@@ -475,7 +439,7 @@ card style:
|
||||
render style: image
|
||||
popup style: in place
|
||||
alignment: middle center
|
||||
include file: /magic-watermarks.mse-include/watermarks
|
||||
image: { watermark_image_1() }
|
||||
watermark 2:
|
||||
left: 167
|
||||
top: 351
|
||||
@@ -486,7 +450,7 @@ card style:
|
||||
render style: image
|
||||
popup style: in place
|
||||
alignment: middle center
|
||||
include file: /magic-watermarks.mse-include/watermarks
|
||||
image: { watermark_scripts[card.watermark](face:watermark_face_2()) }
|
||||
pt:
|
||||
z index: 3
|
||||
left: 303
|
||||
@@ -512,82 +476,7 @@ card style:
|
||||
size: 14
|
||||
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: { max(97, card_style.illustrator.content_width) }
|
||||
height: 10
|
||||
z index: 1
|
||||
font:
|
||||
name: Beleren Small Caps Bold
|
||||
size: 7.25
|
||||
color: white
|
||||
illustrator 2:
|
||||
left: { 64 + card_style.set_code.content_width + max(90, card_style.illustrator.content_width) }
|
||||
top: 497.5
|
||||
width: { max(97, card_style.illustrator_2.content_width) }
|
||||
height: 10
|
||||
z index: 1
|
||||
font:
|
||||
name: Beleren Small Caps Bold
|
||||
size: 7.25
|
||||
color: white
|
||||
copyright:
|
||||
right: 350
|
||||
top: 488
|
||||
width: {if set.automatic_copyright then 0 else 140}
|
||||
height: 10
|
||||
z index: 2
|
||||
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: text
|
||||
name: card code 2
|
||||
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: artist arrow 2
|
||||
editable: false
|
||||
save value: false
|
||||
choice: white
|
||||
extra card field:
|
||||
type: choice
|
||||
name: pt box
|
||||
@@ -603,60 +492,10 @@ extra card field:
|
||||
extra card field:
|
||||
type: choice
|
||||
name: stamp
|
||||
script: card.card_color
|
||||
script: card.card_color_2
|
||||
editable: false
|
||||
save value: false
|
||||
extra card field:
|
||||
type: choice
|
||||
name: foil stamp
|
||||
choice: stamp
|
||||
save value: false
|
||||
editable: false
|
||||
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: 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
|
||||
artist arrow 2:
|
||||
left: { 48 + card_style.set_code.content_width + max(90, card_style.illustrator.content_width) }
|
||||
top: 500
|
||||
width: 12
|
||||
height: 7
|
||||
z index: 3
|
||||
visible: {card.illustrator_2 != "" }
|
||||
render style: image
|
||||
image: artist_arrow.png
|
||||
foil stamp:
|
||||
left: 170
|
||||
top: 480
|
||||
width: 35
|
||||
height: 18
|
||||
z index: 2
|
||||
visible: { is_rare() and styling.holofoil_stamps }
|
||||
render style: image
|
||||
image: foil_stamp.png
|
||||
pt box:
|
||||
left: 294
|
||||
top: 260
|
||||
@@ -665,7 +504,7 @@ extra card style:
|
||||
z index: 2
|
||||
visible: { card.pt != "" }
|
||||
render style: image
|
||||
image: { card_ptbox() }
|
||||
image: { module_ptbox() }
|
||||
mask: ptmask.png
|
||||
pt box 2:
|
||||
left: 42
|
||||
@@ -676,17 +515,14 @@ extra card style:
|
||||
angle: 270
|
||||
visible: { card.pt_2 != "" }
|
||||
render style: image
|
||||
image: { card_ptbox() }
|
||||
image: { module_ptbox() }
|
||||
mask: ptmask.png
|
||||
auto copyright:
|
||||
right: 350
|
||||
top: 488
|
||||
width: {if set.automatic_copyright then 140 else 0}
|
||||
height: 10
|
||||
z index: 2
|
||||
alignment: middle right shrink-overflow
|
||||
font:
|
||||
name: Matrix
|
||||
size: 7
|
||||
color: white
|
||||
weight: bold
|
||||
stamp:
|
||||
left: 159
|
||||
top: 467
|
||||
width: 56
|
||||
height: 26
|
||||
z index: 5
|
||||
render style: image
|
||||
image: { if stamp_shape() == "triangle" then module_ubstamp() else "" }
|
||||
visible: { card.card_stamp != "none" }
|
||||
|
||||
|
Before Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 38 KiB |
|
Before Width: | Height: | Size: 5.3 KiB |
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 4.2 KiB |
|
Before Width: | Height: | Size: 37 KiB |
|
Before Width: | Height: | Size: 5.1 KiB |
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 4.0 KiB |