[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: 8.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

View File

@@ -6,7 +6,7 @@ installer group: magic/new style/planeswalkers/double faced
icon: card-sample.png
position hint: 263
version: 2014-02-22
version: 2024-05-29
depends on:
package: magic.mse-game
version: 2008-06-02
@@ -14,11 +14,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
@@ -40,7 +37,7 @@ init script:
if input == "c" then "a"
else input
}
template_prefix := [card: "", card2: "", identity: "/magic-identity-new.mse-include/"]
template_prefix := [card: "", card2: "", identity: "/magic-modules.mse-include/indicators/"]
template_suffix := [card: "card.jpg", card2: "card2.jpg", identity: "identity.png"]
template := { template_prefix[type] + no_colorless_template() + template_suffix[type] }
#No land templates
@@ -72,7 +69,33 @@ init script:
}
card_shape := {"double faced planeswalker"}
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 := {-5}
faces_coordinates := {
[
[
left: 0,
top: 0,
width: 375,
height: 523
],
[
left: 377,
top: 0,
width: 375,
height: 523
]
]
}
############################################################## Set info fields
set info style:
symbol:
@@ -146,6 +169,9 @@ 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_dfc
include file: /magic-modules.mse-include/information/the_list_old_dfc
include file: /magic-modules.mse-include/symbols/card_fields_dfc
card style:
############################# Background stuff
border color:
@@ -153,7 +179,6 @@ card style:
top : 0
width: 375
height: 523
radius: 18
left width: 17
right width: 17
top width: 17
@@ -232,32 +257,13 @@ 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
z index: 5
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
transformation 2:
left: 398
top: 21
height: 31
width: 31
render style: image
choice images:
day: sun_circle.png
night: night_circle.png
image: { card_symbol_image(face: 1) }
############################# Image
image:
left: 26
@@ -282,7 +288,7 @@ card style:
z index: 2
render style: image
visible: { has_identity() }
image: { card_identity() }
image: { module_identity() }
indicator 2:
left: 407
top: 309
@@ -291,7 +297,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
@@ -326,20 +332,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 : 308
@@ -348,20 +341,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
############################# Text box
text:
left: 66
@@ -439,7 +419,8 @@ card style:
z index: 2
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: 494
top: 331
@@ -448,7 +429,8 @@ card style:
z index: 2
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() }
############################# Loyalty
loyalty:
z index: 7
@@ -687,7 +669,7 @@ extra card field:
save value: true
script:
if set.automatic_card_numbers then
forward_editor(field: card.copyright, suffix: " " + card_number() + "a/" + card_count() )
forward_editor(field: card.copyright, suffix: " " + get_card_number_count(tag:card_number_tags().0) )
else
forward_editor(field: card.copyright)
description: Copyright of this card and cardnumber, the default value can be changed on the 'set info' tab
@@ -697,7 +679,7 @@ extra card field:
save value: true
script:
if set.automatic_card_numbers then
forward_editor(field: card.copyright_2, suffix: " " + card_number() + "b/" + card_count() )
forward_editor(field: card.copyright_2, suffix: " " + get_card_number_count(tag:card_number_tags().1) )
else
forward_editor(field: card.copyright_2)
description: Copyright of this card and cardnumber, the default value can be changed on the 'set info' tab
@@ -747,7 +729,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:
@@ -755,7 +737,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"}
loyalty cost box 1:

Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 672 B