[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/flip cards
icon: card-sample.png
position hint: 244
version: 2014-02-22
version: 2024-05-29
depends on:
package: magic.mse-game
version: 2010-04-07
@@ -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: 2007-09-23
@@ -52,7 +52,7 @@ init script:
# Use guild mana symbols?
guild_mana := { styling.use_guild_mana_symbols }
card_shape := {"flip"}
watermark_include := "/magic-modules.mse-include/watermarks"
############################################################## Set info fields
set info style:
symbol:
@@ -135,6 +135,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:
@@ -142,7 +144,6 @@ card style:
top: 0
width: 375
height: 523
radius: 18
left width: 17
right width: 17
top width: 17
@@ -220,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: tombstone.png
image: { card_symbol_image(face: 1) }
############################# Image
image:
left: 32
@@ -280,20 +280,7 @@ card style:
z index: 1
alignment: middle center
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
text:
left: 33
@@ -366,7 +353,8 @@ card style:
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() }
watermark 2:
right: 151
bottom: 378
@@ -376,7 +364,8 @@ card style:
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_2() }
############################# PT
pt:
z index: 2
@@ -486,6 +475,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"}