[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/Future/planeswalkers/horizontal
icon: card-sample.png
position hint: 274
version: 2014-02-22
version: 2024-05-29
depends on:
package: magic.mse-game
version: 2008-06-02
@@ -19,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: 523
card height: 375
@@ -31,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 := {
@@ -123,7 +127,7 @@ init script:
else if contains(input, match: "-") then "loyalty down"
else "loyalty naught"
}
information_codes_offset_left_1 := { 2 }
############################################################## Set info fields
set info style:
symbol:
@@ -206,6 +210,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/information/the_list_old
include file: /magic-modules.mse-include/corners/card_fields
card style:
############################# Background stuff
border color:
@@ -272,14 +278,13 @@ card style:
z index: 5
padding top: 0
card symbol:
left: {if card.card_symbol=="none" then 50 else 67}
top : 39
height: 20
width: 14
z index: 2
left: {if card.card_symbol == "none" then 50 else 63}
top : 38
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: 30
@@ -346,20 +351,7 @@ card style:
z index: 1
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: 44
@@ -541,7 +533,7 @@ extra card style:
width: 375
height: 523
angle: 270
z index: 3
z index: 1050
render style: image
image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"}
loyalty box: