[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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB

View File

@@ -6,16 +6,13 @@ icon: card-sample.png
installer group: magic/new style/omega cards/leveler cards
position hint: 283
version: 2015-06-26
version: 2024-05-29
depends on:
package: magic.mse-game
version: 2008-06-02
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
@@ -50,7 +47,7 @@ init script:
else "a"
) else input
}
template_prefix := [card: "/magic-new-omega.mse-style/" card2: "/magic-new-leveler.mse-style/" pt: "/magic-new-leveler.mse-style/" identity: "/magic-identity-new.mse-include/"]
template_prefix := [card: "/magic-new-omega.mse-style/" card2: "/magic-new-leveler.mse-style/" pt: "/magic-new-leveler.mse-style/" identity: "/magic-modules.mse-include/indicators/"]
template_suffix := [card: "card.jpg" card2: "card.jpg" pt: "pt.jpg", identity: "identity.png"]
template := { template_prefix[type] + alternate_template() + template_suffix[type] }
land_template := { template_prefix[type] + (if input == "a" then "c" else alternate_template()) + "l" + template_suffix[type] }
@@ -75,7 +72,7 @@ init script:
replace@(
match: "<atom-cardname><nospellcheck>CARDNAME</nospellcheck></atom-cardname>"
replace: "<atom-cardname><nospellcheck>" + (if card.name=="" then "CARDNAME" else card.name) + "</nospellcheck></atom-cardname>")
watermark_include := "/magic-modules.mse-include/watermarks"
############################################################## Set info fields
set info style:
symbol:
@@ -169,6 +166,8 @@ 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/the_list_old
card style:
############################# Background stuff
border color:
@@ -176,7 +175,6 @@ card style:
top : 0
width: 375
height: 523
radius: 18
left width: 17
right width: 17
top width: 17
@@ -223,14 +221,13 @@ card style:
z index: 2
padding top: 0
card symbol:
left: {if card.card_symbol=="none" then 20 else 32}
left: {if card.card_symbol=="none" then 20 else 28}
top : 31
height: 20
width: 14
z index: 1
height: 21
width: 23
z index: 5
render style: image
choice images:
tombstone: /magic-new-leveler.mse-style/tombstone.png
image: { card_symbol_image(face: 1) }
############################# Image
image:
left: 32
@@ -247,7 +244,7 @@ card style:
z index: 2
render style: image
visible: { has_identity() }
image: { card_identity() }
image: { module_identity() }
sub type:
left: 35
top : 298
@@ -282,20 +279,7 @@ card style:
z index: 2
render style: image
alignment: middle right
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: 31
@@ -329,14 +313,15 @@ card style:
line height hard max: 1.3
line height line max: 1.6
watermark:
left: 117
top : 321
width: 138
height: 156
left: 21
top: 328
width: 331
height: 142
z index: 1
render style: image
alignment: middle center
include file: /magic-watermarks.mse-include/watermarks
include file: /magic.mse-game/watermarks/menu_choice_images
image: { watermark_image_1() }
############################# Levels
level 1:
z index: 3
@@ -655,7 +640,7 @@ extra card style:
top: 0
width: 375
height: 523
z index: 4
z index: 1050
render style: image
image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"}
lvlup texture 1: