[274/274] magic-modules rollout (#51)

Add Magic-Modules support to all frames
This commit is contained in:
cajun
2024-09-10 22:21:23 -05:00
committed by GitHub
parent 65bfc8fcd6
commit 6d617985ce
5491 changed files with 37088 additions and 66467 deletions

View File

@@ -6,7 +6,7 @@ installer group: Magic Planes/normal style
icon: card-sample.png
position hint: 090
version: 2018-06-01
version: 2024-09-03
depends on:
package: magic.mse-game
version: 2018-06-01
@@ -16,6 +16,9 @@ depends on:
depends on:
package: magic-mainframe-extras.mse-include
version: 2018-01-01
depends on:
package: magic-modules.mse-include
version: 2024-05-20
card width: 800
card height: 559
@@ -165,38 +168,7 @@ 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 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 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 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 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 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 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")
include file: /magic-modules.mse-include/rarities/choice_images
############################# Text box
text:
left: 95
@@ -253,7 +225,7 @@ card style:
font:
name: Beleren Small Caps Bold
size: 7.25
color: white
color: {styling.copyright_text_color or else set.copyright_text_color}
copyright:
right: 530
top: 542
@@ -264,10 +236,10 @@ card style:
font:
name: Matrix
size: 8
color: white
color: {styling.copyright_text_color or else set.copyright_text_color}
weight: bold
set code:
left: { (if styling.center_set_info then 365 else 275) + card_style.card_number_m15.content_width }
left: { (if styling.center_set_info then 365 else 275) + card_style.card_code.content_width }
top: 542
width: 50
height: 19
@@ -275,18 +247,20 @@ card style:
font:
name: Relay-Medium
size: 7
color: white
color: {styling.copyright_text_color or else set.copyright_text_color}
weight: bold
card code:
left: { if styling.center_set_info then 360 else 270 }
top: 542
width: 120
height: 19
z index: 1
font:
name: Relay-Medium
size: 7
color: {styling.copyright_text_color or else set.copyright_text_color}
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
card_number_m15() + "/" + card_count_m15()
else
forward_editor(field: card.custom_card_number)
extra card field:
type: choice
name: background
@@ -383,7 +357,7 @@ extra card style:
font:
name: Matrix
size: 8
color: white
color: {styling.copyright_text_color or else set.copyright_text_color}
weight: bold
main text:
left: 95
@@ -415,17 +389,6 @@ extra card style:
image: {filter_image()}
z index: 1
visible: {not is_nom()}
card code:
left: { if styling.center_set_info then 360 else 270 }
top: 542
width: 120
height: 19
z index: 1
font:
name: Relay-Medium
size: 7
color: white
weight: bold
flavor bar:
left: 0
top: { bar_equation() }