[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 @@ icon: card-sample.png
position hint: 903
installer group: magic/duplex cards
version: 2014-02-22
version: 2024-05-30
depends on:
package: magic.mse-game
version: 2008-06-02
@@ -19,6 +19,9 @@ depends on:
depends on:
package: magic-future-common.mse-include
version: 2007-09-23
depends on:
package: magic-modules.mse-include
version: 2024-05-20
card width: 375
card height: 523
@@ -79,7 +82,7 @@ init script:
# Alignment
#eight := split_text(match:",", input).7
#
watermark_include := "/magic-modules.mse-include/watermarks"
############################################################## Set info fields
set info style:
symbol:
@@ -202,6 +205,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:
############################# Background stuff
card color:
@@ -280,20 +284,7 @@ card style:
alignment: middle center
z index: 1
render style: image
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
rule text:
left: {if comma_count(styling.rules_text_style) == ",,,,,,,," then split_text(match:",", styling.rules_text_style).0 else "31"}
@@ -416,7 +407,7 @@ extra card style:
top : 0
width: 375
height: 523
z index: 2
z index: 1050
render style: image
mask: overlay_mask.png
image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"}