[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,7 +6,7 @@ icon: card-sample.png
installer group: magic/new style/uncard effects/greater morphling
position hint: 907
version: 2014-02-22
version: 2024-05-29
depends on:
package: magic.mse-game
version: 2011-09-10
@@ -14,8 +14,8 @@ depends on:
package: magic-default-image.mse-include
version: 2007-09-23
depends on:
package: magic-watermarks.mse-include
version: 2007-09-23
package: magic-modules.mse-include
version: 2024-05-20
depends on:
package: magic-mana-large.mse-symbol-font
version: 2011-04-10
@@ -25,9 +25,6 @@ depends on:
depends on:
package: magic-future-common.mse-include
version: 2008-05-21
depends on:
package: magic-identity-new.mse-include
version: 2012-01-22
card width: 375
card height: 523
@@ -54,7 +51,7 @@ init script:
else "om"
) else input
}
template_prefix := [card: "", pt: "", identity: "/magic-identity-new.mse-include/"]
template_prefix := [card: "", pt: "", identity: "/magic-modules.mse-include/indicators/"]
template_suffix := [card: "card.jpg", pt: "pt.png", 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:
# Filter to commas, so they can be counted to see if field is complete
comma_count := filter_text@(match:",")
watermark_include := "/magic-modules.mse-include/watermarks"
############################################################## Set info fields
set info style:
symbol:
@@ -193,6 +190,8 @@ styling style:
standard: /magic.mse-game/icons/small-image.png
extended: /magic.mse-game/icons/large-image.png
############################################################## 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:
@@ -200,7 +199,6 @@ card style:
top: 0
width: 375
height: 523
radius: 24
left width: 18
right width: 18
top width: 18
@@ -246,13 +244,13 @@ card style:
z index: 2
padding top: 0
card symbol:
left: {if card.card_symbol=="none" then 20 else 34.5}
top: 33
height: 20
width: 14
left: {if card.card_symbol=="none" then 20 else 28}
top : 31
height: 21
width: 23
z index: 5
render style: image
choice images:
tombstone: tombstone.png
image: { card_symbol_image(face: 1) }
############################# Image
image:
left: 33
@@ -268,7 +266,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
indicator:
left: 36.5
@@ -278,7 +276,7 @@ card style:
z index: 2
render style: image
visible: { has_identity() }
image: { card_identity() }
image: { module_identity() }
type:
left: { if has_identity() then 56.5 else 36.5 }
top: 154
@@ -300,20 +298,7 @@ card style:
z index: 1
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
text:
left: 32
@@ -347,14 +332,14 @@ card style:
line height hard max: 1.3
line height line max: 1.6
watermark:
left: 117
top: 249
width: 138
height: 148.5
left: 22
top: 184.5
width: 329
height: 285
z index: 1
render style: image
alignment: middle center
include file: /magic-watermarks.mse-include/watermarks
image: { watermark_image_1() }
############################# PT
pt:
z index: 4
@@ -437,6 +422,6 @@ extra card style:
top : 0
width: 375
height: 523
z index: 3
z index: 1050
render style: image
image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB