fix assorted stamping bugs
This commit is contained in:
@@ -104,7 +104,6 @@ init script:
|
||||
|
||||
# Is the card a promo card?
|
||||
is_promo := { styling.promo }
|
||||
is_stamped := {styling.use_holofoil_stamps and (card.rarity == "rare" or card.rarity == "mythic rare")}
|
||||
shrink_type := {if styling.shrink_typeline_text != "" then to_int(styling.shrink_typeline_text) else if length(remove_tags(card.type)) > 41 then 2 else if length(remove_tags(card.type)) > 38 then 1 else 0 }
|
||||
shrink_name := {if styling.shrink_name_text != "" then to_int(styling.shrink_name_text) else 0 }
|
||||
is_unsorted := {styling.remove_from_autocount}
|
||||
@@ -470,7 +469,7 @@ card style:
|
||||
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 is_mutate() then 334 else 232}
|
||||
z index: 1
|
||||
default: {default_image(card.card_color)}
|
||||
mask: { 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() then "mutate_mask.png" else ""}
|
||||
mask: { 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_stamped() then "_rare") + ".png" else if is_mutate() 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"}
|
||||
@@ -1139,7 +1138,7 @@ extra card style:
|
||||
width: 40
|
||||
height: 23
|
||||
z index: 3
|
||||
visible: { is_rare() and styling.use_holofoil_stamps and not is_clear() }
|
||||
visible: { is_stamped() and not is_clear() }
|
||||
render style: image
|
||||
image: foil_stamp.png
|
||||
foil layer:
|
||||
@@ -1150,7 +1149,7 @@ extra card style:
|
||||
z index: 1050
|
||||
render style: image
|
||||
image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"}
|
||||
mask: { "foil_mask" + (if card.pt != "" then "_pt") + (if is_rare() and styling.use_holofoil_stamps then "_rare") + ".png" }
|
||||
mask: { "foil_mask" + (if card.pt != "" then "_pt") + (if is_stamped() 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()) then 500 else 488 }
|
||||
@@ -1190,7 +1189,7 @@ extra card style:
|
||||
height: 523
|
||||
z index: 1
|
||||
render style: image
|
||||
image: { if is_rare() and styling.use_holofoil_stamps then "clear_rare.png" else "clear.png"}
|
||||
image: { if is_stamped() then "clear_rare.png" else "clear.png"}
|
||||
visible: { is_clear() }
|
||||
map frame:
|
||||
left: 0
|
||||
|
||||
Reference in New Issue
Block a user