[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
icon: card-sample.png
position hint: 240
version: 2015-05-29
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
@@ -62,7 +62,7 @@ init script:
guild_mana := { styling.use_guild_mana_symbols }
card_shape := { "split" }
watermark_include := "/magic-modules.mse-include/watermarks"
############################################################## Set info fields
set info style:
symbol:
@@ -171,6 +171,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:
@@ -178,7 +179,6 @@ card style:
top : 0
width: 523
height: 375
radius: 18
z index: -1
card color:
left: 18
@@ -201,7 +201,7 @@ card style:
############################# Name line
name:
left: { if card.card_symbol=="none" then 30 else 51 }
left: 30
top : 28.5
right: { 242 - card_style.casting_cost.content_width }
height: 20
@@ -214,7 +214,7 @@ card style:
weight: bold
color: rgb(0,0,0)
name 2:
left: { if card.card_symbol_2=="none" then 282 else 51 }
left: 282
top : 28.5
right: { 493 - card_style.casting_cost_2.content_width }
height: 20
@@ -301,20 +301,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 : 213
@@ -323,20 +310,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
@@ -404,7 +378,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
@@ -413,7 +388,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
@@ -483,6 +459,16 @@ card style:
name: MPlantin
size: 6
color: { 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
@@ -502,6 +488,12 @@ extra card field:
choice: foil
save value: false
editable: false
extra card field:
type: choice
name: the list dot
choice: dot
editable: false
save value: false
extra card style:
pt box:
left: 194
@@ -526,7 +518,18 @@ 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"}
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