Indicator update (#76)

* update indicator script and remove color indicator dot styling options

---------

Co-authored-by: cajun <12363371+CajunAvenger@users.noreply.github.com>
This commit is contained in:
cajun
2024-09-24 13:44:27 -05:00
committed by GitHub
parent 28dc1c3383
commit 8f8d9c637a
60 changed files with 273 additions and 437 deletions

View File

@@ -170,9 +170,6 @@ init script:
card_stamprim := { color_background(input: card.card_color, type: "stamprim", base_hybrid: card_hybrid) }@(offset:0)
card_logo := { color_background(input: card.card_color, type: "logo", base_hybrid: card_hybrid) }@(offset:0)
has_identity := { styling.color_indicator_dot }
has_identity_2 := { false }
is_promo := { styling.promo }
is_unsorted := { styling.remove_from_autocount }
@@ -352,8 +349,6 @@ styling field:
include file: /magic-modules.mse-include/rarities/styling_fields
include file: /magic-modules.mse-include/indicators/styling_fields
include file: /magic-modules.mse-include/watermarks/styling_fields
styling field:
@@ -585,7 +580,7 @@ card style:
visible: { (not typeline_disabled_1()) and (not indicator_disabled_1()) and has_identity() }
image: { module_identity(card.indicator) }
type:
left: { if styling.rarity then (if styling.color_indicator_dot then 854 else 809) else 862 }
left: { if styling.rarity then (if has_identity() then 854 else 809) else 862 }
top: { 861 + type_font_vertical() }
right: { if styling.rarity then (if set.shorten_types_for_rarity then max(1100,min(1425, rarity_left()-3)) else 1425) else 1372 }
height: 53
@@ -1016,7 +1011,7 @@ extra card style:
height: { face_coordinates_map(2).height }
z index: 210
render style: image
image: { if styling.rarity or styling.color_indicator_dot then "" else "back_star_left.png" }
image: { if styling.rarity or has_identity() then "" else "back_star_left.png" }
back star right:
left: { face_coordinates_map(2).left }
top: { face_coordinates_map(2).top }