[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 @@ icon: card-sample.png
installer group: magic/m15 style/Emblems
position hint: 090
version: 2018-02-22
version: 2024-05-30
depends on:
package: magic.mse-game
version: 2014-06-25
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-small.mse-symbol-font
version: 2007-09-23
@@ -34,7 +34,7 @@ init script:
guild_mana := { styling.use_guild_mana_symbols }
card_shape := { "token" }
watermark_include := "/magic-modules.mse-include/watermarks"
############################################################## Set info fields
set info style:
symbol:
@@ -101,6 +101,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/information/card_fields
card style:
############################# Background stuff
###################C######### Name line
@@ -167,50 +169,16 @@ card style:
line height line: 1.5
line height soft: 0.9
watermark:
left: 142
top: 600
width: 85
height: 104
left: 21
top: 331
width: 331
height: 150
z index: 1
render style: image
alignment: middle center
popup style: in place
include file: /magic-watermarks.mse-include/watermarks
############################# 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
include file: /magic.mse-game/watermarks/menu_choice_images
image: { watermark_image_1() }
############################################################## Extra card fields
extra card field:
type: choice
@@ -218,21 +186,6 @@ extra card field:
script: card.card_color
editable: false
save value: false
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)
extra card field:
type: choice
name: artist arrow
editable: false
save value: false
choice: white
extra card field:
type: choice
name: foil layer
@@ -240,26 +193,6 @@ extra card field:
save value: false
editable: false
extra card style:
card code:
left: 24
top: 488
width: 120
height: 10
z index: 1
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: 1
z index: 1
render style: image
image: artist_arrow.png
frame:
left: 0
top: 0
@@ -274,6 +207,6 @@ 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"}