[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/flip cards
icon: card-sample.png
position hint: 275
version: 2014-02-22
version: 2024-05-29
depends on:
package: magic.mse-game
version: 2010-04-07
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
@@ -33,6 +33,7 @@ card dpi: 150
init script:
mask_hybrid_with_land := { styling.grey_hybrid_name }
watermark_include := "/magic-modules.mse-include/watermarks"
template_suffix := [card: "card.jpg", pt: "pt.png", pt2: "pt2.png"]
template := { input + template_suffix[type] }
land_template := { "a" + template_suffix[type] }
@@ -115,7 +116,22 @@ init script:
typesymbol_type_2 := { typesymbol_for_2(card.super_type_2) }
card_shape := { if styling.shifted_sorting then "shifted flip" else "flip" }
faces_coordinates := {[
[
left: 0,
top: 0,
height: 523,
width: 375
],
[
left: 0,
top: 0,
height: 523,
width: 375
]
]}
information_codes_offset_left_1 := { 2 }
############################################################## Set info fields
set info style:
symbol:
@@ -196,6 +212,8 @@ styling style:
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:
@@ -228,7 +246,7 @@ card style:
popup style: in place
############################# Name line
name:
left: {if card.card_symbol=="none" then 64 else 77}
left: {if card.card_symbol=="none" then 73 else 88}
top : 30
right: 341
height: 23
@@ -260,7 +278,7 @@ card style:
else rgb(0,0,0)
) else font_color(card.card_color)
name 2:
left: 310
left: { if card.card_symbol_2 == "none" then 310 else 295 }
bottom: 442
right: 34
height: 23
@@ -326,14 +344,22 @@ card style:
padding top: 0
mask: costmask2.png
card symbol:
left: {if card.card_symbol=="none" then 40 else 62}
top : 31
height: 20
width: 14
z index: 2
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) }
card symbol 2:
left: { if card.card_symbol_2 == "none" then 333 else 320 }
bottom: 440
height: 21
width: 23
z index: 4
angle: 180
render style: image
image: { card_symbol_image(face: 2) }
type symbol:
left: 24
top: 24
@@ -432,20 +458,7 @@ card style:
z index: 1
alignment: middle center
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: 55
@@ -511,24 +524,26 @@ card style:
line height line: 1.5
line height soft: 0.9
watermark:
left: 151
top : 61
width: 69
height: 66
left: 45
top : 63
width: 305
height: 65
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() }
watermark 2:
right: 151
bottom: 367
width: 69
height: 66
right: 25
bottom: 365
width: 305
height: 65
angle: 180
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_2() }
############################# PT
pt:
z index: 4
@@ -724,6 +739,6 @@ extra card style:
top : 0
width: 375
height: 523
z index: 5
z index: 1050
render style: image
image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"}