[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/new style/extra colors
icon: card-sample.png
position hint: 250
version: 2016-01-05
version: 2024-05-29
depends on:
package: magic.mse-game
version: 2015-04-08
@@ -19,9 +19,6 @@ depends on:
depends on:
package: magic-watermarks-extra.mse-include
version: 2007-12-22
depends on:
package: magic-watermarks.mse-include
version: 2007-09-29
depends on:
package: magic-mana-large-extra.mse-symbol-font
version: 2009-03-23
@@ -40,6 +37,9 @@ depends on:
depends on:
package: magic-pt-symbols-extra.mse-symbol-font
version: 2009-09-25
depends on:
package: magic-modules.mse-include
version: 2024-05-20
card width: 375
card height: 523
@@ -1802,6 +1802,8 @@ styling style:
render style: checklist
direction: vertical
############################################################## Card fields
include file: /magic-modules.mse-include/corners/card_fields
include file: /magic-modules.mse-include/information/the_list_old
card style:
############################# Background stuff
border color:
@@ -1820,8 +1822,8 @@ card style:
left:
{ if card.card_symbol=="none" and (card.type_symbol=="none" or not contains(styling.extras, match:"type symbol with name")) then 32
else if card.card_symbol == "none" then 49
else if card.type_symbol == "none" or typesymbol_type() == "none" then 51
else 68}
else if card.type_symbol == "none" or typesymbol_type(type:card.super_type) == "none" then 51
else 51}
top: 30
right: { 341 - card_style.casting_cost.content_width }
height: 23
@@ -1852,15 +1854,14 @@ card style:
card symbol:
left:
{if card.card_symbol == "none" then 20
else if card.type_symbol == "none" or not contains(styling.extras, match:"type symbol with name") then 32
else 50}
else if card.type_symbol == "none" or not contains(styling.extras, match:"type symbol with name") then 28
else 46}
top: {if card.card_symbol == "none" then 42 else 31}
height: 20
width: 14
height: 21
width: 23
z index: 5
render style: image
choice images:
tombstone: /magic-new.mse-style/tombstone.png
image: { card_symbol_image(face: 1) }
type symbol:
left: {if card.type_symbol == "none" or not contains(styling.extras, match:"type symbol with name") then 18 else 30}
top: {if card.type_symbol == "none" or not contains(styling.extras, match:"type symbol with name") then 22 else 32}
@@ -1894,7 +1895,7 @@ card style:
top: {if comma_count(styling.popout_image_style) == ",,,," then split_text(match:",", styling.popout_image_style).1 else "0"}
width: {if comma_count(styling.popout_image_style) == ",,,," then split_text(match:",", styling.popout_image_style).2 else "0"}
height: {if comma_count(styling.popout_image_style) == ",,,," then split_text(match:",", styling.popout_image_style).3 else "0"}
z index: 3
z index: 1010
############################# Card type
type:
left: { if has_identity() then "55" else "35" }
@@ -1918,20 +1919,7 @@ card style:
render style: image
alignment: middle right
visible: { not contains(styling.extras, match:"mtgsalvation rarity") }
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")
include file: /magic-modules.mse-include/rarities/choice_images
############################# Text box
text:
left: 31
@@ -2255,7 +2243,7 @@ extra card style:
top : 0
width: 375
height: 523
z index: 6
z index: 1050
render style: image
mask: {if not styling.foil_art then "no_art_foil_mask.png" else nil}
image: {if styling.overlay == "" then nil else set_combine(input: styling.overlay + "/overlay.png", combine: styling.overlay_combine_type)}