[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,10 @@ installer group: magic/Future/Normal cards
icon: card-sample.png
position hint: 273
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
depends on:
package: magic-future-common.mse-include
version: 2008-05-21
@@ -22,6 +19,9 @@ depends on:
depends on:
package: magic-mana-future.mse-symbol-font
version: 2007-09-23
depends on:
package: magic-modules.mse-include
version: 2024-05-20
card width: 375
card height: 523
@@ -34,6 +34,7 @@ init script:
mask_multi_land_with_color := { styling.colored_multicolor_land_name }
watermark_include := "/magic-modules.mse-include/watermarks"
template_suffix := [card: "card.jpg", pt: "pt.png", textbox: "textbox.png", typeline: "typeline.png"]
template := { input + template_suffix[type] }
land_template := { (if input == "a" then "c" else input) + "l" + template_suffix[type] }
@@ -114,7 +115,7 @@ init script:
}
card_shape := { if styling.shifted_sorting then "shifted" else "normal" }
information_codes_offset_left_1 := { 2 }
############################################################## Set info fields
set info style:
symbol:
@@ -197,6 +198,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:
@@ -270,14 +273,13 @@ card style:
padding top: 0
mask: costmask.png
card symbol:
left: {if card.card_symbol=="none" then 50 else 67}
top : 31
height: 20
width: 14
left: {if card.card_symbol == "none" then 50 else 63}
top : 32
height: 21
width: 23
z index: 4
render style: image
choice images:
tombstone: tombstone.png
image: { card_symbol_image(face: 1) }
type symbol:
left: 24
top: 24
@@ -344,20 +346,7 @@ card style:
z index: 4
alignment: middle right
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: 36
@@ -395,14 +384,15 @@ card style:
line height soft: 0.9
line height line: 1.5
watermark:
left: 127
top : 321
width: 132
height: 152
left: 26
top : 330
width: 321
height: 138
z index: 3
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: 5
@@ -546,6 +536,6 @@ extra card style:
top : 0
width: 375
height: 523
z index: 6
z index: 1050
render style: image
image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"}