[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/new style/split cards/Clear
icon: card-sample.png
position hint: 242
version: 2014-02-22
version: 2024-05-29
depends on:
package: magic.mse-game
version: 2008-06-02
@@ -14,8 +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
package: magic-modules.mse-include
version: 2024-05-20
depends on:
package: magic-mana-large.mse-symbol-font
version: 2007-09-23
@@ -68,7 +68,7 @@ init script:
else if styling.frame_opacity > 100 then 1
else styling.frame_opacity / 100
}
watermark_include := "/magic-modules.mse-include/watermarks"
############################################################## Set info fields
set info style:
symbol:
@@ -188,6 +188,7 @@ 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
card style:
############################# Background stuff
border color:
@@ -195,7 +196,6 @@ card style:
top : 0
width: 523
height: 375
radius: 18
z index: -3
card color:
left: 18
@@ -217,7 +217,7 @@ card style:
image: { card_background() }
############################# Name line
name:
left: { if card.card_symbol=="none" then 30 else 51 }
left: 30
top: {if contains(styling.clear_side, match:"left") then 25 else 27}
right: { 242 - card_style.casting_cost.content_width }
height: 17
@@ -230,7 +230,7 @@ card style:
weight: bold
color: black
name 2:
left: { if card.card_symbol_2=="none" then 282 else 51 }
left: 282
top: {if contains(styling.clear_side, match:"right") then 25 else 27}
right: { 493 - card_style.casting_cost_2.content_width }
height: 17
@@ -316,20 +316,7 @@ card style:
z index: 2
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
rarity 2:
right: 493
top: {if contains(styling.clear_side, match:"right") then 212 else 213}
@@ -338,20 +325,7 @@ card style:
z index: 2
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: 29
@@ -419,7 +393,8 @@ card style:
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: 338
top : 228
@@ -428,7 +403,8 @@ card style:
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: 2
@@ -498,6 +474,16 @@ card style:
name: MPlantin
size: 6
color: { if contains(styling.clear_side, match:"right") then styling.right_artist_font_color else font_color(card.card_color_2) }
the list icon:
left: 0
bottom: 374
width: 22
height: 33
popup style: in place
include file: /magic.mse-game/information/menu_choice_images_the_list
render style: image
image: { the_list_icon_image(face: 1, field: 1) }
z index: 900
############################################################## Extra card fields
extra card field:
type: choice
@@ -553,6 +539,12 @@ extra card field:
script: "image"
save value: false
editable: false
extra card field:
type: choice
name: the list dot
choice: dot
editable: false
save value: false
extra card style:
frame:
left: 18
@@ -593,7 +585,7 @@ extra card style:
bottom: 0
width: 375
height: 523
z index: 3
z index: 1050
angle: 90
render style: image
image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"}
@@ -633,3 +625,14 @@ extra card style:
z index: 1
render style: image
image: image_border.png
the list dot:
left: 0
bottom: 374
width: 30
height: 40
render style: image
popup style: in place
include file: /magic.mse-game/information/menu_choice_images_the_list
render style: image
image: { the_list_dot_image(field: 1) }
z index: 510