[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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

View File

@@ -6,7 +6,7 @@ installer group: magic/new style/double faced/sacrificer
icon: card-sample.png
position hint: 265
version: 2014-02-22
version: 2024-05-29
depends on:
package: magic.mse-game
version: 2008-06-02
@@ -17,11 +17,8 @@ depends on:
package: magic-future-common.mse-include
version: 2007-09-23
depends on:
package: magic-watermarks.mse-include
version: 2007-09-23
depends on:
package: magic-identity-new.mse-include
version: 2012-01-22
package: magic-modules.mse-include
version: 2024-05-20
depends on:
package: magic-mana-large.mse-symbol-font
version: 2007-09-23
@@ -45,7 +42,7 @@ init script:
if input == "c" then "a"
else input
}
template_prefix := [card: "", card2: "", pt2: "", identity: "/magic-identity-new.mse-include/"]
template_prefix := [card: "", card2: "", pt2: "", identity: "/magic-modules.mse-include/indicators/"]
template_suffix := [card: "card.jpg", card2: "card2.jpg", pt2: "pt2.jpg", identity: "identity.png"]
template := { template_prefix[type] + no_colorless_template() + template_suffix[type] }
#Lands only on regular frame
@@ -107,7 +104,18 @@ init script:
else if input == "Structure" then "structure"
else "multitype"
}
watermark_include := "/magic-modules.mse-include/watermarks"
transform_symbol_default := {
stylesheet
if margin_code == "transform1" then "day"
else if margin_code == "transform2" then "night"
else "eldrazi"
}
transform_symbol_offset_left_1 := {2}
transform_symbol_offset_top_1 := {-5}
transform_symbol_offset_left_2 := {2}
transform_symbol_offset_top_2 := {1}
############################################################## Set info fields
set info style:
symbol:
@@ -193,6 +201,9 @@ styling style:
standard: /magic.mse-game/icons/small-image.png
extended: /magic.mse-game/icons/large-image.png
############################################################## Card fields
include file: /magic-modules.mse-include/corners/card_fields_dfc
include file: /magic-modules.mse-include/symbols/card_fields_dfc
include file: /magic-modules.mse-include/information/the_list_old_dfc
card style:
############################# Background stuff
border color:
@@ -200,7 +211,6 @@ card style:
top : 0
width: 375
height: 523
radius: 18
left width: 17
right width: 17
top width: 17
@@ -282,66 +292,12 @@ card style:
z index: 2
padding top: 0
card symbol:
left: {if card.card_symbol=="none" then 50 else 58}
top : 25
height: 20
width: 14
z index: 1
left: { if card.card_symbol == "none" then 0 else 55 }
top : 24
height: 21
width: 23
render style: image
choice images:
tombstone: tombstone.png
transformation:
left: 21
top: 21
height: 31
width: 31
render style: image
choice images:
day: sun_circle.png
night: night_circle.png
type symbol:
left: 21
top: 21
height: { if card.type_symbol == "none" then 16 else 31 }
width: {if card.type_symbol == "none" then 16 else 31 }
z index: 1
render style: image
choice images:
artifact: artifact.png
creature: creature.png
enchantment: enchantment.png
instant: instant.png
land: land.png
multitype: multitype.png
sorcery: sorcery.png
planeswalker: planeswalker.png
structure: structure.png
transformation 2:
left: 398
top: 26
height: 31
width: 31
render style: image
choice images:
day: sun_circle.png
night: night_circle.png
type symbol 2:
left: 398
top: 26
height: { if card.type_symbol_2 == "none" then 16 else 31 }
width: { if card.type_symbol_2 == "none" then 16 else 31 }
z index: 1
render style: image
choice images:
artifact: artifact.png
creature: creature.png
enchantment: enchantment.png
instant: instant.png
land: land.png
multitype: multitype.png
sorcery: sorcery.png
planeswalker: planeswalker.png
structure: structure.png
image: { card_symbol_image(face: 1) }
############################# Image
image:
left: 26
@@ -368,7 +324,7 @@ card style:
z index: 2
render style: image
visible: { has_identity() }
image: { card_identity() }
image: { module_identity() }
indicator 2:
left: 411
top: 299
@@ -377,7 +333,7 @@ card style:
z index: 2
render style: image
visible: { has_identity_2() }
image: { card_identity() }
image: { module_identity() }
type:
left: { if has_identity() then "50" else "36" }
top: 307
@@ -412,20 +368,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
rarity 2:
right: 719
top: 297
@@ -434,20 +377,7 @@ card style:
z index: 1
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: 66
@@ -515,23 +445,25 @@ card style:
line height hard max: 1.3
line height line max: 1.6
watermark:
left: 117
top : 331
width: 138
height: 150
z index: 2
render style: image
alignment: middle center
include file: /magic-watermarks.mse-include/watermarks
watermark 2:
left: 494
top: 321
width: 138
height: 156
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() }
watermark 2:
left: 398
top: 328
width: 331
height: 142
z index: 1
render style: image
alignment: middle center
include file: /magic.mse-game/watermarks/menu_choice_images
image: { watermark_image_2() }
############################# PT
pt 2:
z index: 4
@@ -719,7 +651,6 @@ extra card style:
top: 0
width: 375
height: 523
radius: 18
left width: 17
right width: 17
top width: 17
@@ -750,7 +681,7 @@ 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"}
foil layer 2:
@@ -758,7 +689,7 @@ 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"}
loyalty cost box 1:

Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 672 B