October update

This commit is contained in:
CajunAvenger
2021-10-07 00:35:28 -05:00
parent 3498609de7
commit 3c0b4a4d86
513 changed files with 5489 additions and 247 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

@@ -0,0 +1,35 @@
mse version: 0.3.9
version: 2020-02-07
# Symbol font in the 'deckbox' style, used for commander decks
short name: deckbox style
installer group: magic/Mana symbols/popup style
position hint: 020
icon: rmana.png
image font size: 135
horizontal space: 2
symbol:
code: W
image: wmana.png
symbol:
code: U
image: umana.png
symbol:
code: B
image: bmana.png
symbol:
code: R
image: rmana.png
symbol:
code: G
image: gmana.png
##############################################################
# Insert-symbol menu
insert symbol menu:
item: W
item: U
item: B
item: R
item: G

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 982 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 710 KiB

View File

@@ -0,0 +1,214 @@
mse version: 2.0.0
game: magic
short name: Deck Box
full name: Commander Deck
installer group: magic/symbol display style
icon: card-sample.png
position hint: 999
version: 2021-09-06
depends on:
package: magic.mse-game
version: 2008-06-02
card background: white
card width: 774
card height: 1060
card dpi: 150
### Images from Chillbrain
############################################################## Extra scripts
init script:
is_unsorted := {true}
mana_t := {"new"}
guild_mana := {"false"}
############################################################## Set info fields
set info style:
symbol:
variation:
name: invertedcommon
border radius: 0.10
fill type: solid
fill color: rgb(255,255,255)
border color: rgb(0,0,0)
############################################################## Extra style options
styling field:
type: color
name: box color
choice:
name: red
color: rgb(230, 0, 0)
choice:
name: green
color: rgb(0, 230, 0)
choice:
name: blue
color: rgb(0, 0, 230)
description: The color of the deckbox.
styling field:
type: color
name: name color
choice:
name: gold
color: rgb(200,180,0)
choice:
name: silver
color: rgb(200,200,200)
choice:
name: white
color: rgb(0, 0, 0)
choice:
name: black
color: rgb(255, 255, 255)
description: The color of the background.
styling field:
type: boolean
name: legendary foils
description: Include the legendary foils stamp
############################################################## Card fields
card style:
name:
top: 965
left: 40
width: 680
height: 60
z index: 3
alignment: top center shrink-overflow
font:
name: Beleren Small Caps Bold
size: 35
color: {styling.name_color}
casting cost:
top: 840
left: 155
width: 450
height: 80
z index: 3
alignment: top center
font:
name: MPlantin
size: 15
symbol font:
name: magic-deckbox-symbols
size: 66
alignment: middle right
always symbol: true
image:
left: 199
top : 275
width: 375
height: 523
z index: 0
mask: corners.png
extra card field:
type: choice
name: box
choice: box
save value: false
editable: false
extra card field:
type: color
name: back color
choice:
name: white
color: rgb(0, 0, 0)
choice:
name: black
color: rgb(255, 255, 255)
choice:
name: gray
color: rgb(48, 48, 48)
choice:
name: grey
color: rgb(148, 148, 148)
default: "gray"
editable: true
save value: true
description: The border of the card can be any solid color.
extra card field:
type: choice
name: magic logo
choice: light
choice: dark
choice: blue
choice: yellow
choice: none
extra card field:
type: text
name: format
save value: true
editable: true
extra card field:
type: text
name: foil number
save value: true
editable: true
extra card field:
type: choice
name: foil stamp
save value: false
editable: false
choice: stamp
extra card style:
box:
left: 0
top: 0
width: 774
height: 1060
render style: image
image: {recolor_image("red_test.png", color: styling.box_color)}
z index: 2
magic logo:
left: 145
top: 47
width: 460
height: 156
z index: 3
render style: image
popup style: in place
choice images:
light: magic_light.png
dark: magic_dark.png
blue: magic_blue.png
yellow: magic_yellow.png
format:
top: 883
left: 155
width: 450
height: 80
z index: 3
alignment: top center
font:
name: Beleren Small Caps Bold
size: 60
color: rgb(211, 218, 225)
foil stamp:
top: 800
left: 50
width: 116
height: 105
render style: image
z index: 3
image: legendary_foils.png
visible: {styling.legendary_foils}
foil number:
top: 831
left: 88
width: 38
height: 43
z index: 4
visible: {styling.legendary_foils}
alignment: middle center
font:
name: Beleren Bold
size: 35
color: rgb(172, 130, 58)
back color:
left: 160
top: 225
width: 470
height: 630
z index: -1

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 768 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 768 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 768 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 389 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 389 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

View File

