[274/274] magic-modules rollout (#51)
Add Magic-Modules support to all frames
This commit is contained in:
@@ -305,9 +305,9 @@ card style:
|
||||
script:
|
||||
if face_is_rotated(1) then
|
||||
(
|
||||
if card.additional_credit_brush == "none" or (not set.adaptive_language_height) then 0 else max(50 * face_coordinates_map(1).width/523, card_style.additional_credit.content_width + 10 * face_coordinates_map(1).width/523)
|
||||
if card.additional_credit_brush == "none" and not set.adaptive_language_height then 0 else max(50 * face_coordinates_map(1).width/523, card_style.additional_credit.content_width + 10 * face_coordinates_map(1).width/523)
|
||||
) else (
|
||||
if card.additional_credit_brush == "none" or (not set.adaptive_language_height) then 0 else max(50 * face_coordinates_map(1).width/375, card_style.additional_credit.content_width + 10 * face_coordinates_map(1).width/375)
|
||||
if card.additional_credit_brush == "none" and not set.adaptive_language_height then 0 else max(50 * face_coordinates_map(1).width/375, card_style.additional_credit.content_width + 10 * face_coordinates_map(1).width/375)
|
||||
)
|
||||
height:
|
||||
script:
|
||||
@@ -697,7 +697,7 @@ card style:
|
||||
(
|
||||
351 * face_coordinates_map(1).height/375 + face_coordinates_map(1).top + information_copyright_offset_right_1()
|
||||
) else (
|
||||
(if card.pt != "" or card.loyalty != "" then 502 + information_copyright_offset_pt_top_1() else if card.secondary_copyright != "" then 500 else 490) * face_coordinates_map(1).height/523 +
|
||||
(if information_secondary_shift_with_pt_1() and (card.pt != "" or card.loyalty != "") then 502 + information_copyright_offset_pt_top_1() else if card.secondary_copyright != "" then 500 else 490) * face_coordinates_map(1).height/523 +
|
||||
face_coordinates_map(1).top + information_offset_top_1()
|
||||
)
|
||||
width:
|
||||
@@ -740,7 +740,7 @@ card style:
|
||||
(
|
||||
351 * face_coordinates_map(1).height/375 + face_coordinates_map(1).top + information_copyright_offset_right_1()
|
||||
) else (
|
||||
(if card.pt != "" or card.loyalty != "" then 502 + information_copyright_offset_pt_top_1() else if card.secondary_copyright != "" then 500 else 490) * face_coordinates_map(1).height/523 + face_coordinates_map(1).top + information_offset_top_1()
|
||||
(if information_secondary_shift_with_pt_1() and (card.pt != "" or card.loyalty != "") then 502 + information_copyright_offset_pt_top_1() else if card.secondary_copyright != "" then 500 else 490) * face_coordinates_map(1).height/523 + face_coordinates_map(1).top + information_offset_top_1()
|
||||
)
|
||||
width:
|
||||
script:
|
||||
@@ -795,7 +795,7 @@ card style:
|
||||
needed := (255 + information_secondary_offset_pt_left_1() - if length(card.secondary_copyright) > 9 then 45 else if length(card.secondary_copyright) > 6 then 25 else if length(card.secondary_copyright) > 4 then 10 else 0) * face_coordinates_map(1).width/375 + face_coordinates_map(1).left
|
||||
aligned := 351 * face_coordinates_map(1).width/375 + information_copyright_offset_right_1() - (if set.automatic_copyright then card_style.auto_copyright.content_width else card_style.copyright.content_width) + face_coordinates_map(1).left
|
||||
left := max(min(needed, aligned), 211 * face_coordinates_map(1).width/375)
|
||||
right := (if card.pt != "" then 279 + information_secondary_offset_pt_left_1() else if card.loyalty != "" then 295 + information_secondary_offset_pt_left_1() else 351) * face_coordinates_map(1).width/375 + face_coordinates_map(1).top + information_copyright_offset_right_1()
|
||||
right := (if not information_secondary_shift_with_pt_1() then 351 else if card.pt != "" then 279 + information_secondary_offset_pt_left_1() else if card.loyalty != "" then 295 + information_secondary_offset_pt_left_1() else 351) * face_coordinates_map(1).width/375 + face_coordinates_map(1).top + information_copyright_offset_right_1()
|
||||
right - left
|
||||
)
|
||||
height:
|
||||
@@ -807,50 +807,11 @@ card style:
|
||||
if information_disabled_1() then 0 else 10 * face_coordinates_map(1).height/523
|
||||
)
|
||||
visible: { not information_disabled_1() }
|
||||
alignment: { if card.pt != "" or card.loyalty != "" then "middle left shrink-overflow" else "middle right shrink-overflow" }
|
||||
alignment: { if (card.pt != "" or card.loyalty != "") and information_secondary_shift_with_pt_1() then "middle left shrink-overflow" else "middle right shrink-overflow" }
|
||||
font:
|
||||
name: MPlantin
|
||||
size: { 6.5 * face_coordinates_map(1).height/(if face_is_rotated(1) then 375 else 523) }
|
||||
color: { styling.copyright_text_color or else set.copyright_text_color }
|
||||
weight: bold
|
||||
z index: 900
|
||||
the list icon:
|
||||
angle: { if face_is_rotated(1) then -90 else 0 }
|
||||
left:
|
||||
script:
|
||||
if face_is_rotated(1) then
|
||||
(
|
||||
face_coordinates_map(1).left - information_offset_top_1()
|
||||
) else (
|
||||
face_coordinates_map(1).left + information_codes_offset_left_1()
|
||||
)
|
||||
bottom:
|
||||
script:
|
||||
if face_is_rotated(1) then
|
||||
(
|
||||
face_coordinates_map(1).top + information_codes_offset_left_1()
|
||||
) else (
|
||||
face_coordinates_map(1).height + face_coordinates_map(1).top + information_offset_top_1()
|
||||
)
|
||||
width:
|
||||
script:
|
||||
if face_is_rotated(1) then
|
||||
(
|
||||
22 * face_coordinates_map(1).width/523
|
||||
) else (
|
||||
22 * face_coordinates_map(1).width/375
|
||||
)
|
||||
height:
|
||||
script:
|
||||
if face_is_rotated(1) then
|
||||
(
|
||||
33 * face_coordinates_map(1).height/375
|
||||
) else (
|
||||
33 * face_coordinates_map(1).height/523
|
||||
)
|
||||
visible: { not information_disabled_1() }
|
||||
popup style: in place
|
||||
include file: /magic.mse-game/information/menu_choice_images_the_list
|
||||
render style: image
|
||||
image: { the_list_icon_image(face: 1, field: 1) }
|
||||
z index: 900
|
||||
include file: /magic-modules.mse-include/information/list_field
|
||||
Reference in New Issue
Block a user