[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.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

View File

@@ -6,13 +6,13 @@ installer group: magic/Future/Clear
icon: card-sample.png
position hint: 074
version: 2018-02-08
version: 2024-06-06
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
@@ -45,6 +45,8 @@ init script:
card_shape := { if styling.shifted_sorting then "shifted" else "normal" }
is_unsorted := {styling.remove_from_autocount}
card_stamp_offset_top_1 := {2}
watermark_include := "/magic-modules.mse-include/watermarks"
############################################################## Set info fields
set info style:
symbol:
@@ -70,10 +72,7 @@ styling field:
name: shifted sorting
description: Should this style of card sort as a shifted card (after other cards of that color)?
initial: no
styling field:
type: boolean
name: use holofoil stamps
description: Change to no to disable rare holofoil stamps
include file: /magic-modules.mse-include/rarities/styling_fields
styling field:
type: boolean
name: remove from autocount
@@ -143,6 +142,11 @@ 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/separators/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
card style:
############################# Background stuff
border color:
@@ -150,14 +154,13 @@ card style:
top : 0
width: 375
height: 523
radius: 18
left width: 17
right width: 17
top width: 17
bottom width: 18
mask: { if card.pt != "" then "pt_bordermask.png" else "bordermask.png" }
visible: {styling.border_visible}
z index: 3
z index: 500
############################# Name line
name:
left: { if card.card_symbol=="none" then 73 else 88 }
@@ -166,7 +169,7 @@ card style:
height: 26
alignment: middle shrink-overflow
padding bottom: 0
z index: 3
z index: 900
font:
name: { if styling.beleren then "Beleren" else "Matrix" }
size: { if styling.beleren then "16" else "18" }
@@ -184,24 +187,24 @@ card style:
scale down to: 22
alignment: bottom right
always symbol: true
z index: 2
z index: 920
padding top: 0
mask: costmask.png
card symbol:
left: {if card.card_symbol=="none" then 50 else 67}
left: {if card.card_symbol=="none" then 50 else 63}
top : 31
height: 20
width: 14
z index: 3
height: 21
width: 23
z index: 820
render style: image
choice images:
tombstone: tombstone.png
include file: /magic.mse-game/card-symbols/menu_choice_images
image: { card_symbol_image(face: 1) }
type symbol:
left: 23
top: 22
width: 21
height: 20
z index: 2
z index: 820
render style: image
choice images:
artifact: { if styling.original_symbols then "/magic-future-common.mse-include/artifact_black.png" }
@@ -227,7 +230,7 @@ card style:
width: { 300 - max(21,card_style.rarity.content_width) }
height: 20
alignment: middle shrink-overflow
z index: 2
z index: 900
padding top: 2
font:
name: { if styling.beleren then "Beleren" else "Matrix" }
@@ -239,24 +242,10 @@ card style:
top : 300
width: 22
height: 22
z index: 2
z index: 950
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")
masterpiece: script: symbol_variation(symbol: set.masterpiece_symbol, variation: "mythic rare")
include file: /magic-modules.mse-include/rarities/choice_images
############################# Text box
text:
left: 36
@@ -281,7 +270,7 @@ card style:
styling.center_text == "always"
then "middle center"
else "middle left"
z index: 3
z index: 900
padding left: 6
padding top: 2
padding right: 4
@@ -289,18 +278,9 @@ card style:
line height hard: 1.2
line height soft: 0.9
line height line: 1.5
watermark:
left: 127
top : 319
width: 132
height: 152
z index: 2
render style: image
alignment: middle center
include file: /magic-watermarks.mse-include/watermarks
############################# PT
pt:
z index: 5
z index: 900
left: 287
top: 469
width: 60
@@ -312,41 +292,6 @@ card style:
weight: bold
color: black
separator color: rgb(200,0,0)
############################# Card sorting / numbering
set code:
left: 24
top: 498
width: 40
height: 10
z index: 4
font:
name: Relay-Medium
size: 7
color: { if styling.border_visible then "white" else "black" }
weight: bold
############################# Copyright stuff
illustrator:
left: { 44 + card_style.set_code.content_width }
top : 497.5
width: 200
height: 10
z index: 4
font:
name: Beleren Small Caps Bold
size: 7.5
color: { if styling.border_visible then "white" else "black" }
copyright:
right: 350
top : { if card.pt != "" then 504 else 488 }
width: 140
height: 10
visible: {not set.automatic_copyright}
alignment: bottom right
z index: 4
font:
name: Matrix
size: 7
color: { if styling.border_visible then "white" else "black" }
############################################################## Extra card fields
extra card field:
type: choice
@@ -360,27 +305,6 @@ extra card field:
choice: foil
save value: false
editable: false
extra card field:
type: choice
name: paintbrush
script: "black"
editable: false
save value: false
extra card field:
type: choice
name: artist arrow
choice: artist arrow
editable: false
save value: false
extra card field:
type: text
name: card code
save value: false
script:
if set.automatic_card_numbers and not styling.remove_from_autocount 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)
extra card field:
type: choice
name: future node
@@ -399,12 +323,6 @@ extra card field:
choice: aetherprint
choice: none
description: The card type symbol for this card
extra card field:
type: choice
name: foil stamp
choice: stamp
save value: false
editable: false
extra card field:
type: choice
name: stamp
@@ -412,24 +330,13 @@ extra card field:
save value: false
editable: false
extra card field:
type: text
name: auto copyright
script: set.copyright
save value: false
type: choice
name: flavor bar
choice: bar
editable: false
save value: false
show statistics: false
extra card style:
card code:
left: 24
top: 488
width: 120
height: 10
z index: 4
font:
name: Relay-Medium
size: 7
color: { if styling.border_visible then "white" else "black" }
weight: bold
frame:
left: 0
top: 0
@@ -446,7 +353,7 @@ extra card style:
top : 0
width: 375
height: 523
z index: 4
z index: 1050
render style: image
image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"}
future node:
@@ -454,7 +361,7 @@ extra card style:
top: { if styling.original_symbols then 0 else 17 }
width: { if styling.original_symbols then 0 else 30 }
height: { if styling.original_symbols then 0 else 30 }
z index: 4
z index: 830
render style: image
choice images:
artifact: artifact.png
@@ -468,42 +375,11 @@ extra card style:
planeswalker: planeswalker.png
aetherprint: aetherprint.png
stamp:
left: 170
top: 472
width: 36.5
height: 22.5
z index: 3
visible: { is_rare() and styling.use_holofoil_stamps}
left: 165
top: 474
width: 46
height: 26
visible: {card.card_stamp != "none"}
render style: image
mask: futurestampmask.png
image: cstamp.jpg
foil stamp:
left: 170
top: 475
width: 36.5
height: 22.5
z index: 4
visible: { is_rare() and styling.use_holofoil_stamps }
render style: image
image: foil_stamp.png
artist arrow:
left: { 28 + card_style.set_code.content_width }
top : 500
width: 12
height: 7
z index: 4
render style: image
image: artist_arrow.png
auto copyright:
right: 350
top: { if card.pt != "" then 504 else 488 }
width: 140
height: 10
z index: 4
alignment: middle right shrink-overflow
visible: {set.automatic_copyright}
font:
name: Matrix
size: 7
color: white
weight: bold
z index: 850
image: { "/magic-modules.mse-include/stamps/backs/" + (if stamp_shape() == "triangle" then "triangle_" else "") + "stamp.png" }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 582 B