[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

@@ -7,7 +7,7 @@ icon: card-sample.png
installer group: magic/silvercut/AgClassic/Normal Snow
position hint: 380
version: 2016-01-17
version: 2024-05-30
depends on:
package: magic.mse-game
version: 2008-06-02
@@ -26,6 +26,9 @@ depends on:
depends on:
package: magic-mana-agshadow.mse-symbol-font
version: 2015-12-28
depends on:
package: magic-modules.mse-include
version: 2024-05-20
card width: 374
card height: 522
@@ -47,8 +50,6 @@ init script:
if styling.invert_snow_symbol then "new"
else "old"
}
## Use guild mana symbols?
#guild_mana := { styling.use_guild_mana_symbols }
# Both snow cards and white cards use a black font
font_colors_white := { input != "c" and input != "w" }
@@ -156,6 +157,17 @@ init script:
else base
}
card_symbol_image := {
map := face_coordinates_map(face)
shape := card_symbol_field(face)
if shape == "none" or map.width == 0 or map.height == 0
then ""
else if shape == "tombstone"
then "tombstone.png"
else "/magic-modules.mse-include/card-symbols/" + shape + ".png"
}
card_symbol_left := { 16 }
card_symbol_offset_top_1 := { -9 }
############################################################## Set info fields
set info style:
symbol:
@@ -176,16 +188,6 @@ set info style:
border color 1: rgb(255,255,255)
border color 2: rgb(255,255,255)
############################################################## Extra style options
styling field:
type: boolean
name: use color indicator
description: Use color indicator symbol on typeline? Default: No
initial: no
#styling field:
# type: boolean
# name: use guild mana symbols
# description: Use the Ravnica guild symbols instead of the official half/half circles for hybrid mana.
# initial: no
styling field:
type: package choice
name: mana cost mana symbols
@@ -269,10 +271,6 @@ styling field:
choice: MPlantin
choice: MPlantin-Bold
styling style:
#use guild mana symbols:
# choice images:
# yes: /magic-mana-small.mse-symbol-font/mana_guild_rg.png
# no: /magic-mana-agflat.mse-symbol-font/mana_rg.png
multicolor pinstripe colored:
render style: both
choice images:
@@ -320,6 +318,8 @@ styling style:
no: { symbol_variation(symbol: set.symbol, variation: "common") }
yes: { symbol_variation(symbol: set.symbol, variation: "rare") }
############################################################## Card fields
include file: /magic-modules.mse-include/card-symbols/card_fields
include file: /magic-modules.mse-include/information/the_list_old
card style:
############################# Background stuff
border color:
@@ -371,15 +371,6 @@ card style:
always symbol: true
z index: 2
padding top: 0
card symbol:
left: 20
top : 20
height: 20
width: 14
z index: 1
render style: image
choice images:
tombstone: /magic-agclassic.mse-style/tombstone.png
############################# Image
image:
left: 40
@@ -395,7 +386,7 @@ card style:
height: 15
z index: 2
render style: image
visible: { styling.use_color_indicator == "yes" }
visible: { has_identity() }
image: { card_indicator() }
type:
left: 36
@@ -421,30 +412,7 @@ card style:
z index: 2
alignment: middle right
render style: image
choice images:
# Images based on the set symbol
basic land: script: symbol_variation(symbol: set.symbol, variation: "common")
common: script: symbol_variation(symbol: set.symbol, variation: "common")
uncommon:
script:
if styling.colored_rarities
then symbol_variation(symbol: set.symbol, variation: "olduncommon")
else symbol_variation(symbol: set.symbol, variation: "common")
rare:
script:
if styling.colored_rarities
then symbol_variation(symbol: set.symbol, variation: "oldrare")
else symbol_variation(symbol: set.symbol, variation: "common")
mythic rare:
script:
if styling.colored_rarities
then symbol_variation(symbol: set.symbol, variation: "mythic rare")
else symbol_variation(symbol: set.symbol, variation: "common")
special:
script:
if styling.colored_rarities
then symbol_variation(symbol: set.symbol, variation: "special")
else symbol_variation(symbol: set.symbol, variation: "common")
include file: /magic-modules.mse-include/rarities/choice_images_old
############################# Text box
text:
left: 38
@@ -541,7 +509,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"}
## custom watermark files

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB