[274/274] magic-modules rollout (#51)
Add Magic-Modules support to all frames
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 52 KiB |
@@ -6,7 +6,7 @@ icon: card-sample.png
|
||||
installer group: magic/new style/double faced
|
||||
position hint: 261
|
||||
|
||||
version: 2014-02-22
|
||||
version: 2024-05-29
|
||||
depends on:
|
||||
package: magic.mse-game
|
||||
version: 2012-01-22
|
||||
@@ -14,11 +14,8 @@ depends on:
|
||||
package: magic-default-image.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
|
||||
@@ -50,7 +47,7 @@ init script:
|
||||
else "om"
|
||||
) else input
|
||||
}
|
||||
template_prefix := [card: "", card2: "", pt: "", pt2: "", identity: "/magic-identity-new.mse-include/"]
|
||||
template_prefix := [card: "", card2: "", pt: "", pt2: "", identity: "/magic-modules.mse-include/indicators/"]
|
||||
template_suffix := [card: "card.jpg", card2: "card2.jpg", pt: "pt.jpg", pt2: "pt2.jpg", identity: "identity.png"]
|
||||
template := { template_prefix[type] + alternate_template() + template_suffix[type] }
|
||||
land_template := { template_prefix[type] + (if input == "a" then "c" else alternate_template()) + (if type=="identity" then "" else "l") + template_suffix[type] }
|
||||
@@ -87,7 +84,17 @@ init script:
|
||||
]
|
||||
]
|
||||
}
|
||||
|
||||
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 := {1}
|
||||
transform_symbol_offset_left_2 := {2}
|
||||
transform_symbol_offset_top_2 := {1}
|
||||
############################################################## Set info fields
|
||||
set info style:
|
||||
symbol:
|
||||
@@ -199,6 +206,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:
|
||||
@@ -206,7 +216,6 @@ card style:
|
||||
top: 0
|
||||
width: 375
|
||||
height: 523
|
||||
radius: 18
|
||||
left width: 17
|
||||
right width: 17
|
||||
top width: 17
|
||||
@@ -290,31 +299,13 @@ card style:
|
||||
z index: 2
|
||||
padding top: 0
|
||||
card symbol:
|
||||
left: {if card.card_symbol=="none" then 55 else 60}
|
||||
left: { if card.card_symbol == "none" then 0 else 55 }
|
||||
top : 31
|
||||
height: 20
|
||||
width: 14
|
||||
height: 21
|
||||
width: 23
|
||||
render style: image
|
||||
choice images:
|
||||
tombstone: tombstone.png
|
||||
transformation:
|
||||
left: 21
|
||||
top: 26
|
||||
height: 31
|
||||
width: 31
|
||||
render style: image
|
||||
choice images:
|
||||
day: sun_circle.png
|
||||
night: night_circle.png
|
||||
transformation 2:
|
||||
left: 398
|
||||
top: 26
|
||||
height: 31
|
||||
width: 31
|
||||
render style: image
|
||||
choice images:
|
||||
day: sun_circle.png
|
||||
night: night_circle.png
|
||||
z index: 8
|
||||
image: { card_symbol_image(face: 1) }
|
||||
############################# Image
|
||||
image:
|
||||
left: 32
|
||||
@@ -369,20 +360,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
|
||||
rarity 2:
|
||||
right: 719
|
||||
top: 297
|
||||
@@ -391,20 +369,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
|
||||
indicator:
|
||||
left: 34
|
||||
top: 299
|
||||
@@ -413,7 +378,7 @@ card style:
|
||||
z index: 2
|
||||
render style: image
|
||||
visible: { has_identity() }
|
||||
image: { card_identity() }
|
||||
image: { module_identity() }
|
||||
indicator 2:
|
||||
left: 411
|
||||
top: 299
|
||||
@@ -422,7 +387,7 @@ card style:
|
||||
z index: 2
|
||||
render style: image
|
||||
visible: { has_identity_2() }
|
||||
image: { card_identity() }
|
||||
image: { module_identity() }
|
||||
############################# Text box
|
||||
text:
|
||||
left: 31
|
||||
@@ -487,23 +452,25 @@ card style:
|
||||
line height hard max: 1.3
|
||||
line height line max: 1.6
|
||||
watermark:
|
||||
left: 117
|
||||
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: 494
|
||||
top: 321
|
||||
width: 138
|
||||
height: 156
|
||||
left: 398
|
||||
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_2() }
|
||||
############################# PT
|
||||
pt:
|
||||
z index: 4
|
||||
@@ -618,7 +585,6 @@ extra card style:
|
||||
top: 0
|
||||
width: 375
|
||||
height: 523
|
||||
radius: 18
|
||||
left width: 17
|
||||
right width: 17
|
||||
top width: 17
|
||||
@@ -629,7 +595,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"}
|
||||
foil layer 2:
|
||||
@@ -637,7 +603,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"}
|
||||
pt 2 copy:
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 78 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 672 B |
Reference in New Issue
Block a user