[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

@@ -4,15 +4,15 @@ short name: PS Art Background
full name: PS Expanded Art Alteration
installer group: magic/Planeshifted/Artbackground Cards
icon: card-sample.png
position hint: 274
position hint: 271
version: 2014-02-22
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
package: magic-modules.mse-include
version: 2024-05-20
depends on:
package: magic-mana-large.mse-symbol-font
version: 2007-09-23
@@ -33,6 +33,7 @@ card dpi: 150
#Based on templates by Lordpenguin and Buttock1234
############################################################## Extra scripts
init script:
watermark_include := "/magic-modules.mse-include/watermarks"
# Should hybrids have a grey name?
mask_hybrid_with_land := { styling.grey_hybrid_name }
@@ -164,6 +165,7 @@ styling style:
no: /magic.mse-game/icons/small-image.png
yes: /magic.mse-game/icons/large-image.png
############################################################## Card fields
include file: /magic-modules.mse-include/corners/card_fields
card style:
############################# Background stuff
border color:
@@ -218,14 +220,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
height: 21
width: 23
z index: 1
render style: image
choice images:
tombstone: /magic-planeshifted.mse-style/tombstone.png
image: { card_symbol_image(face: 1) }
############################# Image
image:
left: 0
@@ -261,20 +262,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
text:
left: 31
@@ -306,14 +294,15 @@ card style:
line height line: 1.5
line height soft: 0.9
watermark:
left: 117
top : 321
width: 138
height: 156
z index: 2
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() }
############################# PT
pt:
z index: 3
@@ -399,6 +388,6 @@ 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"}