Update Alternate Rarity Color script (#24)
Added Alt Rarity to: - Adventures - Aftermath - Mainframe - M15 Future - Mainframe Planeswalkers - Mainframe DFCs - Paradox - Sagas - Mainframe Splits Added custom fonts to - Adventures - Mainframe - Mainframe Tokens Added Print Fix to - Adventures - Mainframe DFC - Mainframe Planeswalkers - Mainframe Tokens - Paradox - Sagas Close #19
This commit is contained in:
@@ -6,7 +6,7 @@ icon: card-sample.png
|
||||
installer group: magic/m15 style/split cards/fuse
|
||||
position hint: 011
|
||||
|
||||
version: 2018-06-01
|
||||
version: 2024-01-05
|
||||
depends on:
|
||||
package: magic.mse-game
|
||||
version: 2014-06-25
|
||||
@@ -71,6 +71,9 @@ init script:
|
||||
use_main_rarity := { contains(set.mainframe_rarity_name, match: ".png")}
|
||||
un_png := replace@(match:".png", replace: "")
|
||||
|
||||
# alternate rarity color
|
||||
alt_rarity := {styling.alt_rarity_color}
|
||||
|
||||
############################################################## Set info fields
|
||||
set info style:
|
||||
symbol:
|
||||
@@ -143,6 +146,10 @@ styling field:
|
||||
name: holofoil stamps
|
||||
description: Should rares have holofoil stamps?
|
||||
initial: yes
|
||||
styling field:
|
||||
type: text
|
||||
name: alt rarity color
|
||||
description: Use a custom color for the rarity symbol. Formatted as "R1,G1,B1:R2,G2,B2:...:X:" 1 and 2 are fill color, 3 and 4 border color, X is border thickness. For example, rare is 214,196,94:95,84,40:0,0,0:0,0,0:0.07
|
||||
styling field:
|
||||
type: boolean
|
||||
name: promo
|
||||
@@ -325,7 +332,7 @@ card style:
|
||||
type:
|
||||
left: { if has_identity() then "50" else "30" }
|
||||
top: 185
|
||||
width: { (if has_identity() then "290" else "310") - max(22,card_style.rarity.content_width) }
|
||||
width: { (if has_identity() then "290" else "310") - rare_width() }
|
||||
height: 20
|
||||
alignment: top shrink-overflow
|
||||
z index: 1
|
||||
@@ -362,28 +369,34 @@ card style:
|
||||
basic land:
|
||||
script:
|
||||
if use_main_rarity() then "/magic-mainframe-extras.mse-include/" + un_png(set.mainframe_rarity_name) + "c.png"
|
||||
else if use_alt_rarity() then alt_symbol()
|
||||
else if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon")
|
||||
else symbol_variation(symbol: set.symbol, variation: "common")
|
||||
common:
|
||||
script:
|
||||
if use_main_rarity() then "/magic-mainframe-extras.mse-include/" + un_png(set.mainframe_rarity_name) + "c.png"
|
||||
else if use_alt_rarity() then alt_symbol()
|
||||
else if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon")
|
||||
else symbol_variation(symbol: set.symbol, variation: "common")
|
||||
uncommon:
|
||||
script:
|
||||
if use_main_rarity() then "/magic-mainframe-extras.mse-include/" + un_png(set.mainframe_rarity_name) + "u.png"
|
||||
else if use_alt_rarity() then alt_symbol()
|
||||
else symbol_variation(symbol: set.symbol, variation: "uncommon")
|
||||
rare:
|
||||
script:
|
||||
if use_main_rarity() then "/magic-mainframe-extras.mse-include/" + un_png(set.mainframe_rarity_name) + "r.png"
|
||||
else if use_alt_rarity() then alt_symbol()
|
||||
else symbol_variation(symbol: set.symbol, variation: "rare")
|
||||
mythic rare:
|
||||
script:
|
||||
if use_main_rarity() then "/magic-mainframe-extras.mse-include/" + un_png(set.mainframe_rarity_name) + "m.png"
|
||||
else if use_alt_rarity() then alt_symbol()
|
||||
else symbol_variation(symbol: set.symbol, variation: "mythic rare")
|
||||
special:
|
||||
script:
|
||||
if use_main_rarity() then "/magic-mainframe-extras.mse-include/" + un_png(set.mainframe_rarity_name) + "s.png"
|
||||
else if use_alt_rarity() then alt_symbol()
|
||||
else symbol_variation(symbol: set.symbol, variation: "special")
|
||||
masterpiece:
|
||||
script:
|
||||
|
||||
Reference in New Issue
Block a user