[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/horror style/planeswalkers
icon: card-sample.png
position hint: 828
version: 2014-02-22
version: 2024-05-30
depends on:
package: magic.mse-game
version: 2008-06-02
@@ -17,8 +17,8 @@ depends on:
package: magic-future-common.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-dark.mse-symbol-font
version: 2007-09-23
@@ -71,7 +71,7 @@ init script:
}
card_shape := {"planeswalker"}
watermark_include := "/magic-modules.mse-include/watermarks"
############################################################## Set info fields
set info style:
symbol:
@@ -145,6 +145,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:
@@ -152,7 +154,6 @@ card style:
top : 0
width: 375
height: 523
radius: 14
left width: 14
right width: 14
top width: 14
@@ -200,15 +201,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 : 34
height: 20
width: 14
angle: 3.5
z index: 1
height: 21
width: 23
z index: 5
render style: image
choice images:
tombstone: /magic-horror.mse-style/tombstone.png
image: { card_symbol_image(face: 1) }
############################# Image
image:
left: 25
@@ -242,20 +241,7 @@ card style:
render style: image
alignment: middle right
angle: -1.5
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: 66
@@ -292,10 +278,10 @@ card style:
line height hard max: 1.3
line height line max: 1.6
watermark:
left: 117
top : 331
width: 138
height: 150
left: 56
top : 336
width: 296
height: 140
z index: 2
render style: image
alignment: middle center
@@ -482,7 +468,7 @@ 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"}
loyalty cost box 1: