[274/274] magic-modules rollout (#51)
Add Magic-Modules support to all frames
This commit is contained in:
@@ -6,7 +6,7 @@ icon: card-sample.png
|
||||
installer group: magic/m15 style/normal cards
|
||||
position hint: 025
|
||||
|
||||
version: 2015-12-20
|
||||
version: 2024-05-30
|
||||
depends on:
|
||||
package: magic.mse-game
|
||||
version: 2014-06-25
|
||||
@@ -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
|
||||
@@ -40,7 +37,7 @@ init script:
|
||||
#Should multicolor lands with basic land types have a colored name?
|
||||
mask_multi_land_with_color := { styling.colored_multicolor_land_name }
|
||||
|
||||
template_prefix := [card: "" pt: "" stamp: "" identity: "/magic-identity-new.mse-include/"]
|
||||
template_prefix := [card: "" pt: "" stamp: "" identity: "/magic-modules.mse-include/indicators/"]
|
||||
template_suffix := [card: "card.jpg" pt: "pt.png", stamp: "stamp.jpg" identity: "identity.png"]
|
||||
template := { template_prefix[type] + input + template_suffix[type] }
|
||||
land_template := { template_prefix[type] + (if input == "a" then "c" else input) + "l" + template_suffix[type] }
|
||||
@@ -59,6 +56,7 @@ init script:
|
||||
|
||||
# Is the card a promo card?
|
||||
is_promo := { styling.promo }
|
||||
watermark_include := "/magic-modules.mse-include/watermarks"
|
||||
|
||||
############################################################## Set info fields
|
||||
set info style:
|
||||
@@ -142,6 +140,8 @@ 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
|
||||
include file: /magic-modules.mse-include/card-symbols/card_fields
|
||||
card style:
|
||||
############################# Background stuff
|
||||
border color:
|
||||
@@ -149,7 +149,6 @@ card style:
|
||||
top : 0
|
||||
width: 375
|
||||
height: 523
|
||||
radius: 18
|
||||
left width: 17
|
||||
right width: 17
|
||||
top width: 17
|
||||
@@ -194,15 +193,6 @@ card style:
|
||||
always symbol: true
|
||||
z index: 2
|
||||
padding top: 0
|
||||
card symbol:
|
||||
left: {if card.card_symbol=="none" then 20 else 30}
|
||||
top: 29
|
||||
height: 20
|
||||
width: 14
|
||||
z index: 1
|
||||
render style: image
|
||||
choice images:
|
||||
tombstone: tombstone.png
|
||||
############################# Image
|
||||
image:
|
||||
left: 29
|
||||
@@ -220,7 +210,7 @@ card style:
|
||||
z index: 2
|
||||
render style: image
|
||||
visible: { has_identity() }
|
||||
image: { card_identity() }
|
||||
image: { module_identity() }
|
||||
type:
|
||||
left: { if has_identity() then "52" else "32" }
|
||||
top: 296
|
||||
@@ -242,20 +232,7 @@ card style:
|
||||
z index: 2
|
||||
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
|
||||
############################# Text box
|
||||
text:
|
||||
left: 29
|
||||
@@ -289,15 +266,15 @@ card style:
|
||||
line height hard max: 1.3
|
||||
line height line max: 1.6
|
||||
watermark:
|
||||
left: 117
|
||||
top: 321
|
||||
width: 138
|
||||
height: 166
|
||||
left: 19
|
||||
top: 327
|
||||
width: 334
|
||||
height: 154
|
||||
z index: 1
|
||||
render style: image
|
||||
popup style: in place
|
||||
alignment: middle center
|
||||
include file: /magic-watermarks.mse-include/watermarks
|
||||
include file: /magic.mse-game/watermarks/menu_choice_images
|
||||
image: { watermark_image_1() }
|
||||
############################# PT
|
||||
pt:
|
||||
z index: 2
|
||||
@@ -351,11 +328,7 @@ extra card field:
|
||||
type: text
|
||||
name: card code
|
||||
save value: false
|
||||
script:
|
||||
if set.automatic_card_numbers then
|
||||
forward_editor(prefix: card_number_m15() + "/" + card_count_m15() + " " + rarity_code() + " ", field: card.card_code_text)
|
||||
else
|
||||
combined_editor(field1: card.custom_card_number, separator: " " + rarity_code() + " ", field2: card.card_code_text)
|
||||
script: card_number_script_core()
|
||||
extra card field:
|
||||
type: choice
|
||||
name: artist arrow
|
||||
@@ -438,7 +411,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"}
|
||||
mask: { if is_rare() then "foil_mask_rare.png" else "foil_mask.png" }
|
||||
|
||||
Reference in New Issue
Block a user