@@ -39,31 +39,31 @@ card dpi: 150
##### Ancestral generic mana by ancestral
##### Nyx crowns by Angelus
##### Companion crowns, nyx extensions, DOM FNM frame, THB fullart lands, snow frames by silverback_ape
##### PUMA by kebelqwa and cajun
##### Updated PUMA by Cardists
##### Inverted by VerumCH
############################################################## Extra scripts
init script:
# Load scripts for image box
include file: /magic-default-image.mse-include/scripts
include file: /magic-pride.mse-include/scripts
# Should hybrids have a grey name?
mask_hybrid_with_land := { styling.hybrid_name == "grey" }
mask_hybrid_with_gold := { styling.hybrid_name == "gold" }
#Should multicolor lands with basic land types have a colored name?
mask_multi_land_with_color := { styling.colored_multicolor_land_name }
base_template_prefix := [card: "" alias: "alias/" snow:"snow/" snowtexture:"snow/" devoid:"devoid/" nyx: "nyx/" miracle: "miracles/" node:"nodes/" promo: "promo/" crown: "legend/" cons:"conspiracy/" curtain: "curtains/" fnm: "fnm/", fnmpt: "paradox/", map: "maps/" energy: "energies/", mappt: "maps/" pt: "", slide: "masks/", slide2: "masks/", slide3: "masks/", arrow: "arrows/", arrow2: "arrows/", arrow3: "arrows/", season: "season/" stamp: "" identity: "/magic-identity-new.mse-include/"]
shifted_template_prefix := [card: "shifted/" alias: "shifted/" snow:"snow/" snowtexture:"snow/" devoid:"devoid/" nyx: "nyx/" miracle: "shifted/" node:"shifted/" promo: "promo/" crown: "shifted/" cons:"conspiracy/" curtain: "curtains/" fnm:"fnm/", fnmpt: "paradox/", map: "maps/" energy: "energies/", mappt: "maps/" pt: "shifted/", slide: "shifted/", slide2: "shifted/", slide3: "shifted/", arrow: "arrows/", arrow2: "arrows/", arrow3: "arrows/", season: "season/" stamp: "shifted/" identity: "/magic-identity-new.mse-include/"]
base_template_prefix := [card: "" alias: "alias/" snow:"snow/" snowtexture:"snow/" devoid:"devoid/" nyx: "nyx/" miracle: "miracles/" node:"nodes/" promo: "promo/" crown: "legend/" cons:"conspiracy/" curtain: "curtains/" fnm: "fnm/", fnmpt: "paradox/", inverted: "inverted/", invertedpt: "inverted/", map: "maps/" energy: "energies/", mappt: "maps/" pt: "", slide: "masks/", slide2: "masks/", arrow: "arrows/", arrow2: "arrows/", arrow3: "arrows/", season: "season/" stamp: "" identity: "/magic-identity-new.mse-include/", puma: "puma/"]
shifted_template_prefix := [card: "shifted/" alias: "shifted/" snow:"snow/" snowtexture:"snow/" devoid:"devoid/" nyx: "nyx/" miracle: "shifted/" node:"shifted/" promo: "promo/" crown: "shifted/" cons:"conspiracy/" curtain: "curtains/" fnm:"fnm/", fnmpt: "paradox/", inverted: "inverted/", invertedpt: "inverted/", map: "maps/" energy: "energies/", mappt: "maps/" pt: "shifted/", slide: "shifted/", slide2: "shifted/", arrow: "arrows/", arrow2: "arrows/", arrow3: "arrows/", season: "season/" stamp: "shifted/" identity: "/magic-identity-new.mse-include/", puma: "puma/shifted/"]
template_prefix := { if type == "miracle" and pure_snow() then [miracle:"snow/"] else if is_shifted() then shifted_template_prefix else base_template_prefix }
template_suffix := [card: "card.jpg" node:"node.png" alias:"alias.png" devoid:"card.png" snow:"card.jpg" snowtexture:"snow.png" nyx: "nyx.png" miracle: "miracle.png" promo: "card.jpg" crown: "crown.png" cons:"cons.png" curtain: "card.png" fnm:"card.png", fnmpt: "pt.png", map: "card.png", energy: "card.png", mappt: "pt.png" pt: "pt.png", slide: "slide.png", slide2: "slide2.png", slide3: "slide3.png", stamp: "stamp.jpg", arrow: "arrow.png", arrow2: "arrow2.png", arrow3: "arrow3.png", season: "flag.png" identity: "identity.png"]
template_suffix := [card: "card.jpg" node:"node.png" alias:"alias.png" devoid:"card.png" snow:"card.jpg" snowtexture:"snow.png" nyx: "nyx.png" miracle: "miracle.png" promo: "card.jpg" crown: "crown.png" cons:"cons.png" curtain: "card.png" fnm:"card.png", fnmpt: "pt.png", inverted: "card.png", invertedpt: "pt.png", map: "card.png", energy: "card.png", mappt: "pt.png" pt: "pt.png", slide: "slide.png", slide2: "slide2.png", stamp: "stamp.jpg", arrow: "arrow.png", arrow2: "arrow2.png", arrow3: "arrow3.png", season: "flag.png" identity: "identity.png", puma: "puma.png"]
template := { crown_lead(type) + template_prefix()[type] + input + crown_follow(type) + template_suffix[type] }
land_template := { crown_lead(type) + template_prefix()[type] + (if input == "a" then "c" else input) + (if landless(type) then "" else "l") + crown_follow(type) + template_suffix[type] }
# Use land templates for previews because they show more contrast
hybrid_previews := "land,hybrid"
landless := {if input == "nyx" or input == "node" or input == "miracle" or input == "alias" or input == "devoid" or input == "energy" or input == "season" or input == "cons" or input == "arrow" or input == "crown" or input == "nyxcrown" then true else false}
crown_lead := {
if input != "crown" then ""
else if (styling.legend_crown == "custom" and styling.custom_crown_location != "")
@@ -84,13 +84,16 @@ init script:
devoid_background := { color_background(type:"devoid", base_hybrid:card_hybrid) }
snow_background := { color_background(type:"snow", base_hybrid:card_hybrid) }
snow_texture := { color_background(type:"snowtexture", base_hybrid:card_hybrid) }
puma_bar := { color_background(type:"puma", base_hybrid:card_hybrid) }
fnm_background := { color_background(type:"fnm", base_hybrid:card_hybrid) }
inverted_background := { color_background(type:"inverted", base_hybrid:card_hybrid) }
alias_bar := { color_background(type:"alias", base_hybrid:card_hybrid) }
miracle_background := { color_background(type:"miracle", base_hybrid:card_hybrid) }
map_background := { color_background(type:"map", base_hybrid:card_hybrid) }
energy_background := { color_background(type:"energy", base_hybrid:card_hybrid) }
promo_background := { color_background(type:"promo", base_hybrid:card_hybrid) }
fnm_ptbox := { color_background(type:"fnmpt", base_hybrid:pt_hybrid) }
inverted_ptbox := { color_background(type:"invertedpt", base_hybrid:pt_hybrid) }
mappt_background := { color_background(type:"mappt", base_hybrid:pt_hybrid) }
arrow_background := { color_background(type:"arrow", base_hybrid:pt_hybrid) }
arrow_background_2 := { color_background(type:"arrow2", base_hybrid:pt_hybrid) }
@@ -125,16 +128,17 @@ init script:
is_unsorted := {styling.remove_from_autocount}
is_devoid := { chosen(styling.frames, choice: "devoid") and not is_map()}
is_clear := { (chosen(styling.frames, choice: "clear") or is_devoid()) and not is_map()}
is_puma := { not is_expanded_art() and not is_full_art() and chosen(styling.frames, choice: "puma") and not is_map()}
is_puma := { chosen(styling.frames, choice: "puma") and not is_map() and not is_clear() and not contains(styling.frames, match:"less art") and not is_full_art() }
is_mutate := { not is_expanded_art() and not is_full_art() and chosen(styling.frames, choice: "mutate") and not is_map()}
is_miracle := { chosen(styling.frames, choice: "miracle") and not is_map() and not is_expanded_art() and not is_cons() and not is_fnm()}
is_miracle := { chosen(styling.frames, choice: "miracle") and not is_map() and not is_expanded_art() and not is_cons() and not is_fnm() and not is_inverted()}
is_nyx := { chosen(styling.frames, choice: "nyx") and not is_map() }
is_vehicle := { (chosen(styling.frames, choice: "vehicle") or (chosen(styling.other_options, choice:"auto vehicles") and match_vehicle(card.sub_type))) and not is_map()}
is_snow := { (chosen(styling.frames, choice: "snow") or (chosen(styling.other_options, choice:"auto snow") and match_snow(card.super_type))) and not is_map()}
is_cons := { chosen(styling.frames, choice: "conspiracy") or chosen(styling.frames, choice: "draft matters") and not is_map()}
is_cons := { chosen(styling.frames, choice: "draft matters") or chosen(styling.frames, choice: "conspiracy") and not is_map() }
is_scrolls := { chosen(styling.frames, choice: "conspiracy") and not is_map()}
is_shifted := { chosen(styling.frames, choice: "planeshifted") and not is_map() and not is_full_art() and not is_fnm()}
is_fnm := {chosen(styling.frames, choice:"fnm promo") and not is_clear() and not is_full_art() and not is_map()}
is_inverted := {chosen(styling.frames, choice:"inverted") and not is_clear() and not is_full_art() and not is_fnm() and not is_map()}
is_map := { chosen(styling.frames, choice: "map") }
use_node := { chosen(styling.frames, choice: "lesson") }
is_season := { chosen(styling.frames, choice: "season") and not is_map() }
@@ -186,11 +190,30 @@ init script:
center_map := {is_map() and (card.casting_cost == "" or chosen(styling.other_options, choice:"always center map names"))}
use_evobar := {chosen(styling.other_options, choice:"pokemon evobar")}
alt_rarity := {styling.alt_rarity_color != ""}
alt_rarity_color := {
string := "83,67,53:177,150,131:0,0,0:0,0,0:0.07:"
if match(styling.alt_rarity_color, match:":$") then string := styling.alt_rarity_color
colons := length(filter_text(string, match:":"))
output := split_text(string, match:",|:")
splits := split_text(string, match:":")
if colons == 4
then output := split_text(string+"0.07:", match:",|:")
if colons == 3
then output := split_text(string+splits[2]+"0.07:", match:",|:")
else if colons == 2
then output := split_text(string+"0,0,0:0,0,0:0.07:", match:",|:")
else if colons == 1
then output := split_text(string+splits[0]+":0,0,0:0,0,0:0.07:", match:",|:")
output
}
alt_symbol := {symbol_variation(symbol:set.symbol, border_radius: alt_rarity_color().12, fill_type: "linear gradient", fill_color_1: rgb(alt_rarity_color().0, alt_rarity_color().1, alt_rarity_color().2), fill_color_2: rgb(alt_rarity_color().3, alt_rarity_color().4, alt_rarity_color().5), border_color_1: rgb(alt_rarity_color().6, alt_rarity_color().7, alt_rarity_color().8), border_color_2: rgb(alt_rarity_color().9, alt_rarity_color().10, alt_rarity_color().11), center_x:0.5, center_y:0.5, end_x:1, end_y:1)}
is_skinned := {chosen(styling.other_options, choice:"godzilla style alias")}
use_vorthos := {chosen(styling.other_options, choice:"vorthos box")}
clear_tops := {chosen(styling.other_options, choice:"clear tops")}
use_vorthos := {((not is_leveler() or lone_pt()) and card.pt != "") or chosen(styling.other_options, choice:"vorthos box")}
clear_tops := {chosen(styling.other_options, choice:"clear tops") and not is_puma()}
is_tarot := {chosen(styling.other_options, choice:"text watermarks")}
pure_snow := {is_snow() and not is_fnm() and not is_full_art() and not is_leveler() and not is_shifted()}
pure_snow := {is_snow() and not is_fnm() and not is_inverted() and not is_full_art() and not is_leveler() and not is_shifted()}
chop_top := {if styling.chop_top == "" then 0 else if comma_count(styling.chop_top) == "," or comma_count(styling.chop_top) == ",," then split_text(match:",", styling.chop_top).0 else styling.chop_top}
chop_bot := {if comma_count(styling.chop_top) == ",," then split_text(match:",", styling.chop_top).1 else if styling.chop_bottom == "" then 0 else styling.chop_bottom}
top_of_textbox := {(if is_map() then 340 else if is_full_art() then 359 else if is_mutate() then 395 else 327) - (-chop_top()) }
@@ -219,10 +242,10 @@ init script:
mask_height := {if input == "one" then lv_1_height() else if input == "two" then lv_2_height() else if input == "three" then lv_3_height() else if input == "four" then lv_4_height() else 0}
lone_pt := {chosen(styling.other_options, choice:"regular pt on levelers") and not starting_loyalty()}
starting_loyalty := {chosen(styling.other_options, choice:"use starting loyalty")}
choose_ptbox := {if is_fnm() then fnm_ptbox() else card_ptbox()}
lv_2_ptbox := { if is_vehicle() then "vpt.png" else if is_clear() then "cpt.png" else if is_fnm() then fnm_ptbox() else leveler_ptbox2() }
lv_3_ptbox := { if is_vehicle() then "vpt.png" else if is_clear() then "cpt.png" else if is_fnm() then fnm_ptbox() else leveler_ptbox3() }
lv_4_ptbox := { if is_vehicle() then "vpt.png" else if is_clear() then "cpt.png" else if is_fnm() then fnm_ptbox() else color_background(type:"pt", base_hybrid:leveler_pt_hybrid3) }
choose_ptbox := {if is_fnm() then fnm_ptbox() else if is_inverted() then inverted_ptbox() else card_ptbox()}
lv_2_ptbox := { if is_vehicle() then "vpt.png" else if is_clear() then "cpt.png" else if is_fnm() then fnm_ptbox() else if is_inverted() then inverted_ptbox() else leveler_ptbox2() }
lv_3_ptbox := { if is_vehicle() then "vpt.png" else if is_clear() then "cpt.png" else if is_fnm() then fnm_ptbox() else if is_inverted() then inverted_ptbox() else leveler_ptbox3() }
lv_4_ptbox := { if is_vehicle() then "vpt.png" else if is_clear() then "cpt.png" else if is_fnm() then fnm_ptbox() else if is_inverted() then inverted_ptbox() else color_background(type:"pt", base_hybrid:leveler_pt_hybrid3) }
arrow_left := {if box_leveler() then -3 else if loy_leveler() then 10 else 18}
arrow_width := {if box_leveler() then 84 else if loy_leveler() then 42 else 56}
arrow_height := {if aug_leveler(input) then 42 else if box_leveler() then 50 else if loy_leveler() then 40 else 40}
@@ -231,7 +254,7 @@ init script:
+ (if box_leveler() then -5 else 0)
+ (if aug_leveler(input) then 4 else 0)
}
custom_watermark_a := {if styling.card_watermark == "" or not contains(styling.card_watermark, match:".png") then "/magic-watermarks.mse-include/planeswalker.png" else "/magic-watermarks.mse-include/" + styling.card_watermark}
special_text := {if is_leveler() then ((if card.level_0 != "" then "[" + level_label(0) + " " + card.level_0 + "] " else "") + card.level_1_text + (if card.pt != "" then " [" + card.pt + "]" else "") + "\n"
+ (if card.level_1 != "" then "[" + level_label(1) + " " + card.level_1 + "] " else "") + card.level_2_text + (if card.pt_2 != "" then " [" + card.pt_2 + "]" else "") + "\n"
+ (if card.level_2 != "" then "[" + level_label(2) + " " + card.level_2 + "] " else "") + card.level_3_text + (if card.pt_3 != "" then " [" + card.pt_3 + "]" else "") + (if card.level_4_text != "" then "\n" else "")
@@ -240,6 +263,7 @@ init script:
card.level_1_text + "\n" + card.rule_text
else ""
}
shown_cr := {if set.automatic_copyright then set.copyright != "" else card.copyright != ""}
card_shape := {if is_leveler() then "leveler" else "normal"}
############################################################## Set info fields
set info style:
@@ -289,6 +313,7 @@ styling field:
choice: puma
choice: mutate
choice: fnm promo
choice: inverted
choice: planeshifted
choice: legend
choice: season
@@ -339,7 +364,7 @@ styling field:
choice: clear tops
choice: vorthos box
choice: pride pinlines
initial: auto nyx crowns, auto vehicles, auto snow, vorthos box
initial: auto nyx crowns, auto vehicles, auto snow
styling field:
type: text
name: font cap
@@ -386,6 +411,14 @@ styling field:
name: remove from autocount
description: Removes the automatic card number for specific cards, to allow for overcounted cards like in Planeswalker Decks.
initial: no
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:..." 1 and 2 are fill color, 3 and 4 border color
styling field:
type: text
name: card watermark
description: Filename in magic-watermarks to use for standalone card watermark
styling field:
type: choice
name: hybrid name
@@ -494,7 +527,7 @@ card style:
z index: 0
render style: image
popup style: in place
image: { if is_clear() or clear_tops() then "" else if is_fnm() then fnm_background() else if is_full_art() then promo_background() else if pure_snow() then snow_background() else card_background() }
image: { if is_clear() or clear_tops() then "" else if is_fnm() then fnm_background() else if is_inverted() then inverted_background() else if is_full_art() then promo_background() else if pure_snow() then snow_background() else card_background() }
############################# Name line
name:
left: { if center_map() then 55 else if is_map() then (if use_node() then 65 else 60) else if use_node() then 58 else if card.card_symbol=="none" then 32 else 50 }
@@ -507,11 +540,11 @@ card style:
font:
name: { if is_map() then "Beleren Small Caps" else "Beleren Bold" }
size: { (if is_map() then 14.8 else 16) - shrink_name() }
color: {if is_shifted() or is_fnm() then "white" else "black"}
color: {if is_shifted() or is_fnm() or is_inverted() then "white" else "black"}
shadow color: {if is_shifted() or is_fnm() then rgb(0,0,0) else rgba(0,0,0,0)}
shadow displacement x: -1
shadow displacement y: 1
alias:
alias:
left: {if is_skinned() then 45 else if is_map() then 15 else 33}
top: {if is_map() then 58 else 53}
width: {if is_skinned() then 285 else if use_evobar() then max(100, card_style.alias.content_width) else 0}
@@ -555,10 +588,10 @@ card style:
left: { if is_clear() or is_map() or is_expanded_art() or is_puma() then 0 else if is_full_art() then 23 else if clear_tops() then 15 else if is_mutate() then 22 else 29}
top: {if is_map() then 57 else if is_clear() or is_expanded_art() or clear_tops() then 0 else 59}
width: {if is_clear() or is_map() or is_expanded_art() or is_puma() then 375 else if is_full_art() then 328 else if clear_tops() then 345 else if is_mutate() then 330 else 316}
height: {if is_clear() or is_expanded_art() then 523 else if is_map() then 241 else if is_puma() then 265 else if is_full_art() then 423 else if clear_tops() then 291 else if is_mutate() then 334 else 231}
height: {if is_clear() or is_expanded_art() then 523 else if is_map() then 241 else if is_puma() then (if is_mutate() then 334 else 265) else if is_full_art() then 423 else if clear_tops() then 291 else if is_mutate() then 334 else 231}
z index: 1
default: {default_image(card.card_color)}
mask: { if is_devoid() then "image_mask_devoid.png" else if is_clear() then "image_mask.png" else if is_thbland() then "cornermask.png" else if is_puma() then "puma_mask.png" else if is_expanded_art() then expanded_mask() else if is_full_art() then "promo/image_mask" + (if is_rare() and styling.use_holofoil_stamps then "_rare") + ".png" else if is_mutate() and not clear_tops() then "mutate_mask.png" else ""}
mask: { if is_devoid() then "image_mask_devoid.png" else if is_clear() then "image_mask.png" else if is_thbland() then "cornermask.png" else if is_puma() then "puma_mask" + (if is_mutate() then "_mutate.png" else "3.png") else if is_expanded_art() then expanded_mask() else if is_full_art() then "promo/image_mask" + (if is_rare() and styling.use_holofoil_stamps then "_rare") + ".png" else if is_mutate() and not clear_tops() then "mutate_mask.png" else ""}
mainframe image:
left: {if comma_count(styling.popout_image_style) == ",,,," then split_text(match:",", styling.popout_image_style).0 else "0"}
top: {if comma_count(styling.popout_image_style) == ",,,," then split_text(match:",", styling.popout_image_style).1 else "0"}
@@ -586,7 +619,7 @@ card style:
font:
name: Beleren Bold
size: { (if is_map() then 12 else 13) - shrink_type() }
color: { if is_full_art() or is_puma() or is_shifted() or is_fnm() then "white" else "black"}
color: { if is_full_art() or is_puma() or is_shifted() or is_fnm() or is_inverted() then "white" else "black"}
shadow color: {if is_full_art() or is_puma() or is_shifted() or is_fnm() then "black" else rgba(0,0,0,0)}
shadow displacement x: -1
shadow displacement y: 1
@@ -604,28 +637,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 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 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 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 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 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 alt_rarity() then alt_symbol()
else symbol_variation(symbol: set.symbol, variation: "special")
masterpiece:
script:
@@ -642,7 +681,7 @@ card style:
italic name: MPlantin-Italic
size: {if styling.font_cap != "" then to_number(styling.font_cap) else (if is_mutate() then 12 else 14)}
scale down to: 6
color: { if is_full_art() or is_fnm() then "white" else "black"}
color: { if is_full_art() or is_fnm() or is_inverted() then "white" else "black"}
shadow color: {if is_full_art() or is_fnm() then "black" else rgba(0,0,0,0)}
shadow displacement x: -1
shadow displacement y: 1
@@ -678,7 +717,7 @@ card style:
italic name: MPlantin-Italic
size: {if styling.font_cap != "" then to_number(styling.font_cap) else 14}
scale down to: 6
color: { if is_full_art() or is_fnm() then "white" else "black"}
color: { if is_full_art() or is_fnm() or is_inverted() then "white" else "black"}
shadow color: {if is_full_art() or is_fnm() then "black" else rgba(0,0,0,0)}
shadow displacement x: -1
shadow displacement y: 1
@@ -713,7 +752,7 @@ card style:
italic name: MPlantin-Italic
size: {if styling.font_cap != "" then to_number(styling.font_cap) else 14}
scale down to: 6
color: { if is_full_art() or is_fnm() then "white" else "black"}
color: { if is_full_art() or is_fnm() or is_inverted() then "white" else "black"}
shadow color: {if is_full_art() or is_fnm() then "black" else rgba(0,0,0,0)}
shadow displacement x: -1
shadow displacement y: 1
@@ -748,7 +787,7 @@ card style:
italic name: MPlantin-Italic
size: {if styling.font_cap != "" then to_number(styling.font_cap) else 14}
scale down to: 6
color: { if is_full_art() or is_fnm() then "white" else "black"}
color: { if is_full_art() or is_fnm() or is_inverted() then "white" else "black"}
shadow color: {if is_full_art() or is_fnm() then "black" else rgba(0,0,0,0)}
shadow displacement x: -1
shadow displacement y: 1
@@ -898,7 +937,7 @@ card style:
font:
name: Beleren Bold
size: {if is_map() then 14 else 16}
color: {if is_shifted() or is_fnm() then "white" else if is_vehicle() and (not is_legend() or chosen(styling.other_options, choice:"brown legendary vehicle pt")) then "white" else "black"}
color: {if is_shifted() or is_fnm() or is_inverted() then "white" else if is_vehicle() and (not is_legend() or chosen(styling.other_options, choice:"brown legendary vehicle pt")) then "white" else "black"}
separator color: red
shadow color: {if is_shifted() or is_fnm() then rgb(0,0,0) else rgba(0,0,0,0)}
shadow displacement x: -1
@@ -914,7 +953,7 @@ card style:
font:
name: Beleren Bold
size: {if is_map() then 14 else 16}
color: {if is_shifted() or is_fnm() then "white" else if is_vehicle() and (not is_legend() or chosen(styling.other_options, choice:"brown legendary vehicle pt")) then "white" else "black"}
color: {if is_shifted() or is_fnm() or is_inverted() then "white" else if is_vehicle() and (not is_legend() or chosen(styling.other_options, choice:"brown legendary vehicle pt")) then "white" else "black"}
separator color: red
shadow color: {if is_shifted() or is_fnm() then rgb(0,0,0) else rgba(0,0,0,0)}
shadow displacement x: -1
@@ -929,7 +968,7 @@ card style:
font:
name: Beleren Bold
size: {if is_map() then 14 else 16}
color: {if is_shifted() or is_fnm() then "white" else if is_vehicle() and (not is_legend() or chosen(styling.other_options, choice:"brown legendary vehicle pt")) then "white" else "black"}
color: {if is_shifted() or is_fnm() or is_inverted() then "white" else if is_vehicle() and (not is_legend() or chosen(styling.other_options, choice:"brown legendary vehicle pt")) then "white" else "black"}
separator color: red
shadow color: {if is_shifted() or is_fnm() then rgb(0,0,0) else rgba(0,0,0,0)}
shadow displacement x: -1
@@ -985,11 +1024,18 @@ card style:
color: white
copyright:
right: 350
top: { if is_leveler() and not lone_pt() then 488 else if (starting_loyalty() and card.loyalty != "") or (card.pt != "" and not starting_loyalty()) or (use_vorthos()) then 500 else 488 }
top:
{
if is_leveler() and not lone_pt()
then 488
else if (starting_loyalty() and card.loyalty != "") or (card.pt != "" and not starting_loyalty())
then 500
else 488
}
width: {if set.automatic_copyright then 0 else 140}
height: 10
z index: 4
alignment: middle right
alignment: middle right
font:
name: MPlantin
size: 6.5
@@ -1131,7 +1177,7 @@ extra card field:
extra card field:
type: choice
name: scrolls
choice: scroll
script: card.card_color
editable: false
save value: false
show statistics: false
@@ -1428,7 +1474,7 @@ extra card style:
visible: { is_rare() and styling.use_holofoil_stamps and (is_devoid() or not is_clear()) }
render style: image
image: { if is_map() then "maps/holo_stamp.png" else if is_devoid() then "devoid/stamp.png" else card_stamp() }
mask: { if is_borderless() then "med_full_stamp_mask.png" else "stamp_mask.png"}
mask: {"stamp_mask.png"}
foil stamp:
left: 165
top: 472
@@ -1449,7 +1495,14 @@ extra card style:
mask: { "foil_mask" + (if card.pt != "" then "_pt") + (if is_rare() and styling.use_holofoil_stamps then "_rare") + ".png" }
auto copyright:
right: 350
top: { if is_leveler() and not lone_pt() then 488 else if (starting_loyalty() and card.loyalty != "") or (card.pt != "" and not starting_loyalty()) or (use_vorthos()) then 500 else 488 }
top:
{
if is_leveler() and not lone_pt()
then 488
else if (starting_loyalty() and card.loyalty != "") or (card.pt != "" and not starting_loyalty())
then 500
else 488
}
width: {if set.automatic_copyright then 140 else 0}
height: 10
z index: 4
@@ -1479,7 +1532,7 @@ extra card style:
image: {if (is_clear() or clear_tops()) and not is_devoid() then "legend/xcrown.png" else if is_fnm() then set_mask(image:crown_background(), mask:"legend/fnm_mask.png") else crown_background()}
z index: 5
visible: {is_legend() and not is_map()}
mask: {if is_legend() and (is_curtains() or is_expanded_art() or is_puma() or is_devoid()) then "curtainmask.png" else if is_season() then "crown_season_mask.png" else ""}
mask: {if is_legend() and styling.legend_crown != "custom" and (is_curtains() or is_expanded_art() or is_puma() or is_devoid()) then "curtainmask.png" else if is_season() then "crown_season_mask.png" else ""}
curtain:
left: 0
top: 0
@@ -1496,9 +1549,10 @@ extra card style:
width: 375
height: 523
render style: image
image: {(if is_full_art() then "full_" else "") + "consscrolls.png"}
image: {if is_puma() then "puma.png" else (if is_full_art() then "full_" else "") + "consscrolls.png"}
mask: {if is_puma() then "puma_mask3.png" else ""}
z index: 1
visible: {is_scrolls()}
visible: {is_scrolls() or is_puma()}
miracle overlay:
left: 0
top: 0
@@ -1544,7 +1598,7 @@ extra card style:
z index: 1
render style: image
popup style: in place
image: { if not clear_tops() then "" else if is_fnm() then fnm_background() else if is_full_art() then promo_background() else card_background() }
image: { if not clear_tops() then "" else if is_fnm() then fnm_background() else if is_inverted() then inverted_background() else if is_full_art() then promo_background() else card_background() }
mask: {if clear_tops() then "clear_tops_mask.png" else ""}
map frame:
left: 0
@@ -1650,28 +1704,28 @@ extra card style:
top: { if is_d20() then top_of_para(rolls_start(card.text)) else 329 + lv_2_coordinate()}
height: { if is_d20() then height_of_para(rolls_start(card.text)) else lv_2_height()}
width: 314
z index: 0
z index: 1
render style: image
image: {overlay1()}
visible: {(is_d20() and number_of_rolls(card.text) > 0) or is_leveler() and not is_full_art() and not is_map() and not is_fnm()}
visible: {(is_d20() and number_of_rolls(card.text) > 0) or (is_leveler() and not is_full_art() and not is_map() and not is_fnm() and not is_inverted())}
level 3 overlay:
left: 29
top: { if is_d20() then top_of_para(rolls_start(card.text)+2) else 329 + lv_3_coordinate()}
height: { if is_d20() then height_of_para(rolls_start(card.text)+2) else lv_3_height()}
width: 314
z index: 0
z index: 1
render style: image
image: {overlay2()}
visible: {(is_d20() and number_of_rolls(card.text)-no_roll(card.text) > 2) or is_leveler() and not is_full_art() and not is_map() and not is_fnm()}
visible: {(is_d20() and number_of_rolls(card.text)-no_roll(card.text) > 2) or (is_leveler() and not is_full_art() and not is_map() and not is_fnm() and not is_inverted())}
level 4 overlay:
left: 29
top: { if is_d20() then top_of_para(rolls_start(card.text)+4) else 329 + lv_4_coordinate()}
height: { if is_d20() then height_of_para(rolls_start(card.text)+4) else lv_4_height()}
width: 314
z index: 0
z index: 1
render style: image
image: {overlay3()}
visible: {(is_d20() and number_of_rolls(card.text)-no_roll(card.text) > 4) or is_leveler() and not is_full_art() and not is_map() and not is_fnm()}
visible: {(is_d20() and number_of_rolls(card.text)-no_roll(card.text) > 4) or (is_leveler() and not is_full_art() and not is_map() and not is_fnm() and not is_inverted())}
arrow 1:
z index: 5
left: {arrow_left()}
@@ -1813,7 +1867,7 @@ extra card style:
image: {pin_image()}
vorthos box:
right: { if is_leveler() and not lone_pt() then 350 else if (starting_loyalty() and card.loyalty != "") then 300 else if (card.pt != "" and not starting_loyalty()) then 275 else 350 }
top: 488
top: {if card.pt == "" and shown_cr() then 500 else 488}
width: { if is_leveler() and not lone_pt() then 140 else if (starting_loyalty() and card.loyalty != "") then 90 else if (card.pt != "" and not starting_loyalty()) then 65 else 140 }
height: {if use_vorthos() then 10 else 0}
z index: 3

View File

@@ -43,7 +43,7 @@ init script:
# Should hybrids have a grey name?
mask_hybrid_with_land := { styling.grey_hybrid_name }
d20_filter := replace@(match:"^(|[Ee]lse ?|[Oo]ther ?|((</sym>)?[-0-9 ,+>\<](<sym>)?)+)[|]", replace:"<b>\\1</b>|")
text_filter := text_filter + d20_filter + {apply_margins(input, name:margin_code)} + {add_spacers(input, name:margin_code)}
text_filter := text_filter + d20_filter + {apply_margins(input, name:margin_code)} + {add_spacers(input, name:margin_code)} + {if is_modal(input) then bump_text(softline_ripper(input)) else input}
####### Create images
@@ -475,13 +475,16 @@ init script:
8: {[card_style.level_8_text.top, card_style.level_8_text.bottom-card_style.level_8_text.top]}
]
auto_snap := {
snap_array := split_text(replace(styling.snap_chapter_to_box, match:",[^,]+$", replace:","), match:",")
abil := to_number(pull_comma_array(styling.snap_chapter_to_box, cell:input-1, end:true)) ###textbox to snap to
if abil == 0 then 600 else snap_calc(input, snap_array:snap_array, abil:abil)
}
snap_calc := {
out := 0
snap_array := split_text(replace(line, match:",[^,]+$", replace:","), match:",")
abil := to_number(pull_comma_array(line, cell:input-1, end:true)) ###textbox to snap too
abil_array := saga_lore_count(snap_array) ###chapters in each box
ch_count := abil_array[abil-1] ###chapters in this box
self_index := saga_ch_placement(snap_array)[input-1] ###input's index
box_deets := coords_map[abil+bump]() ###[top, height]
box_deets := coords_map[abil]() ###[top, height]
remain := box_deets[1] - 30*ch_count ###remaining space after chapter hexes
excess := remain - 10*(ch_count-1) ###remaining after 10px gaps
if excess >= 0 then out := box_deets[0] + excess/2 + 40*(self_index-1) ###top + buffer*index + hex*index-1
@@ -499,12 +502,12 @@ init script:
out
}
chapter0 := { if styling.reminder_coordinate != "" then max(60,min(to_number(styling.reminder_coordinate),438)) else 155}
chapter1 := { if to_number(pull_comma_array(styling.snap_chapter_to_box, cell:0, end:true)) > 0 then auto_snap(1, line:styling.snap_chapter_to_box, bump:0) else to_number(pull_comma_array(styling.move_loyalty_costs, cell:0, end:true, default:(if two_boxes() then 183 else 185))) }
chapter2 := { if to_number(pull_comma_array(styling.snap_chapter_to_box, cell:1, end:true)) > 0 then auto_snap(2, line:styling.snap_chapter_to_box, bump:0) else to_number(pull_comma_array(styling.move_loyalty_costs, cell:1, end:true, default:(if two_boxes() then 223 else 279))) }
chapter3 := { if to_number(pull_comma_array(styling.snap_chapter_to_box, cell:2, end:true)) > 0 then auto_snap(3, line:styling.snap_chapter_to_box, bump:0) else to_number(pull_comma_array(styling.move_loyalty_costs, cell:2, end:true, default:(if two_boxes() then 329 else 373))) }
chapter4 := { if to_number(pull_comma_array(styling.snap_chapter_to_box, cell:3, end:true)) > 0 then auto_snap(4, line:styling.snap_chapter_to_box, bump:0) else to_number(pull_comma_array(styling.move_loyalty_costs, cell:3, end:true, default:600)) }
chapter5 := { if to_number(pull_comma_array(styling.snap_chapter_to_box, cell:4, end:true)) > 0 then auto_snap(5, line:styling.snap_chapter_to_box, bump:0) else to_number(pull_comma_array(styling.move_loyalty_costs, cell:4, end:true, default:600)) }
chapter6 := { if to_number(pull_comma_array(styling.snap_chapter_to_box, cell:5, end:true)) > 0 then auto_snap(6, line:styling.snap_chapter_to_box, bump:0) else to_number(pull_comma_array(styling.move_loyalty_costs, cell:5, end:true, default:600)) }
chapter1 := { if length(comma_count(styling.snap_chapter_to_box)) > 0 then auto_snap(1) else to_number(pull_comma_array(styling.move_loyalty_costs, cell:0, end:true, default:(if two_boxes() then 183 else 185))) }
chapter2 := { if length(comma_count(styling.snap_chapter_to_box)) > 1 then auto_snap(2) else to_number(pull_comma_array(styling.move_loyalty_costs, cell:1, end:true, default:(if two_boxes() then 223 else 279))) }
chapter3 := { if length(comma_count(styling.snap_chapter_to_box)) > 2 then auto_snap(3) else to_number(pull_comma_array(styling.move_loyalty_costs, cell:2, end:true, default:(if two_boxes() then 329 else 373))) }
chapter4 := { if length(comma_count(styling.snap_chapter_to_box)) > 3 then auto_snap(4) else to_number(pull_comma_array(styling.move_loyalty_costs, cell:3, end:true, default:600)) }
chapter5 := { if length(comma_count(styling.snap_chapter_to_box)) > 4 then auto_snap(5) else to_number(pull_comma_array(styling.move_loyalty_costs, cell:4, end:true, default:600)) }
chapter6 := { if length(comma_count(styling.snap_chapter_to_box)) > 5 then auto_snap(6) else to_number(pull_comma_array(styling.move_loyalty_costs, cell:5, end:true, default:600)) }
chapter1b := { if to_number(pull_comma_array(styling.snap_chapter_to_back_box, cell:0, end:true)) > 0 then auto_snap(1, line:styling.snap_chapter_to_back_box, bump:4) else to_number(pull_comma_array(styling.move_back_loyalty_costs, cell:0, end:true, default:(if back_two_boxes() then 183 else 185))) }
chapter2b := { if to_number(pull_comma_array(styling.snap_chapter_to_back_box, cell:1, end:true)) > 0 then auto_snap(2, line:styling.snap_chapter_to_back_box, bump:4) else to_number(pull_comma_array(styling.move_back_loyalty_costs, cell:1, end:true, default:(if back_two_boxes() then 223 else 279))) }
@@ -738,6 +741,10 @@ init script:
is_modal_dfc := {styling.dfc_type != "transforming"}
auto_flags := {styling.dfc_type == "modal with standard flags"}
custom_watermark_a := {if styling.card_watermark == "" or not contains(styling.card_watermark, match:".png") then "/magic-watermarks.mse-include/planeswalker.png" else "/magic-watermarks.mse-include/" + styling.card_watermark}
custom_watermark_b := {if styling.card_watermark_2 == "" or not contains(styling.card_watermark_2, match:".png") then "/magic-watermarks.mse-include/planeswalker.png" else "/magic-watermarks.mse-include/" + styling.card_watermark_2}
shown_cr := {if set.automatic_copyright then set.copyright != "" else card.copyright != ""}
############################################################## Set info fields
set info style:
symbol:
@@ -1029,6 +1036,14 @@ styling field:
choice: arrows
choice: pt boxes
choice: loyalty boxes
styling field:
type: text
name: card watermark
description: Filename in magic-watermarks to use for standalone card watermark
styling field:
type: text
name: card watermark 2
description: Filename in magic-watermarks to use for standalone card watermark
styling field:
type: boolean
name: grey hybrid name
@@ -2144,7 +2159,7 @@ card style:
color: white
copyright:
right: 350
top: { if is_leveler() and not lone_pt() then 488 else if is_normal() and card.pt != "" or card.loyalty != "" then (if is_map() then 504 else 500) else if use_vorthos() and is_normal() then 500 else if is_normal() then 488 else 498 }
top: { if is_leveler() and not lone_pt() then 488 else if is_normal() and card.pt != "" or card.loyalty != "" then (if is_map() then 504 else 500) else if is_normal() then 488 else 498 }
width: {if set.automatic_copyright then 0 else 140}
height: 10
z index: 6
@@ -2166,7 +2181,7 @@ card style:
color: white
copyright 2:
right: 728
top: { if back_leveler() then (if lone_pt() then (if card.pt_4 != "" then 500 else 488) else 488) else if is_leveler() then (if card.pt_4 != "" then 500 else 488) else if use_vorthos() and back_normal() or (back_normal() and card.pt_2 != "") or card.loyalty_2 != "" then (if back_map() then 504 else 500) else if back_normal() then 488 else 498 }
top: { if back_leveler() then (if lone_pt() then (if card.pt_4 != "" then 500 else 488) else 488) else if is_leveler() then (if card.pt_4 != "" then 500 else 488) else if (back_normal() and card.pt_2 != "") or card.loyalty_2 != "" then (if back_map() then 504 else 500) else if back_normal() then 488 else 498 }
width: {if set.automatic_copyright then 0 else 140}
height: 10
z index: 6
@@ -2219,13 +2234,12 @@ extra card field:
extra card field:
type: text
name: card code 2
editable: false
save value: false
script:
if set.automatic_card_numbers and not is_unsorted() then
forward_editor(prefix: card_number_m15() + "b/" + card_count_m15() + " " + rarity_code() + " ", field: card.card_code_text)
forward_editor(prefix: card_number_m15() + "b/" + card_count_m15() + " " + rarity_code() + " ", field: card.card_code_text_2)
else
back_face(card.custom_card_number) + " " + rarity_code() + " " + card.card_code_text
back_face(card.custom_card_number) + " " + rarity_code() + " " + card.card_code_text_2
extra card field:
type: color
name: opac filter
@@ -3708,7 +3722,7 @@ extra card style:
auto copyright:
right: 350
top: { if is_leveler() and not lone_pt() then 488 else if is_normal() and card.pt != "" or card.loyalty != "" then 500 else if use_vorthos() and is_normal() then 500 else if is_normal() then 488 else 498 }
top: { if is_leveler() and not lone_pt() then 488 else if is_normal() and card.pt != "" or card.loyalty != "" then 500 else if is_normal() then 488 else 498 }
width: {if set.automatic_copyright then 140 else 0}
height: 10
z index: 6
@@ -3720,7 +3734,7 @@ extra card style:
weight: bold
auto copyright 2:
right: 728
top: { if back_leveler() then (if lone_pt() then (if card.pt_4 != "" then 500 else 488) else 488) else if is_leveler() then (if card.pt_4 != "" then 500 else 488) else if use_vorthos() and back_normal() or (back_normal() and card.pt_2 != "") or card.loyalty != "" then 500 else if back_normal() then 488 else 498 }
top: { if back_leveler() then (if lone_pt() then (if card.pt_4 != "" then 500 else 488) else 488) else if is_leveler() then (if card.pt_4 != "" then 500 else 488) else if (back_normal() and card.pt_2 != "") or card.loyalty != "" then 500 else if back_normal() then 488 else 498 }
width: {if set.automatic_copyright then 140 else 0}
height: 10
z index: 6
@@ -3807,7 +3821,7 @@ extra card style:
render style: image
image: {if front_clear() then "" else if mainframe_walker() or is_leveler() or is_saga() then snow_texture() else snow_background()}
z index: 1
visible: {is_snow()}
visible: {is_snow() and not chosen(styling.other_options, choice:"mythic edition")}
mask: {if mainframe_walker() then ("nyx/" + (if has_four_abilities() then "4" else "") + "pw_mask.png") else "snow/snow_" + (if is_saga() then "saga" else if is_modal_dfc() then (if is_leveler() then "border" else "modal") else if is_leveler() then "notched" else "front") + "_mask.png"}
snow overlay 2:
left: 377
@@ -3817,7 +3831,7 @@ extra card style:
render style: image
image: {if back_clear() then "" else if mainframe_walkerb() or back_leveler() or back_saga() then snow_texture() else snow_background()}
z index: 1
visible: {back_snow()}
visible: {back_snow() and not chosen(styling.other_options, choice:"mythic edition")}
mask: {if mainframe_walkerb() then ("nyx/" + (if back_four_abilities() then "4" else "") + "pw_mask.png") else "snow/snow_" + (if back_saga() then "saga" else if back_leveler() then "border" else "back") + "_mask.png"}
nyx overlay:
left: 0
@@ -3827,7 +3841,7 @@ extra card style:
render style: image
image: {if front_clear() then "" else nyx_background()}
z index: 1
visible: {is_nyx()}
visible: {is_nyx() and not chosen(styling.other_options, choice:"mythic edition")}
mask: {"nyx/" + (if mainframe_walker() then ((if has_four_abilities() then "4" else "") + "pw_") else if is_modal_dfc() then "" else "notch_") + (if is_vehicle() then "v_") + (if is_saga() then "full") + "mask.png"}
curtain:
left: 0
@@ -3857,7 +3871,7 @@ extra card style:
render style: image
image: {if front_clear() then "miracles/xmiracle.png" else miracle_background()}
z index: 2
visible: {is_miracle()}
visible: {is_miracle() and not chosen(styling.other_options, choice:"mythic edition")}
mask: { if not front_clear() then "nodemask.png"}
vehicle overlay:
left: 0
@@ -3877,7 +3891,7 @@ extra card style:
render style: image
image: {if back_clear() then "" else nyx_background()}
z index: 1
visible: {back_nyx()}
visible: {back_nyx() and not chosen(styling.other_options, choice:"mythic edition")}
mask: {"nyx/" + (if mainframe_walkerb() then ((if back_four_abilities() then "4") + "pw_")) + (if back_vehicle() then "v_") + (if back_saga() then "full") + "mask.png"}
miracle overlay 2:
left: 377
@@ -3887,7 +3901,7 @@ extra card style:
render style: image
image: {if back_clear() then "miracles/xmiracle.png" else if chosen(styling.other_options, choice:"normal back face") then miracle_background() else miracle_background2()}
z index: 2
visible: {back_miracle()}
visible: {back_miracle() and not chosen(styling.other_options, choice:"mythic edition")}
mask: { if not back_clear() then "nodemask.png"}
curtain 2:
left: 377
@@ -4131,7 +4145,7 @@ extra card style:
width: {if is_mutate() then 317 else 156}
height: {if is_mutate() or is_class() then 2 else 3}
render style: image
z index: 5
z index: 3
image: {if is_class() then "bar.png" else if is_mutate() then "mutbar.png" else "line.png"}
visible: {is_saga() or is_mutate() or is_class()}
linebreak 2:
@@ -4168,7 +4182,7 @@ extra card style:
width: 30
height: 34
render style: image
z index: 5
z index: 3
image: {alt_chapters("1")}
visible: {back_saga()}
chapter 2b:
@@ -4404,7 +4418,7 @@ extra card style:
top: { if is_d20() then top_of_para(rolls_start(card.text)) else 329 + lv_2_coordinate()}
height: { if is_d20() then height_of_para(rolls_start(card.text)) else lv_2_height()}
width: 314
z index: 0
z index: 1
render style: image
image: {if is_d20() then "d20slice.png" else slice_crop(color_background(type:"slide", base_hybrid: card_hybrid), height: lv_2_height(), width:314, distance:(152-lv_2_coordinate()))}
visible: {is_leveler() or (is_d20() and number_of_rolls(card.text) > 0)}
@@ -4413,7 +4427,7 @@ extra card style:
top: { if is_d20() then top_of_para(rolls_start(card.text)+2) else 329 + lv_3_coordinate()}
height: { if is_d20() then height_of_para(rolls_start(card.text)+2) else lv_3_height()}
width: 314
z index: 0
z index: 1
render style: image
image: {if is_d20() then "d20slice.png" else slice_crop(color_background(type:"slide2", base_hybrid: card_hybrid), height: lv_3_height(), width:314, distance:lv_3_height())}
visible: {is_leveler() or (is_d20() and number_of_rolls(card.text) > 2)}
@@ -4422,7 +4436,7 @@ extra card style:
top: { if is_d20() then top_of_para(rolls_start(card.text)+4) else 329 + lv_4_coordinate()}
height: { if is_d20() then height_of_para(rolls_start(card.text)+4) else lv_4_height()}
width: 314
z index: 0
z index: 1
render style: image
image: {if is_d20() then "d20slice.png" else slice_crop(color_background(type:"slide5", base_hybrid: card_hybrid), height: lv_4_height(), width:314, distance:lv_4_height())}
visible: {is_leveler() or (is_d20() and number_of_rolls(card.text) > 4)}
@@ -4518,7 +4532,7 @@ extra card style:
top: { if back_d20() then top_of_para_b(rolls_start_b(card.text_2)) else 329 + lv_6_coordinate()}
height: { if back_d20() then height_of_para_b(rolls_start_b(card.text_2)) else lv_6_height()}
width: 314
z index: 0
z index: 1
render style: image
image: {if back_d20() then "d20slice.png" else slice_crop(color_background(type:"slide3", base_hybrid: card_hybrid), height: lv_6_height(), width:314, distance:(152-lv_6_coordinate()))}
visible: {back_leveler() or (back_d20() and number_of_rolls_b(card.text_2) > 0)}
@@ -4527,7 +4541,7 @@ extra card style:
top: { if back_d20() then top_of_para_b(rolls_start_b(card.text_2)+2) else 329 + lv_7_coordinate()}
height: { if back_d20() then height_of_para_b(rolls_start_b(card.text_2)+2) else lv_7_height()}
width: 314
z index: 0
z index: 1
render style: image
image: {if back_d20() then "d20slice.png" else slice_crop(color_background(type:"slide4", base_hybrid: card_hybrid), height: lv_7_height(), width:314, distance:lv_7_height())}
visible: {back_leveler() or (back_d20() and number_of_rolls_b(card.text_2) > 2)}
@@ -4536,7 +4550,7 @@ extra card style:
top: { if back_d20() then top_of_para_b(rolls_start_b(card.text_2)+4) else 329 + lv_8_coordinate()}
height: { if back_d20() then height_of_para_b(rolls_start_b(card.text_2)+4) else lv_8_height()}
width: 314
z index: 0
z index: 1
render style: image
image: {if back_d20() then "d20slice.png" else slice_crop(color_background(type:"slide6", base_hybrid: card_hybrid), height: lv_8_height(), width:314, distance:lv_8_height())}
visible: {back_leveler() or (back_d20() and number_of_rolls_b(card.text_2) > 4)}
@@ -4582,7 +4596,7 @@ extra card style:
height: {if is_class() then 380 else 372}
render style: image
image: {if is_class() then "paper.png" else bookmark_background()}
z index: 3
z index: 4
visible: {is_saga() or is_class()}
bookmark 2:
left: {if back_class() then 563 else 392}
@@ -4591,7 +4605,7 @@ extra card style:
height: {if back_class() then 380 else 372}
render style: image
image: {if back_class() then "paper.png" else bookmark_background()}
z index: 3
z index: 4
visible: {back_saga() or back_class()}
stripe:
left: 15
@@ -4600,7 +4614,7 @@ extra card style:
height: 372
render style: image
image: bookmarks/stripe.png
z index: 4
z index: 5
visible: {length(write_wubrg(card.card_color))==2 and is_saga()}
stripe 2:
left: 392
@@ -4609,7 +4623,7 @@ extra card style:
height: 372
render style: image
image: bookmarks/stripe.png
z index: 4
z index: 5
visible: {length(write_wubrg(card.card_color_2))==2 and back_saga()}
alias bar:
left: 34
@@ -4631,7 +4645,7 @@ extra card style:
visible: {is_skinned() and not use_evobar()}
vorthos box:
right: { if mainframe_walker() then 275 else if is_leveler() and not lone_pt() then 350 else if card.pt != "" then 275 else 350 }
top: 488
top: {if mainframe_walker() then 488 else if card.pt == "" and shown_cr() then 500 else 488}
left: 210
height: {if use_vorthos() then 10 else 0}
z index: 3
@@ -4643,7 +4657,7 @@ extra card style:
weight: bold
vorthos box 2:
right: { if mainframe_walkerb() then 652 else if back_leveler() and not lone_pt() then 727 else if card.pt_2 != "" then 652 else 727 }
top: 488
top: {if mainframe_walkerb() then 488 else if card.pt_2 == "" and shown_cr() then 500 else 488}
left: 587
height: {if use_vorthos() then 10 else 0}
z index: 3

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Some files were not shown because too many files have changed in this diff Show More