[274/274] magic-modules rollout (#51)
Add Magic-Modules support to all frames
This commit is contained in:
@@ -6,7 +6,7 @@ installer group: Magic Planes/normal style
|
||||
icon: card-sample.png
|
||||
position hint: 090
|
||||
|
||||
version: 2018-06-02
|
||||
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: 523
|
||||
card height: 375
|
||||
@@ -50,6 +53,7 @@ init script:
|
||||
special_text := {
|
||||
card.text + (if remove_tags(card.rule_text_2) != "" then "\n" + card.rule_text_2 else "")
|
||||
}
|
||||
watermark_include := "/magic-modules.mse-include/watermarks"
|
||||
############################################################## Set info fields
|
||||
set info style:
|
||||
symbol:
|
||||
@@ -121,6 +125,7 @@ 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
|
||||
card style:
|
||||
############################# Name line
|
||||
name:
|
||||
@@ -164,38 +169,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: 62
|
||||
@@ -252,7 +226,7 @@ card style:
|
||||
font:
|
||||
name: Beleren Small Caps Bold
|
||||
size: 6
|
||||
color: white
|
||||
color: {styling.copyright_text_color or else set.copyright_text_color}
|
||||
copyright:
|
||||
right: 385
|
||||
top: 364
|
||||
@@ -263,11 +237,11 @@ card style:
|
||||
font:
|
||||
name: Matrix
|
||||
size: 7
|
||||
color: white
|
||||
color: {styling.copyright_text_color or else set.copyright_text_color}
|
||||
weight: bold
|
||||
visible: {not set.automatic_copyright}
|
||||
set code:
|
||||
left: { (if styling.center_set_info then 225 else 165) + card_style.card_number_m15.content_width }
|
||||
left: { (if styling.center_set_info then 225 else 165) + card_style.card_code.content_width }
|
||||
top: 362
|
||||
width: 34
|
||||
height: 12
|
||||
@@ -275,18 +249,20 @@ card style:
|
||||
font:
|
||||
name: Relay-Medium
|
||||
size: 6.25
|
||||
color: white
|
||||
color: {styling.copyright_text_color or else set.copyright_text_color}
|
||||
weight: bold
|
||||
card code:
|
||||
left: { if styling.center_set_info then 222 else 161 }
|
||||
top: 362
|
||||
width: 81
|
||||
height: 12
|
||||
z index: 1
|
||||
font:
|
||||
name: Relay-Medium
|
||||
size: 6.25
|
||||
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
|
||||
@@ -382,7 +358,7 @@ extra card style:
|
||||
font:
|
||||
name: Matrix
|
||||
size: 7
|
||||
color: white
|
||||
color: {styling.copyright_text_color or else set.copyright_text_color}
|
||||
weight: bold
|
||||
main text:
|
||||
left: 62
|
||||
@@ -413,17 +389,6 @@ extra card style:
|
||||
render style: image
|
||||
image: {filter_image()}
|
||||
z index: 1
|
||||
card code:
|
||||
left: { if styling.center_set_info then 222 else 161 }
|
||||
top: 362
|
||||
width: 81
|
||||
height: 12
|
||||
z index: 1
|
||||
font:
|
||||
name: Relay-Medium
|
||||
size: 6.25
|
||||
color: white
|
||||
weight: bold
|
||||
flavor bar:
|
||||
left: 0
|
||||
top: { bar_equation() }
|
||||
|
||||
Reference in New Issue
Block a user