[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,13 +6,13 @@ installer group: magic/Planeshifted/Split Cards
icon: card-sample.png
position hint: 271
version: 2015-05-29
version: 2024-05-29
depends on:
package: magic.mse-game
version: 2008-06-02
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
@@ -26,6 +26,7 @@ card dpi: 150
# By Pichoro; based on templates by Wolfwood and Buttock1234
############################################################## Extra scripts
init script:
watermark_include := "/magic-modules.mse-include/watermarks"
# Should hybrids have a grey name?
mask_hybrid_with_land := { styling.grey_hybrid_name }
@@ -119,6 +120,7 @@ styling style:
old: /magic-mana-large.mse-symbol-font/mana_t_old.png
diagonal T: /magic-mana-large.mse-symbol-font/mana_t_older.png
############################################################## Card fields
include file: /magic-modules.mse-include/corners/card_fields
card style:
############################# Background stuff
border color:
@@ -126,7 +128,6 @@ card style:
top: 0
width: 523
height: 375
radius: 18
z index: -1
card color:
left: 18
@@ -148,7 +149,7 @@ card style:
image: { card_background() }
############################# 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
@@ -164,7 +165,7 @@ card style:
shadow displacement x: -1
shadow displacement y: 1
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
@@ -257,20 +258,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
@@ -279,19 +267,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")
special: script: symbol_variation(symbol: set.symbol, variation: "special")
include file: /magic-modules.mse-include/rarities/choice_images
############################# Text box
text:
left: 29
@@ -352,23 +328,25 @@ card style:
line height line: 1.5
line height soft: 0.9
watermark:
left: 87
top : 228
width: 92
height: 108
left: 19
top : 233
width: 224
height: 99
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
width: 92
height: 108
left: 269
top : 233
width: 224
height: 99
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
@@ -444,6 +422,17 @@ 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
@@ -463,6 +452,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
@@ -491,3 +486,14 @@ extra card style:
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