Personal sync, part 2

add m15-black, future-planeswalker, m15-imageupload, token-invention
add dungeon updates
add land TTK frames
lots of little cleanups
This commit is contained in:
CajunAvenger
2023-02-13 15:16:17 -06:00
parent fde79095fa
commit 1bc7bb7674
598 changed files with 5403 additions and 633 deletions

View File

@@ -243,6 +243,8 @@ init script:
use_main_rarity := { contains(set.mainframe_rarity_name, match: ".png")}
un_png := replace@(match:".png", replace: "")
jp_name_length := {card_style.name.content_height * length(card.name)}
shown_cr := {if set.automatic_copyright then set.copyright != "" else card.copyright != ""}
use_vorthos := {true}
############################################################## Set info fields
set info style:
symbol:
@@ -270,6 +272,10 @@ styling field:
type: text
name: shrink typeline text
description: Shrinks type X pixels
styling field:
type: text
name: popout image style
description: The styling instructions for the popout image field, formatted as "left,top,width,height,". The text MUST end with a comma.
styling field:
type: boolean
name: use holofoil stamps
@@ -426,6 +432,13 @@ card style:
z index: -1
default: {default_image(card.card_color)}
mask: image_mask.png
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"}
width: {if comma_count(styling.popout_image_style) == ",,,," then split_text(match:",", styling.popout_image_style).2 else "0"}
height: {if comma_count(styling.popout_image_style) == ",,,," then split_text(match:",", styling.popout_image_style).3 else "0"}
z index: 8
############################# Card type
indicator:
left: 28
@@ -575,7 +588,7 @@ card style:
height: 10
z index: 2
visible: {not set.automatic_copyright}
alignment: middle right shrink-overflow
alignment: middle right
font:
name: Matrix
size: 7
@@ -674,6 +687,13 @@ extra card field:
type: text
name: jp name
script: forward_editor(field: card.name)
extra card field:
type: text
name: vorthos box
save value: true
editable: true
description: Where they put mtgstory.com on story spotlights.
extra card style:
card code:
left: 24
@@ -787,7 +807,7 @@ extra card style:
width: 140
height: 10
z index: 2
alignment: middle right shrink-overflow
alignment: middle right
visible: {set.automatic_copyright}
font:
name: Matrix
@@ -821,3 +841,15 @@ extra card style:
line height soft: 0.9
line height hard max: {if is_modal(card.rule_text) then 1.0 else 1.3 }
line height line max: 1.6
vorthos box:
right: { if card.pt != "" then 275 else 350 }
top: {if card.pt == "" and shown_cr() then 502 else 488}
width: { 70 }
height: {if use_vorthos() then 10 else 0}
z index: 3
alignment: middle right
font:
name: Relay-Medium
size: 7
color: white
weight: bold