[274/274] magic-modules rollout (#51)
Add Magic-Modules support to all frames
This commit is contained in:
@@ -6,13 +6,13 @@ installer group: magic/Future/Split cards
|
||||
icon: card-sample.png
|
||||
position hint: 275
|
||||
|
||||
version: 2014-02-22
|
||||
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-future-common.mse-include
|
||||
version: 2008-05-21
|
||||
@@ -121,8 +121,22 @@ init script:
|
||||
else "white"
|
||||
}
|
||||
|
||||
watermark_include := "/magic-modules.mse-include/watermarks"
|
||||
card_shape := { if styling.shifted_sorting then "split, shifted" else "split"}
|
||||
|
||||
faces_coordinates := {[
|
||||
[
|
||||
left: 0,
|
||||
top: 0,
|
||||
width: 523,
|
||||
height: 375
|
||||
],
|
||||
[
|
||||
left: 260,
|
||||
top: 0,
|
||||
width: 234,
|
||||
height: 375
|
||||
]
|
||||
]}
|
||||
############################################################## Set info fields
|
||||
set info style:
|
||||
symbol:
|
||||
@@ -195,6 +209,7 @@ styling style:
|
||||
old: /magic-mana-small.mse-symbol-font/mana_t_old.png
|
||||
diagonal T: /magic-mana-small.mse-symbol-font/mana_t_older.png
|
||||
############################################################## Card fields
|
||||
include file: /magic-modules.mse-include/corners/card_fields
|
||||
card style:
|
||||
############################# Background stuff
|
||||
border color:
|
||||
@@ -325,23 +340,21 @@ card style:
|
||||
padding top: 0
|
||||
mask: costmask.png
|
||||
card symbol:
|
||||
left: {if card.card_symbol=="none" then 34 else 48}
|
||||
left: {if card.card_symbol=="none" then 34 else 44}
|
||||
top : 28
|
||||
height: 16
|
||||
width: 12
|
||||
height: 19
|
||||
width: 21
|
||||
z index: 4
|
||||
render style: image
|
||||
choice images:
|
||||
tombstone: tombstone.png
|
||||
image: { card_symbol_image(face: 1) }
|
||||
card symbol 2:
|
||||
left: {if card.card_symbol_2=="none" then 285 else 299}
|
||||
left: {if card.card_symbol_2=="none" then 285 else 295}
|
||||
top : 28
|
||||
height: 16
|
||||
width: 12
|
||||
height: 19
|
||||
width: 21
|
||||
z index: 4
|
||||
render style: image
|
||||
choice images:
|
||||
tombstone: tombstone.png
|
||||
image: { card_symbol_image(face: 2) }
|
||||
type symbol:
|
||||
left: 22
|
||||
top: 22
|
||||
@@ -448,20 +461,7 @@ card style:
|
||||
z index: 4
|
||||
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:
|
||||
left: 488
|
||||
top : 213
|
||||
@@ -470,20 +470,7 @@ card style:
|
||||
z index: 4
|
||||
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: 30
|
||||
@@ -556,23 +543,25 @@ card style:
|
||||
line height soft: 0.9
|
||||
line height line: 1.5
|
||||
watermark:
|
||||
left: 90
|
||||
top : 229
|
||||
width: 92
|
||||
height: 100
|
||||
left: 20
|
||||
top : 252
|
||||
width: 219
|
||||
height: 95
|
||||
z index: 3
|
||||
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: 341
|
||||
top : 229
|
||||
width: 92
|
||||
height: 100
|
||||
left: 271
|
||||
top : 252
|
||||
width: 219
|
||||
height: 95
|
||||
z index: 3
|
||||
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: 5
|
||||
@@ -706,6 +695,16 @@ card style:
|
||||
contains(card.card_color_2, match:"multicolor") or
|
||||
contains(card.card_color_2, match:"white") then rgb(0,0,0)
|
||||
else rgb(255,255,255)
|
||||
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
|
||||
@@ -774,6 +773,12 @@ extra card field:
|
||||
choice: planeswalker
|
||||
choice: sorcery
|
||||
choice: none
|
||||
extra card field:
|
||||
type: choice
|
||||
name: the list dot
|
||||
choice: dot
|
||||
editable: false
|
||||
save value: false
|
||||
extra card style:
|
||||
textbox:
|
||||
left: 22
|
||||
@@ -845,7 +850,7 @@ extra card style:
|
||||
bottom: 0
|
||||
width: 375
|
||||
height: 523
|
||||
z index: 6
|
||||
z index: 1050
|
||||
angle: 90
|
||||
render style: image
|
||||
image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"}
|
||||
@@ -876,3 +881,14 @@ extra card style:
|
||||
multitype: { "/magic-future-common.mse-include/multitype_" + typesymbol_color(frame: card.card_color_2) + ".png" }
|
||||
planeswalker: { "/magic-future-common.mse-include/planeswalker_" + typesymbol_color(frame: card.card_color_2) + ".png" }
|
||||
sorcery: { "/magic-future-common.mse-include/sorcery_" + typesymbol_color(frame: card.card_color_2) + ".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
|
||||
Reference in New Issue
Block a user