[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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 113 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 109 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

View File

@@ -6,13 +6,13 @@ icon: card-sample.png
position hint: 67
installer group: magic/m15 style/normal cards/Clear
version: 2014-07-15
version: 2024-06-06
depends on:
package: magic.mse-game
version: 2008-06-24
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
@@ -44,7 +44,9 @@ init script:
# Is the card a promo card?
is_promo := { styling.promo }
card_symbol_offset_top_1 := {2}
card_stamp_offset_top_1 := {3}
watermark_include := "/magic-modules.mse-include/watermarks"
############################################################## Set info fields
set info style:
symbol:
@@ -123,6 +125,12 @@ 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/card-symbols/card_fields
include file: /magic-modules.mse-include/corners/card_fields
include file: /magic-modules.mse-include/information/card_fields
include file: /magic-modules.mse-include/stamps/card_fields
include file: /magic-modules.mse-include/watermarks/card_fields
include file: /magic-modules.mse-include/separators/card_fields
card style:
############################# Name line
name:
@@ -132,7 +140,7 @@ card style:
height: 23
alignment: bottom shrink-overflow
padding bottom: 0
z index: 2
z index: 900
font:
name: Beleren Bold
size: 16
@@ -151,24 +159,15 @@ card style:
size: 15
alignment: middle right
always symbol: true
z index: 2
z index: 920
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: 0
top: 0
width: 375
height: 523
z index: 0
z index: 100
mask: image_mask.png
############################# Card type
type:
@@ -177,7 +176,7 @@ card style:
width: { 307 - max(22,card_style.rarity.content_width) }
height: 20
alignment: top shrink-overflow
z index: 2
z index: 900
padding top: 2
font:
name: Beleren Bold
@@ -189,23 +188,10 @@ card style:
top : 298
width: 44
height: 22
z index: 3
z index: 950
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: 28
@@ -230,7 +216,7 @@ card style:
styling.center_text == "always"
then "middle center"
else "middle left"
z index: 3
z index: 900
padding left: 6
padding right: 4
line height hard: 1.2
@@ -238,18 +224,9 @@ card style:
line height soft: 0.9
line height hard max: 1.3
line height line max: 1.6
watermark:
left: 117
top : 321
width: 138
height: 156
z index: 2
render style: image
alignment: middle center
include file: /magic-watermarks.mse-include/watermarks
############################# PT
############################# PT
pt:
z index: 3
z index: 900
left: 286
top: 469
width: 60
@@ -260,53 +237,7 @@ card style:
size: 16
color: black
separator color: red
############################# Card sorting / numbering
set code:
left: 24
top: 498
width: 40
height: 10
z index: 2
font:
name: Relay-Medium
size: 7
color: white
weight: bold
############################# Copyright stuff
illustrator:
left: { 44 + card_style.set_code.content_width }
top: 497.5
width: 200
height: 10
z index: 2
font:
name: Beleren Small Caps Bold
size: 7.25
color: white
copyright:
right: 350
top: { if card.pt != "" then 500 else 488 }
width: 140
height: 10
z index: 2
alignment: middle right shrink-overflow
font:
name: Matrix
size: 7
color: white
weight: bold
############################################################## Extra card fields
extra card field:
type: text
name: card code
save value: false
script: forward_editor(prefix: card_number_m15() + "/" + card_count_m15() + " " + rarity_code() + " ", field: card.card_code_text)
extra card field:
type: choice
name: artist arrow
editable: false
save value: false
choice: white
extra card field:
type: choice
name: frame
@@ -331,69 +262,60 @@ extra card field:
choice: foil
save value: false
editable: false
extra card field:
type: choice
name: artist arrow
editable: false
save value: false
choice: white
extra card field:
type: choice
name: image liner
script: "image"
save value: false
editable: false
extra card field:
type: choice
name: stamp backing
choice: backing
editable: false
save value: false
extra card style:
frame:
left: 0
top: 0
width: 375
height: 523
z index: 1
z index: 200
render style: image
image: { if is_rare() then "frame2.png" else "frame.png" }
image: frame.png
mask: frame_mask.png
backdrop:
left: 0
top: 0
width: 375
height: 523
z index: 2
z index: 190
render style: image
image: { set_alpha("backdrop.png", alpha: frame_alpha()) }
card code:
left: 24
top: 488
width: 120
height: 10
z index: 2
font:
name: Relay-Medium
size: 7
color: white
weight: bold
artist arrow:
left: { 28 + card_style.set_code.content_width }
top: 500
width: 12
height: 7
z index: 2
render style: image
image: artist_arrow.png
pt box:
left: 273
top: 466
width: 81
height: 42
z index: 2
z index: 840
visible: { card.pt != "" }
render style: image
image: pt.png
image: /magic-modules.mse-include/pts/375 m15/cpt.png
foil layer:
left: 0
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" }
stamp backing:
left: 165
top: 475
width: 46
height: 26
z index: 850
visible: { card.card_stamp != "none" }
render style: image
image: { "/magic-modules.mse-include/stamps/backs/" + (if stamp_shape(field:1) == "triangle" then "triangle_stamp.png" else "stamp.png") }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB