[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,13 +6,13 @@ installer group: magic/MTGS Community 2
icon: card-sample.png
position hint: 833
version: 2014-02-22
version: 2024-05-30
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-mtgs-2.mse-symbol-font
version: 2009-07-31
@@ -63,7 +63,7 @@ init script:
else if input == "Structure" then "structure"
else "multitype"
}
watermark_include := "/magic-modules.mse-include/watermarks"
############################################################## Set info fields
set info style:
symbol:
@@ -131,6 +131,7 @@ styling style:
old: /magic-mana-small.mse-symbol-font/mana_t_old.png
diagonal T: /magic-mana-small.mse-symbol-font/mana_t_older.png
############################################################## Card fields
include file: /magic-modules.mse-include/corners/card_fields
card style:
############################# Background stuff
card color:
@@ -177,14 +178,13 @@ card style:
z index: 1
padding top: 0
card symbol:
left: {if card.card_symbol=="none" then 13 else 25}
left: {if card.card_symbol=="none" then 13 else 21}
top : 13
height: 20
width: 14
z index: 2
height: 21
width: 23
z index: 5
render style: image
choice images:
tombstone: tombstone.png
image: { card_symbol_image(face: 1) }
type symbol:
left: 335
top: 14
@@ -235,20 +235,7 @@ card style:
z index: 1
render style: image
alignment: middle center
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
@@ -282,14 +269,15 @@ card style:
line height hard max: 1.3
line height line max: 1.6
watermark:
left: 112
top : 340
width: 152
height: 152
left: 23
top : 345
width: 329
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: 2
@@ -389,6 +377,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"}