---------

Co-authored-by: cajun <12363371+CajunAvenger@users.noreply.github.com>
This commit is contained in:
cajun
2024-10-01 08:34:46 -05:00
committed by GitHub
parent d1b3bdac74
commit 5016c6efa2
32836 changed files with 65408 additions and 48862 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 530 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 240 B

View File

@@ -0,0 +1,817 @@
card style:
set code:
angle: { if face_is_rotated(1) then -90 else 0 }
left:
script:
if face_is_rotated(1) then
(
24 * face_coordinates_map(1).width/523 + face_coordinates_map(1).left - information_offset_top_1()
) else (
24 * face_coordinates_map(1).width/375 + face_coordinates_map(1).left + information_codes_offset_left_1()
)
top:
script:
if face_is_rotated(1) then
(
24 * face_coordinates_map(1).height/375 + face_coordinates_map(1).top + information_codes_offset_left_1()
) else (
499 * face_coordinates_map(1).height/523 + face_coordinates_map(1).top + information_offset_top_1()
)
width:
script:
if face_is_rotated(1) then
(
40 * face_coordinates_map(1).width/523
) else (
40 * face_coordinates_map(1).width/375
)
height:
script:
if face_is_rotated(1) then
(
if information_disabled_1() then 0 else 10 * face_coordinates_map(1).height/375
) else (
if information_disabled_1() then 0 else 10 * face_coordinates_map(1).height/523
)
visible: { not information_disabled_1() }
alignment: middle left
font:
name: Relay-Medium
size: { 7 * 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
set language:
angle: { if face_is_rotated(1) then -90 else 0 }
left:
script:
if face_is_rotated(1) then
(
14 * face_coordinates_map(1).width/523 + face_coordinates_map(1).left - information_offset_top_1()
) else (
24 * face_coordinates_map(1).width/375 + face_coordinates_map(1).left + information_codes_offset_left_1()
)
top:
script:
if face_is_rotated(1) then
(
24 * face_coordinates_map(1).height/375 + face_coordinates_map(1).top + information_codes_offset_left_1()
) else (
509 * face_coordinates_map(1).height/523 + face_coordinates_map(1).top + information_offset_top_1()
)
width:
script:
if face_is_rotated(1) then
(
code := if is_masterpiece() then set.masterpiece_set_code else set.set_code
if card.additional_credit_brush == "none" or (not set.adaptive_language_height) or code == "" then 0
else 40 * face_coordinates_map(1).width/523
) else (
code := if is_masterpiece() then set.masterpiece_set_code else set.set_code
if card.additional_credit_brush == "none" or (not set.adaptive_language_height) or code == "" then 0
else 40 * face_coordinates_map(1).width/375
)
height:
script:
if face_is_rotated(1) then
(
if information_disabled_1() then 0 else 10 * face_coordinates_map(1).height/375
) else (
if information_disabled_1() then 0 else 10 * face_coordinates_map(1).height/523
)
visible: { not information_disabled_1() }
alignment: middle left
font:
name: Relay-Medium
size: { 7 * 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
card code:
angle: { if face_is_rotated(1) then -90 else 0 }
left:
script:
if face_is_rotated(1) then
(
34 * face_coordinates_map(1).width/523 + face_coordinates_map(1).left - information_offset_top_1()
) else (
24 * face_coordinates_map(1).width/375 + face_coordinates_map(1).left + information_codes_offset_left_1()
)
top:
script:
if face_is_rotated(1) then
(
24 * face_coordinates_map(1).height/375 + face_coordinates_map(1).top + information_codes_offset_left_1()
) else (
489 * face_coordinates_map(1).height/523 + face_coordinates_map(1).top + information_offset_top_1()
)
width:
script:
if face_is_rotated(1) then
(
120 * face_coordinates_map(1).width/523
) else (
120 * face_coordinates_map(1).width/375
)
height:
script:
if face_is_rotated(1) then
(
if information_disabled_1() then 0 else 10 * face_coordinates_map(1).height/375
) else (
if information_disabled_1() then 0 else 10 * face_coordinates_map(1).height/523
)
visible: { not information_disabled_1() }
alignment: middle left
font:
name: Relay-Medium
size: { 7 * 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
partition select:
angle: { if face_is_rotated(1) then -90 else 0 }
left:
script:
if face_is_rotated(1) then
(
34 * face_coordinates_map(1).width/523 + face_coordinates_map(1).left - information_offset_top_1()
) else (
24 * face_coordinates_map(1).width/375 + face_coordinates_map(1).left + information_codes_offset_left_1()
)
top:
script:
if face_is_rotated(1) then
(
24 * face_coordinates_map(1).height/375 + face_coordinates_map(1).top + information_codes_offset_left_1()
) else (
489 * face_coordinates_map(1).height/523 + face_coordinates_map(1).top + information_offset_top_1()
)
width:
script:
if not use_auto_numbers() then 0
else if face_is_rotated(1) then
(
35 * face_coordinates_map(1).width/523
) else (
35 * face_coordinates_map(1).width/375
)
height:
script:
if face_is_rotated(1) then
(
if information_disabled_1() then 0 else 10 * face_coordinates_map(1).height/375
) else (
if information_disabled_1() then 0 else 10 * face_coordinates_map(1).height/523
)
visible: { not information_disabled_1() and use_auto_numbers() }
popup style: menu
render style: hidden
z index: 1100
illustrator:
angle: { if face_is_rotated(1) then -90 else 0 }
left:
script:
if face_is_rotated(1) then
(
24 * face_coordinates_map(1).width/523 + face_coordinates_map(1).left - information_offset_top_1()
) else (
initial_space := 25 * face_coordinates_map(1).width/375
set_code_space := 4 * face_coordinates_map(1).width/375
set_code_width := if card.set_code == "" then 0 else (set_code_space + card_style.set_code.content_width)
set_language_width := if card.set_language == "" then 0 else (set_code_space + card_style.set_language.content_width)
set_width := if card.additional_credit_brush == "none" or (not set.adaptive_language_height) then set_code_width else max(set_code_width, set_language_width)
illustrator_brush_width := (if card.illustrator_brush == "art old" then 31 else if contains(card.illustrator_brush, match: "wide") then 17 else 14) * face_coordinates_map(1).width/375
initial_space + set_width + illustrator_brush_width + face_coordinates_map(1).left + information_codes_offset_left_1()
)
top:
script:
if face_is_rotated(1) then
(
initial_space := 25 * face_coordinates_map(1).height/375
set_code_space := 4 * face_coordinates_map(1).height/375
set_code_width := if card.set_code == "" then 0 else (set_code_space + card_style.set_code.content_width)
set_language_width := if card.set_language == "" then 0 else (set_code_space + card_style.set_language.content_width)
set_width := if card.additional_credit_brush == "none" or (not set.adaptive_language_height) then set_code_width else max(set_code_width, set_language_width)
illustrator_brush_width := (if card.illustrator_brush == "art old" then 31 else if contains(card.illustrator_brush, match: "wide") then 17 else 14) * face_coordinates_map(1).height/375
initial_space + set_width + illustrator_brush_width + face_coordinates_map(1).top + information_codes_offset_left_1()
) else (
499 * face_coordinates_map(1).height/523 + face_coordinates_map(1).top + information_offset_top_1()
)
width:
script:
if face_is_rotated(1) then
(
max(50 * face_coordinates_map(1).width/523, card_style.illustrator.content_width + 10 * face_coordinates_map(1).width/523)
) else (
max(50 * face_coordinates_map(1).width/375, card_style.illustrator.content_width + 10 * face_coordinates_map(1).width/375)
)
height:
script:
if face_is_rotated(1) then
(
if information_disabled_1() then 0 else 10 * face_coordinates_map(1).height/375
) else (
if information_disabled_1() then 0 else 10 * face_coordinates_map(1).height/523
)
visible: { not information_disabled_1() }
alignment: middle left
font:
name: Beleren Small Caps Bold
size: { 7.25 * 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 }
z index: 900
illustrator brush:
angle: { if face_is_rotated(1) then -90 else 0 }
left:
script:
if face_is_rotated(1) then
(
22 * face_coordinates_map(1).width/523 + face_coordinates_map(1).left - information_offset_top_1()
) else (
initial_space := 25 * face_coordinates_map(1).width/375
set_code_space := 4 * face_coordinates_map(1).width/375
set_code_width := if card.set_code == "" then 0 else (set_code_space + card_style.set_code.content_width)
set_language_width := if card.set_language == "" then 0 else (set_code_space + card_style.set_language.content_width)
set_width := if card.additional_credit_brush == "none" or (not set.adaptive_language_height) then set_code_width else max(set_code_width, set_language_width)
initial_space + set_width + face_coordinates_map(1).left + information_codes_offset_left_1()
)
top:
script:
if face_is_rotated(1) then
(
initial_space := 25 * face_coordinates_map(1).height/375
set_code_space := 4 * face_coordinates_map(1).height/375
set_code_width := if card.set_code == "" then 0 else (set_code_space + card_style.set_code.content_width)
set_language_width := if card.set_language == "" then 0 else (set_code_space + card_style.set_language.content_width)
set_width := if card.additional_credit_brush == "none" or (not set.adaptive_language_height) then set_code_width else max(set_code_width, set_language_width)
initial_space + set_width + face_coordinates_map(1).top + information_codes_offset_left_1()
) else (
501 * face_coordinates_map(1).height/523 + face_coordinates_map(1).top + information_offset_top_1()
)
width:
script:
if face_is_rotated(1) then
(
(if card.illustrator_brush == "art old" then 30 else if contains(card.illustrator_brush, match: "wide") then 15 else 12) * face_coordinates_map(1).width/523
) else (
(if card.illustrator_brush == "art old" then 30 else if contains(card.illustrator_brush, match: "wide") then 15 else 12) * face_coordinates_map(1).width/375
)
height:
script:
if face_is_rotated(1) then
(
7 * face_coordinates_map(1).height/375
) else (
7 * face_coordinates_map(1).height/523
)
visible: { not information_disabled_1() }
popup style: in place
include file: /magic.mse-game/information/menu_choice_images
render style: image
image: { illustrator_brush_image(field: 1) }
z index: 900
additional credit:
angle: { if face_is_rotated(1) then -90 else 0 }
left:
script:
if face_is_rotated(1) then
(
14 * face_coordinates_map(1).width/523 + face_coordinates_map(1).left - information_offset_top_1()
) else (
initial_space := 25 * face_coordinates_map(1).width/375
set_code_space := 4 * face_coordinates_map(1).width/375
set_code_width := if card.set_code == "" then 0 else (set_code_space + card_style.set_code.content_width)
set_language_width := if card.set_language == "" then 0 else (set_code_space + card_style.set_language.content_width)
set_width := if card.additional_credit_brush == "none" or (not set.adaptive_language_height) then set_code_width else max(set_code_width, set_language_width)
additional_credit_brush_width := (if card.additional_credit_brush == "art old" then 31 else if contains(card.additional_credit_brush, match: "wide") then 17 else 14) * face_coordinates_map(1).width/375
initial_space + set_width + additional_credit_brush_width + face_coordinates_map(1).left + information_codes_offset_left_1()
)
top:
script:
if face_is_rotated(1) then
(
initial_space := 25 * face_coordinates_map(1).height/375
set_code_space := 4 * face_coordinates_map(1).height/375
set_code_width := if card.set_code == "" then 0 else (set_code_space + card_style.set_code.content_width)
set_language_width := if card.set_language == "" then 0 else (set_code_space + card_style.set_language.content_width)
set_width := if card.additional_credit_brush == "none" or (not set.adaptive_language_height) then set_code_width else max(set_code_width, set_language_width)
additional_credit_brush_width := (if card.additional_credit_brush == "art old" then 31 else if contains(card.additional_credit_brush, match: "wide") then 17 else 14) * face_coordinates_map(1).height/375
initial_space + set_width + additional_credit_brush_width + face_coordinates_map(1).top + information_codes_offset_left_1()
) else (
509 * face_coordinates_map(1).height/523 + face_coordinates_map(1).top + information_offset_top_1()
)
width:
script:
if face_is_rotated(1) then
(
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" 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:
if face_is_rotated(1) then
(
if information_disabled_1() then 0 else 10 * face_coordinates_map(1).height/375
) else (
if information_disabled_1() then 0 else 10 * face_coordinates_map(1).height/523
)
visible: { not information_disabled_1() }
alignment: middle left
font:
name: Beleren Small Caps Bold
size: { 7.25 * 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 }
z index: 900
additional credit brush:
angle: { if face_is_rotated(1) then -90 else 0 }
left:
script:
if face_is_rotated(1) then
(
12 * face_coordinates_map(1).width/523 + face_coordinates_map(1).left - information_offset_top_1()
) else (
initial_space := 25 * face_coordinates_map(1).width/375
set_code_space := 4 * face_coordinates_map(1).width/375
set_code_width := if card.set_code == "" then 0 else set_code_space + card_style.set_code.content_width
set_language_width := if card.set_language == "" then 0 else set_code_space + card_style.set_language.content_width
set_width := if card.additional_credit_brush == "none" or (not set.adaptive_language_height) then set_code_width else max(set_code_width, set_language_width)
initial_space + set_width + face_coordinates_map(1).left + information_codes_offset_left_1()
)
top:
script:
if face_is_rotated(1) then
(
initial_space := 25 * face_coordinates_map(1).height/375
set_code_space := 4 * face_coordinates_map(1).height/375
set_code_width := if card.set_code == "" then 0 else set_code_space + card_style.set_code.content_width
set_language_width := if card.set_language == "" then 0 else set_code_space + card_style.set_language.content_width
set_width := if card.additional_credit_brush == "none" or (not set.adaptive_language_height) then set_code_width else max(set_code_width, set_language_width)
initial_space + set_width + face_coordinates_map(1).top + information_codes_offset_left_1()
) else (
511 * face_coordinates_map(1).height/523 + face_coordinates_map(1).top + information_offset_top_1()
)
width:
script:
if face_is_rotated(1) then
(
(if card.additional_credit_brush == "art old" then 30 else if contains(card.additional_credit_brush, match: "wide") then 15 else 12) * face_coordinates_map(1).width/523
) else (
(if card.additional_credit_brush == "art old" then 30 else if contains(card.additional_credit_brush, match: "wide") then 15 else 12) * face_coordinates_map(1).width/375
)
height:
script:
if face_is_rotated(1) then
(
7 * face_coordinates_map(1).height/375
) else (
7 * face_coordinates_map(1).height/523
)
visible: { not information_disabled_1() }
popup style: in place
include file: /magic.mse-game/information/menu_choice_images
render style: image
image: { additional_credit_brush_image(field: 1) }
z index: 900
additional credit 2:
angle: { if face_is_rotated(1) then -90 else 0 }
left:
script:
if face_is_rotated(1) then
(
24 * face_coordinates_map(1).width/523 + face_coordinates_map(1).left - information_offset_top_1()
) else (
initial_space := 25 * face_coordinates_map(1).width/375
set_code_space := 4 * face_coordinates_map(1).width/375
set_code_width := if card.set_code == "" then 0 else set_code_space + card_style.set_code.content_width
set_language_width := if card.set_language == "" then 0 else set_code_space + card_style.set_language.content_width
set_width := if card.additional_credit_brush == "none" or (not set.adaptive_language_height) then set_code_width else max(set_code_width, set_language_width)
illustrator_brush_width := (if card.illustrator_brush == "art old" then 31 else if contains(card.illustrator_brush, match: "wide") then 17 else 14) * face_coordinates_map(1).width/375
illustrator_left := initial_space + set_width + illustrator_brush_width
illustrator_width := max(50 * face_coordinates_map(1).width/375, card_style.illustrator.content_width + 10 * face_coordinates_map(1).width/375)
top_margin := illustrator_left + illustrator_width
additional_credit_brush_width := (if card.additional_credit_brush == "art old" then 31 else if contains(card.additional_credit_brush, match: "wide") then 17 else 14) * face_coordinates_map(1).width/375
additional_credit_left := initial_space + set_width + additional_credit_brush_width
additional_credit_width := max(50 * face_coordinates_map(1).width/375, card_style.additional_credit.content_width + 10 * face_coordinates_map(1).width/375)
bottom_margin := additional_credit_left + additional_credit_width
additional_credit_brush_2_width := (if card.additional_credit_brush_2 == "art old" then 31 else if contains(card.additional_credit_brush_2, match: "wide") then 17 else 14) * face_coordinates_map(1).width/375
max(top_margin, bottom_margin) + additional_credit_brush_2_width + face_coordinates_map(1).left + information_codes_offset_left_1()
)
top:
script:
if face_is_rotated(1) then
(
initial_space := 25 * face_coordinates_map(1).height/375
set_code_space := 4 * face_coordinates_map(1).height/375
set_code_width := if card.set_code == "" then 0 else set_code_space + card_style.set_code.content_width
set_language_width := if card.set_language == "" then 0 else set_code_space + card_style.set_language.content_width
set_width := if card.additional_credit_brush == "none" or (not set.adaptive_language_height) then set_code_width else max(set_code_width, set_language_width)
illustrator_brush_width := (if card.illustrator_brush == "art old" then 31 else if contains(card.illustrator_brush, match: "wide") then 17 else 14) * face_coordinates_map(1).height/375
illustrator_left := initial_space + set_width + illustrator_brush_width
illustrator_width := max(50 * face_coordinates_map(1).height/375, card_style.illustrator.content_width + 10 * face_coordinates_map(1).height/375)
top_margin := illustrator_left + illustrator_width
additional_credit_brush_width := (if card.additional_credit_brush == "art old" then 31 else if contains(card.additional_credit_brush, match: "wide") then 17 else 14) * face_coordinates_map(1).height/375
additional_credit_left := initial_space + set_width + additional_credit_brush_width
additional_credit_width := max(50 * face_coordinates_map(1).height/375, card_style.additional_credit.content_width + 10 * face_coordinates_map(1).height/375)
bottom_margin := additional_credit_left + additional_credit_width
additional_credit_brush_2_width := (if card.additional_credit_brush_2 == "art old" then 31 else if contains(card.additional_credit_brush_2, match: "wide") then 17 else 14) * face_coordinates_map(1).height/375
max(top_margin, bottom_margin) + additional_credit_brush_2_width + face_coordinates_map(1).top + information_codes_offset_left_1()
) else (
499 * face_coordinates_map(1).height/523 + face_coordinates_map(1).top + information_offset_top_1()
)
width:
script:
if face_is_rotated(1) then
(
(if card.additional_credit_brush_2 != "none" then 80 else 0) * face_coordinates_map(1).width/523
) else (
(if card.additional_credit_brush_2 != "none" then 80 else 0) * face_coordinates_map(1).width/375
)
height:
script:
if face_is_rotated(1) then
(
if information_disabled_1() then 0 else 10 * face_coordinates_map(1).height/375
) else (
if information_disabled_1() then 0 else 10 * face_coordinates_map(1).height/523
)
visible: { not information_disabled_1() }
alignment: middle left
font:
name: Beleren Small Caps Bold
size: { 7.25 * 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 }
z index: 900
additional credit brush 2:
angle: { if face_is_rotated(1) then -90 else 0 }
left:
script:
if face_is_rotated(1) then
(
22 * face_coordinates_map(1).width/523 + face_coordinates_map(1).left - information_offset_top_1()
) else (
initial_space := 25 * face_coordinates_map(1).width/375
set_code_space := 4 * face_coordinates_map(1).width/375
set_code_width := if card.set_code == "" then 0 else set_code_space + card_style.set_code.content_width
set_language_width := if card.set_language == "" then 0 else set_code_space + card_style.set_language.content_width
set_width := if card.additional_credit_brush == "none" or (not set.adaptive_language_height) then set_code_width else max(set_code_width, set_language_width)
illustrator_brush_width := (if card.illustrator_brush == "art old" then 31 else if contains(card.illustrator_brush, match: "wide") then 17 else 14) * face_coordinates_map(1).width/375
illustrator_left := initial_space + set_width + illustrator_brush_width
illustrator_width := max(50 * face_coordinates_map(1).width/375, card_style.illustrator.content_width + 10 * face_coordinates_map(1).width/375)
top_margin := illustrator_left + illustrator_width
additional_credit_brush_width := (if card.additional_credit_brush == "art old" then 31 else if contains(card.additional_credit_brush, match: "wide") then 17 else 14) * face_coordinates_map(1).width/375
additional_credit_left := initial_space + set_width + additional_credit_brush_width
additional_credit_width := max(50 * face_coordinates_map(1).width/375, card_style.additional_credit.content_width + 10 * face_coordinates_map(1).width/375)
bottom_margin := additional_credit_left + additional_credit_width
max(top_margin, bottom_margin) + face_coordinates_map(1).left + information_codes_offset_left_1()
)
top:
script:
if face_is_rotated(1) then
(
initial_space := 25 * face_coordinates_map(1).height/375
set_code_space := 4 * face_coordinates_map(1).height/375
set_code_width := if card.set_code == "" then 0 else set_code_space + card_style.set_code.content_width
set_language_width := if card.set_language == "" then 0 else set_code_space + card_style.set_language.content_width
set_width := if card.additional_credit_brush == "none" or (not set.adaptive_language_height) then set_code_width else max(set_code_width, set_language_width)
illustrator_brush_width := (if card.illustrator_brush == "art old" then 31 else if contains(card.illustrator_brush, match: "wide") then 17 else 14) * face_coordinates_map(1).height/375
illustrator_left := initial_space + set_width + illustrator_brush_width
illustrator_width := max(50 * face_coordinates_map(1).height/375, card_style.illustrator.content_width + 10 * face_coordinates_map(1).height/375)
top_margin := illustrator_left + illustrator_width
additional_credit_brush_width := (if card.additional_credit_brush == "art old" then 31 else if contains(card.additional_credit_brush, match: "wide") then 17 else 14) * face_coordinates_map(1).height/375
additional_credit_left := initial_space + set_width + additional_credit_brush_width
additional_credit_width := max(50 * face_coordinates_map(1).height/375, card_style.additional_credit.content_width + 10 * face_coordinates_map(1).height/375)
bottom_margin := additional_credit_left + additional_credit_width
max(top_margin, bottom_margin) + face_coordinates_map(1).top + information_codes_offset_left_1()
) else (
501 * face_coordinates_map(1).height/523 + face_coordinates_map(1).top + information_offset_top_1()
)
width:
script:
if face_is_rotated(1) then
(
(if card.additional_credit_brush_2 == "art old" then 30 else if contains(card.additional_credit_brush_2, match: "wide") then 15 else 12) * face_coordinates_map(1).width/523
) else (
(if card.additional_credit_brush_2 == "art old" then 30 else if contains(card.additional_credit_brush_2, match: "wide") then 15 else 12) * face_coordinates_map(1).width/375
)
height:
script:
if face_is_rotated(1) then
(
7 * face_coordinates_map(1).height/375
) else (
7 * face_coordinates_map(1).height/523
)
visible: { not information_disabled_1() }
popup style: in place
include file: /magic.mse-game/information/menu_choice_images
render style: image
image: { additional_credit_brush_image(field: 2) }
z index: 900
additional credit 3:
angle: { if face_is_rotated(1) then -90 else 0 }
left:
script:
if face_is_rotated(1) then
(
14 * face_coordinates_map(1).width/523 + face_coordinates_map(1).left - information_offset_top_1()
) else (
initial_space := 25 * face_coordinates_map(1).width/375
set_code_space := 4 * face_coordinates_map(1).width/375
set_code_width := if card.set_code == "" then 0 else set_code_space + card_style.set_code.content_width
set_language_width := if card.set_language == "" then 0 else set_code_space + card_style.set_language.content_width
set_width := if card.additional_credit_brush == "none" or (not set.adaptive_language_height) then set_code_width else max(set_code_width, set_language_width)
illustrator_brush_width := (if card.illustrator_brush == "art old" then 31 else if contains(card.illustrator_brush, match: "wide") then 17 else 14) * face_coordinates_map(1).width/375
illustrator_left := initial_space + set_width + illustrator_brush_width
illustrator_width := max(50 * face_coordinates_map(1).width/375, card_style.illustrator.content_width + 10 * face_coordinates_map(1).width/375)
top_margin := illustrator_left + illustrator_width
additional_credit_brush_width := (if card.additional_credit_brush == "art old" then 31 else if contains(card.additional_credit_brush, match: "wide") then 17 else 14) * face_coordinates_map(1).width/375
additional_credit_left := initial_space + set_width + additional_credit_brush_width
additional_credit_width := max(50 * face_coordinates_map(1).width/375, card_style.additional_credit.content_width + 10 * face_coordinates_map(1).width/375)
bottom_margin := additional_credit_left + additional_credit_width
additional_credit_brush_3_width := (if card.additional_credit_brush_3 == "art old" then 31 else if contains(card.additional_credit_brush_3, match: "wide") then 17 else 14) * face_coordinates_map(1).width/375
max(top_margin, bottom_margin) + additional_credit_brush_3_width + face_coordinates_map(1).left + information_codes_offset_left_1()
)
top:
script:
if face_is_rotated(1) then
(
initial_space := 25 * face_coordinates_map(1).height/375
set_code_space := 4 * face_coordinates_map(1).height/375
set_code_width := if card.set_code == "" then 0 else set_code_space + card_style.set_code.content_width
set_language_width := if card.set_language == "" then 0 else set_code_space + card_style.set_language.content_width
set_width := if card.additional_credit_brush == "none" or (not set.adaptive_language_height) then set_code_width else max(set_code_width, set_language_width)
illustrator_brush_width := (if card.illustrator_brush == "art old" then 31 else if contains(card.illustrator_brush, match: "wide") then 17 else 14) * face_coordinates_map(1).height/375
illustrator_left := initial_space + set_width + illustrator_brush_width
illustrator_width := max(50 * face_coordinates_map(1).height/375, card_style.illustrator.content_width + 10 * face_coordinates_map(1).height/375)
top_margin := illustrator_left + illustrator_width
additional_credit_brush_width := (if card.additional_credit_brush == "art old" then 31 else if contains(card.additional_credit_brush, match: "wide") then 17 else 14) * face_coordinates_map(1).height/375
additional_credit_left := initial_space + set_width + additional_credit_brush_width
additional_credit_width := max(50 * face_coordinates_map(1).height/375, card_style.additional_credit.content_width + 10 * face_coordinates_map(1).height/375)
bottom_margin := additional_credit_left + additional_credit_width
additional_credit_brush_3_width := (if card.additional_credit_brush_3 == "art old" then 31 else if contains(card.additional_credit_brush_3, match: "wide") then 17 else 14) * face_coordinates_map(1).height/375
max(top_margin, bottom_margin) + additional_credit_brush_3_width + face_coordinates_map(1).top + information_codes_offset_left_1()
) else (
509 * face_coordinates_map(1).height/523 + face_coordinates_map(1).top + information_offset_top_1()
)
width:
script:
if face_is_rotated(1) then
(
(if card.additional_credit_brush_3 != "none" and card.additional_credit_brush != "none" then 80 else 0) * face_coordinates_map(1).width/523
) else (
(if card.additional_credit_brush_3 != "none" and card.additional_credit_brush != "none" then 80 else 0) * face_coordinates_map(1).width/375
)
height:
script:
if face_is_rotated(1) then
(
if information_disabled_1() then 0 else 10 * face_coordinates_map(1).height/375
) else (
if information_disabled_1() then 0 else 10 * face_coordinates_map(1).height/523
)
visible: { not information_disabled_1() }
alignment: middle left
font:
name: Beleren Small Caps Bold
size: { 7.25 * 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 }
z index: 900
additional credit brush 3:
angle: { if face_is_rotated(1) then -90 else 0 }
left:
script:
if face_is_rotated(1) then
(
12 * face_coordinates_map(1).width/523 + face_coordinates_map(1).left - information_offset_top_1()
) else (
initial_space := 25 * face_coordinates_map(1).width/375
set_code_space := 4 * face_coordinates_map(1).width/375
set_code_width := if card.set_code == "" then 0 else set_code_space + card_style.set_code.content_width
set_language_width := if card.set_language == "" then 0 else set_code_space + card_style.set_language.content_width
set_width := if card.additional_credit_brush == "none" or (not set.adaptive_language_height) then set_code_width else max(set_code_width, set_language_width)
illustrator_brush_width := (if card.illustrator_brush == "art old" then 31 else if contains(card.illustrator_brush, match: "wide") then 17 else 14) * face_coordinates_map(1).width/375
illustrator_left := initial_space + set_width + illustrator_brush_width
illustrator_width := max(50 * face_coordinates_map(1).width/375, card_style.illustrator.content_width + 10 * face_coordinates_map(1).width/375)
top_margin := illustrator_left + illustrator_width
additional_credit_brush_width := (if card.additional_credit_brush == "art old" then 31 else if contains(card.additional_credit_brush, match: "wide") then 17 else 14) * face_coordinates_map(1).width/375
additional_credit_left := initial_space + set_width + additional_credit_brush_width
additional_credit_width := max(50 * face_coordinates_map(1).width/375, card_style.additional_credit.content_width + 10 * face_coordinates_map(1).width/375)
bottom_margin := additional_credit_left + additional_credit_width
max(top_margin, bottom_margin) + face_coordinates_map(1).left + information_codes_offset_left_1()
)
top:
script:
if face_is_rotated(1) then
(
initial_space := 25 * face_coordinates_map(1).height/375
set_code_space := 4 * face_coordinates_map(1).height/375
set_code_width := if card.set_code == "" then 0 else set_code_space + card_style.set_code.content_width
set_language_width := if card.set_language == "" then 0 else set_code_space + card_style.set_language.content_width
set_width := if card.additional_credit_brush == "none" or (not set.adaptive_language_height) then set_code_width else max(set_code_width, set_language_width)
illustrator_brush_width := (if card.illustrator_brush == "art old" then 31 else if contains(card.illustrator_brush, match: "wide") then 17 else 14) * face_coordinates_map(1).height/375
illustrator_left := initial_space + set_width + illustrator_brush_width
illustrator_width := max(50 * face_coordinates_map(1).height/375, card_style.illustrator.content_width + 10 * face_coordinates_map(1).height/375)
top_margin := illustrator_left + illustrator_width
additional_credit_brush_width := (if card.additional_credit_brush == "art old" then 31 else if contains(card.additional_credit_brush, match: "wide") then 17 else 14) * face_coordinates_map(1).height/375
additional_credit_left := initial_space + set_width + additional_credit_brush_width
additional_credit_width := max(50 * face_coordinates_map(1).height/375, card_style.additional_credit.content_width + 10 * face_coordinates_map(1).height/375)
bottom_margin := additional_credit_left + additional_credit_width
max(top_margin, bottom_margin) + face_coordinates_map(1).top + information_codes_offset_left_1()
) else (
511 * face_coordinates_map(1).height/523 + face_coordinates_map(1).top + information_offset_top_1()
)
width:
script:
if face_is_rotated(1) then
(
(if card.additional_credit_brush_3 == "art old" then 30 else if contains(card.additional_credit_brush_3, match: "wide") then 15 else 12) * face_coordinates_map(1).width/523
) else (
(if card.additional_credit_brush_3 == "art old" then 30 else if contains(card.additional_credit_brush_3, match: "wide") then 15 else 12) * face_coordinates_map(1).width/375
)
height:
script:
if face_is_rotated(1) then
(
7 * face_coordinates_map(1).height/375
) else (
7 * face_coordinates_map(1).height/523
)
visible: { card.additional_credit_brush != "none" and not information_disabled_1() }
popup style: in place
include file: /magic.mse-game/information/menu_choice_images
render style: image
image: { additional_credit_brush_image(field: 3) }
z index: 900
copyright:
angle: { if face_is_rotated(1) then -90 else 0 }
right:
script:
if face_is_rotated(1) then
(
(if card.pt != "" or card.loyalty != "" then 21 + information_secondary_offset_pt_left_1() else if card.secondary_copyright != "" then 23 else 33) * face_coordinates_map(1).width/523 +
face_coordinates_map(1).left - information_offset_top_1()
) else (
351 * face_coordinates_map(1).width/375 + face_coordinates_map(1).left + information_copyright_offset_right_1()
)
top:
script:
if face_is_rotated(1) then
(
351 * face_coordinates_map(1).height/375 + face_coordinates_map(1).top + information_copyright_offset_right_1()
) else (
(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:
if face_is_rotated(1) then
(
if set.automatic_copyright then 0 else 140 * face_coordinates_map(1).width/523
) else (
if set.automatic_copyright then 0 else 140 * face_coordinates_map(1).width/375
)
height:
script:
if face_is_rotated(1) then
(
if information_disabled_1() then 0 else 10 * face_coordinates_map(1).height/375
) else (
if information_disabled_1() then 0 else 10 * face_coordinates_map(1).height/523
)
visible: { not information_disabled_1() }
alignment: 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
auto copyright:
angle: { if face_is_rotated(1) then -90 else 0 }
right:
script:
if face_is_rotated(1) then
(
(if card.pt != "" or card.loyalty != "" then 21 + information_secondary_offset_pt_left_1() else if card.secondary_copyright != "" then 23 else 33) * face_coordinates_map(1).width/523 + face_coordinates_map(1).left - information_offset_top_1()
) else (
351 * face_coordinates_map(1).width/375 + face_coordinates_map(1).left + information_copyright_offset_right_1()
)
top:
script:
if face_is_rotated(1) then
(
351 * face_coordinates_map(1).height/375 + face_coordinates_map(1).top + information_copyright_offset_right_1()
) else (
(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:
if face_is_rotated(1) then
(
if set.automatic_copyright then 140 * face_coordinates_map(1).width/523 else 0
) else (
if set.automatic_copyright then 140 * face_coordinates_map(1).width/375 else 0
)
height:
script:
if face_is_rotated(1) then
(
if information_disabled_1() then 0 else 10 * face_coordinates_map(1).height/375
) else (
if information_disabled_1() then 0 else 10 * face_coordinates_map(1).height/523
)
visible: { not information_disabled_1() }
alignment: 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
secondary copyright:
angle: { if face_is_rotated(1) then -90 else 0 }
left:
script:
if face_is_rotated(1) then
(
33 * face_coordinates_map(1).width/523 + face_coordinates_map(1).left - information_offset_top_1()
) else (
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
max(min(needed, aligned), 211 * face_coordinates_map(1).width/375)
)
top:
script:
if face_is_rotated(1) then
(
211 * face_coordinates_map(1).height/375 + face_coordinates_map(1).top + information_copyright_offset_right_1()
) else (
490 * face_coordinates_map(1).height/523 + face_coordinates_map(1).top + information_offset_top_1()
)
width:
script:
if face_is_rotated(1) then
(
140 * face_coordinates_map(1).width/523
) else (
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 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:
script:
if face_is_rotated(1) then
(
if information_disabled_1() then 0 else 10 * face_coordinates_map(1).height/375
) else (
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 != "") 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
include file: /magic-modules.mse-include/information/list_field

View File

@@ -0,0 +1,471 @@
include file: /magic-modules.mse-include/information/card_fields
card style:
set code 2:
angle: { if face_is_rotated(2) then -90 else 0 }
left:
script:
if face_is_rotated(2) then
(
24 * face_coordinates_map(2).width/523 + face_coordinates_map(2).left - information_offset_top_2()
) else (
24 * face_coordinates_map(2).width/375 + face_coordinates_map(2).left + information_codes_offset_left_2()
)
top:
script:
if face_is_rotated(2) then
(
24 * face_coordinates_map(2).height/375 + face_coordinates_map(2).top + information_codes_offset_left_2()
) else (
499 * face_coordinates_map(2).height/523 + face_coordinates_map(2).top + information_offset_top_2()
)
width:
script:
if face_is_rotated(2) then
(
40 * face_coordinates_map(2).width/523
) else (
40 * face_coordinates_map(2).width/375
)
height:
script:
if face_is_rotated(2) then
(
if information_disabled_2() then 0 else 10 * face_coordinates_map(2).height/375
) else (
if information_disabled_2() then 0 else 10 * face_coordinates_map(2).height/523
)
visible: { not information_disabled_2() }
alignment: middle left
font:
name: Relay-Medium
size: { 7 * face_coordinates_map(2).height/(if face_is_rotated(2) then 375 else 523) }
color: { styling.copyright_text_color or else set.copyright_text_color }
weight: bold
z index: 900
set language 2:
angle: { if face_is_rotated(2) then -90 else 0 }
left:
script:
if face_is_rotated(2) then
(
14 * face_coordinates_map(2).width/523 + face_coordinates_map(2).left - information_offset_top_2()
) else (
24 * face_coordinates_map(2).width/375 + face_coordinates_map(2).left + information_codes_offset_left_2()
)
top:
script:
if face_is_rotated(2) then
(
24 * face_coordinates_map(2).height/375 + face_coordinates_map(2).top + information_codes_offset_left_2()
) else (
509 * face_coordinates_map(2).height/523 + face_coordinates_map(2).top + information_offset_top_2()
)
width:
script:
if face_is_rotated(2) then
(
code := if is_masterpiece() then set.masterpiece_set_code else set.set_code
if card.additional_credit_brush_4 == "none" or (not set.adaptive_language_height) or code == "" then 0
else 40 * face_coordinates_map(2).width/523
) else (
code := if is_masterpiece() then set.masterpiece_set_code else set.set_code
if card.additional_credit_brush_4 == "none" or (not set.adaptive_language_height) or code == "" then 0
else 40 * face_coordinates_map(2).width/375
)
height:
script:
if face_is_rotated(2) then
(
if information_disabled_2() then 0 else 10 * face_coordinates_map(2).height/375
) else (
if information_disabled_2() then 0 else 10 * face_coordinates_map(2).height/523
)
alignment: middle left
visible: { not information_disabled_2() }
font:
name: Relay-Medium
size: { 7 * face_coordinates_map(2).height/(if face_is_rotated(2) then 375 else 523) }
color: { styling.copyright_text_color or else set.copyright_text_color }
weight: bold
z index: 900
card code 2:
angle: { if face_is_rotated(2) then -90 else 0 }
left:
script:
if face_is_rotated(2) then
(
34 * face_coordinates_map(2).width/523 + face_coordinates_map(2).left - information_offset_top_2()
) else (
24 * face_coordinates_map(2).width/375 + face_coordinates_map(2).left + information_codes_offset_left_2()
)
top:
script:
if face_is_rotated(2) then
(
24 * face_coordinates_map(2).height/375 + face_coordinates_map(2).top + information_codes_offset_left_2()
) else (
489 * face_coordinates_map(2).height/523 + face_coordinates_map(2).top + information_offset_top_2()
)
width:
script:
if face_is_rotated(2) then
(
120 * face_coordinates_map(2).width/523
) else (
120 * face_coordinates_map(2).width/375
)
height:
script:
if face_is_rotated(2) then
(
if information_disabled_2() then 0 else 10 * face_coordinates_map(2).height/375
) else (
if information_disabled_2() then 0 else 10 * face_coordinates_map(2).height/523
)
visible: { not information_disabled_2() }
alignment: middle left
font:
name: Relay-Medium
size: { 7 * face_coordinates_map(2).height/(if face_is_rotated(2) then 375 else 523) }
color: { styling.copyright_text_color or else set.copyright_text_color }
weight: bold
z index: 900
illustrator 2:
angle: { if face_is_rotated(2) then -90 else 0 }
left:
script:
if face_is_rotated(2) then
(
24 * face_coordinates_map(2).width/523 + face_coordinates_map(2).left - information_offset_top_2()
) else (
initial_space := 25 * face_coordinates_map(2).width/375
set_code_space := 4 * face_coordinates_map(2).width/375
set_code_width := if card.set_code_2 == "" then 0 else (set_code_space + card_style.set_code_2.content_width)
set_language_width := if card.set_language_2 == "" then 0 else (set_code_space + card_style.set_language_2.content_width)
set_width := if card.additional_credit_brush_4 == "none" or (not set.adaptive_language_height) then set_code_width else max(set_code_width, set_language_width)
illustrator_brush_width := (if card.illustrator_brush_2 == "art old" then 31 else if contains(card.illustrator_brush_2, match: "wide") then 17 else 14) * face_coordinates_map(2).width/375
initial_space + set_width + illustrator_brush_width + face_coordinates_map(2).left + information_codes_offset_left_2()
)
top:
script:
if face_is_rotated(2) then
(
initial_space := 25 * face_coordinates_map(2).height/375
set_code_space := 4 * face_coordinates_map(2).height/375
set_code_width := if card.set_code_2 == "" then 0 else (set_code_space + card_style.set_code_2.content_width)
set_language_width := if card.set_language_2 == "" then 0 else (set_code_space + card_style.set_language_2.content_width)
set_width := if card.additional_credit_brush_4 == "none" or (not set.adaptive_language_height) then set_code_width else max(set_code_width, set_language_width)
illustrator_brush_width := (if card.illustrator_brush_2 == "art old" then 31 else if contains(card.illustrator_brush_2, match: "wide") then 17 else 14) * face_coordinates_map(2).height/375
initial_space + set_width + illustrator_brush_width + face_coordinates_map(2).top + information_codes_offset_left_2()
) else (
499 * face_coordinates_map(2).height/523 + face_coordinates_map(2).top + information_offset_top_2()
)
width:
script:
if face_is_rotated(2) then
(
max(50 * face_coordinates_map(2).width/523, card_style.illustrator_2.content_width + 10 * face_coordinates_map(2).width/523)
) else (
max(50 * face_coordinates_map(2).width/375, card_style.illustrator_2.content_width + 10 * face_coordinates_map(2).width/375)
)
height:
script:
if face_is_rotated(2) then
(
if information_disabled_2() then 0 else 10 * face_coordinates_map(2).height/375
) else (
if information_disabled_2() then 0 else 10 * face_coordinates_map(2).height/523
)
visible: { not information_disabled_2() }
alignment: middle left
font:
name: Beleren Small Caps Bold
size: { 7.25 * face_coordinates_map(2).height/(if face_is_rotated(2) then 375 else 523) }
color: { styling.copyright_text_color or else set.copyright_text_color }
z index: 900
illustrator brush 2:
angle: { if face_is_rotated(2) then -90 else 0 }
left:
script:
if face_is_rotated(2) then
(
22 * face_coordinates_map(2).width/523 + face_coordinates_map(2).left - information_offset_top_2()
) else (
initial_space := 25 * face_coordinates_map(2).width/375
set_code_space := 4 * face_coordinates_map(2).width/375
set_code_width := if card.set_code_2 == "" then 0 else (set_code_space + card_style.set_code_2.content_width)
set_language_width := if card.set_language_2 == "" then 0 else (set_code_space + card_style.set_language_2.content_width)
set_width := if card.additional_credit_brush_4 == "none" or (not set.adaptive_language_height) then set_code_width else max(set_code_width, set_language_width)
initial_space + set_width + face_coordinates_map(2).left + information_codes_offset_left_2()
)
top:
script:
if face_is_rotated(2) then
(
initial_space := 25 * face_coordinates_map(2).height/375
set_code_space := 4 * face_coordinates_map(2).height/375
set_code_width := if card.set_code_2 == "" then 0 else (set_code_space + card_style.set_code_2.content_width)
set_language_width := if card.set_language_2 == "" then 0 else (set_code_space + card_style.set_language_2.content_width)
set_width := if card.additional_credit_brush_4 == "none" or (not set.adaptive_language_height) then set_code_width else max(set_code_width, set_language_width)
initial_space + set_width + face_coordinates_map(2).top + information_codes_offset_left_2()
) else (
501 * face_coordinates_map(2).height/523 + face_coordinates_map(2).top + information_offset_top_2()
)
width:
script:
if face_is_rotated(2) then
(
(if card.illustrator_brush_2 == "art old" then 30 else if contains(card.illustrator_brush_2, match: "wide") then 15 else 12) * face_coordinates_map(2).width/523
) else (
(if card.illustrator_brush_2 == "art old" then 30 else if contains(card.illustrator_brush_2, match: "wide") then 15 else 12) * face_coordinates_map(2).width/375
)
height:
script:
if face_is_rotated(2) then
(
if information_disabled_2() then 0 else 7 * face_coordinates_map(2).height/375
) else (
if information_disabled_2() then 0 else 7 * face_coordinates_map(2).height/523
)
visible: { not information_disabled_2() }
popup style: in place
include file: /magic.mse-game/information/menu_choice_images
render style: image
image: { illustrator_brush_image(field: 2) }
z index: 900
additional credit 4:
angle: { if face_is_rotated(2) then -90 else 0 }
left:
script:
if face_is_rotated(2) then
(
14 * face_coordinates_map(2).width/523 + face_coordinates_map(2).left - information_offset_top_2()
) else (
initial_space := 25 * face_coordinates_map(2).width/375
set_code_space := 4 * face_coordinates_map(2).width/375
set_code_width := if card.set_code_2 == "" then 0 else (set_code_space + card_style.set_code_2.content_width)
set_language_width := if card.set_language_2 == "" then 0 else (set_code_space + card_style.set_language_2.content_width)
set_width := if card.additional_credit_brush_4 == "none" or (not set.adaptive_language_height) then set_code_width else max(set_code_width, set_language_width)
additional_credit_brush_width := (if card.additional_credit_brush_4 == "art old" then 31 else if contains(card.additional_credit_brush_4, match: "wide") then 17 else 14) * face_coordinates_map(2).width/375
initial_space + set_width + additional_credit_brush_width + face_coordinates_map(2).left + information_codes_offset_left_2()
)
top:
script:
if face_is_rotated(2) then
(
initial_space := 25 * face_coordinates_map(2).height/375
set_code_space := 4 * face_coordinates_map(2).height/375
set_code_width := if card.set_code_2 == "" then 0 else (set_code_space + card_style.set_code_2.content_width)
set_language_width := if card.set_language_2 == "" then 0 else (set_code_space + card_style.set_language_2.content_width)
set_width := if card.additional_credit_brush_4 == "none" or (not set.adaptive_language_height) then set_code_width else max(set_code_width, set_language_width)
additional_credit_brush_width := (if card.additional_credit_brush_4 == "art old" then 31 else if contains(card.additional_credit_brush_4, match: "wide") then 17 else 14) * face_coordinates_map(2).height/375
initial_space + set_width + additional_credit_brush_width + face_coordinates_map(2).top + information_codes_offset_left_2()
) else (
509 * face_coordinates_map(2).height/523 + face_coordinates_map(2).top + information_offset_top_2()
)
width:
script:
if face_is_rotated(2) then
(
if card.additional_credit_brush_4 == "none" then 0 else max(50 * face_coordinates_map(2).width/523, card_style.additional_credit_4.content_width + 10 * face_coordinates_map(2).width/523)
) else (
if card.additional_credit_brush_4 == "none" then 0 else max(50 * face_coordinates_map(2).width/375, card_style.additional_credit_4.content_width + 10 * face_coordinates_map(2).width/375)
)
height:
script:
if face_is_rotated(2) then
(
if information_disabled_2() then 0 else 10 * face_coordinates_map(2).height/375
) else (
if information_disabled_2() then 0 else 10 * face_coordinates_map(2).height/523
)
visible: { not information_disabled_2() }
alignment: middle left
font:
name: Beleren Small Caps Bold
size: { 7.25 * face_coordinates_map(2).height/(if face_is_rotated(2) then 375 else 523) }
color: { styling.copyright_text_color or else set.copyright_text_color }
z index: 900
additional credit brush 4:
angle: { if face_is_rotated(2) then -90 else 0 }
left:
script:
if face_is_rotated(2) then
(
12 * face_coordinates_map(2).width/523 + face_coordinates_map(2).left - information_offset_top_2()
) else (
initial_space := 25 * face_coordinates_map(2).width/375
set_code_space := 4 * face_coordinates_map(2).width/375
set_code_width := if card.set_code_2 == "" then 0 else set_code_space + card_style.set_code_2.content_width
set_language_width := if card.set_language_2 == "" then 0 else set_code_space + card_style.set_language_2.content_width
set_width := if card.additional_credit_brush_4 == "none" or (not set.adaptive_language_height) then set_code_width else max(set_code_width, set_language_width)
initial_space + set_width + face_coordinates_map(2).left + information_codes_offset_left_2()
)
top:
script:
if face_is_rotated(2) then
(
initial_space := 25 * face_coordinates_map(2).height/375
set_code_space := 4 * face_coordinates_map(2).height/375
set_code_width := if card.set_code_2 == "" then 0 else set_code_space + card_style.set_code_2.content_width
set_language_width := if card.set_language_2 == "" then 0 else set_code_space + card_style.set_language_2.content_width
set_width := if card.additional_credit_brush_4 == "none" or (not set.adaptive_language_height) then set_code_width else max(set_code_width, set_language_width)
initial_space + set_width + face_coordinates_map(2).top + information_codes_offset_left_2()
) else (
511 * face_coordinates_map(2).height/523 + face_coordinates_map(2).top + information_offset_top_2()
)
width:
script:
if face_is_rotated(2) then
(
(if card.additional_credit_brush_4 == "art old" then 30 else if contains(card.additional_credit_brush_4, match: "wide") then 15 else 12) * face_coordinates_map(2).width/523
) else (
(if card.additional_credit_brush_4 == "art old" then 30 else if contains(card.additional_credit_brush_4, match: "wide") then 15 else 12) * face_coordinates_map(2).width/375
)
height:
script:
if face_is_rotated(2) then
(
if information_disabled_2() then 0 else 7 * face_coordinates_map(2).height/375
) else (
if information_disabled_2() then 0 else 7 * face_coordinates_map(2).height/523
)
visible: { not information_disabled_2() }
popup style: in place
include file: /magic.mse-game/information/menu_choice_images
render style: image
image: { additional_credit_brush_image(field: 4) }
z index: 900
copyright 2:
angle: { if face_is_rotated(2) then -90 else 0 }
right:
script:
if face_is_rotated(2) then
(
(if card.pt_2 != "" or card.loyalty_2 != "" then 21 + information_secondary_offset_pt_left_2() else if card.secondary_copyright_2 != "" then 23 else 33) * face_coordinates_map(2).width/523 + face_coordinates_map(2).left - information_offset_top_2()
) else (
351 * face_coordinates_map(2).width/375 + face_coordinates_map(2).left + information_copyright_offset_right_2()
)
top:
script:
if face_is_rotated(2) then
(
351 * face_coordinates_map(2).height/375 + face_coordinates_map(2).top + information_copyright_offset_right_2()
) else (
(if card.pt_2 != "" or card.loyalty_2 != "" then 502 + information_copyright_offset_pt_top_2() else if card.secondary_copyright_2 != "" then 500 else 490) * face_coordinates_map(2).height/523 + face_coordinates_map(2).top + information_offset_top_2()
)
width:
script:
if face_is_rotated(2) then
(
if set.automatic_copyright then 0 else 140 * face_coordinates_map(2).width/523
) else (
if set.automatic_copyright then 0 else 140 * face_coordinates_map(2).width/375
)
height:
script:
if face_is_rotated(2) then
(
if information_disabled_2() then 0 else 10 * face_coordinates_map(2).height/375
) else (
if information_disabled_2() then 0 else 10 * face_coordinates_map(2).height/523
)
visible: { not information_disabled_2() }
alignment: middle right shrink-overflow
font:
name: MPlantin
size: { 6.5 * face_coordinates_map(2).height/(if face_is_rotated(2) then 375 else 523) }
color: { styling.copyright_text_color or else set.copyright_text_color }
weight: bold
z index: 900
auto copyright 2:
angle: { if face_is_rotated(2) then -90 else 0 }
right:
script:
if face_is_rotated(2) then
(
(if card.pt_2 != "" or card.loyalty_2 != "" then 21 + information_secondary_offset_pt_left_2() else if card.secondary_copyright_2 != "" then 23 else 33) * face_coordinates_map(2).width/523 + face_coordinates_map(2).left - information_offset_top_2()
) else (
351 * face_coordinates_map(2).width/375 + face_coordinates_map(2).left + information_copyright_offset_right_2()
)
top:
script:
if face_is_rotated(2) then
(
351 * face_coordinates_map(2).height/375 + face_coordinates_map(2).top + information_copyright_offset_right_2()
) else (
(if card.pt_2 != "" or card.loyalty_2 != "" then 502 + information_copyright_offset_pt_top_2() else if card.secondary_copyright_2 != "" then 500 else 490) * face_coordinates_map(2).height/523 + face_coordinates_map(2).top + information_offset_top_2()
)
width:
script:
if face_is_rotated(2) then
(
if set.automatic_copyright then 140 * face_coordinates_map(2).width/523 else 0
) else (
if set.automatic_copyright then 140 * face_coordinates_map(2).width/375 else 0
)
height:
script:
if face_is_rotated(2) then
(
if information_disabled_2() then 0 else 10 * face_coordinates_map(2).height/375
) else (
if information_disabled_2() then 0 else 10 * face_coordinates_map(2).height/523
)
visible: { not information_disabled_2() }
alignment: middle right shrink-overflow
font:
name: MPlantin
size: { 6.5 * face_coordinates_map(2).height/(if face_is_rotated(2) then 375 else 523) }
color: { styling.copyright_text_color or else set.copyright_text_color }
weight: bold
z index: 900
secondary copyright 2:
angle: { if face_is_rotated(2) then -90 else 0 }
left:
script:
if face_is_rotated(2) then
(
33 * face_coordinates_map(2).width/523 + face_coordinates_map(2).left - information_offset_top_2()
) else (
needed := (255 + information_secondary_offset_pt_left_2() - if length(card.secondary_copyright_2) > 9 then 45 else if length(card.secondary_copyright_2) > 6 then 25 else if length(card.secondary_copyright_2) > 4 then 10 else 0) * face_coordinates_map(2).width/375 + face_coordinates_map(2).left
aligned := 351 * face_coordinates_map(2).width/375 + information_copyright_offset_right_2() - (if set.automatic_copyright then card_style.auto_copyright_2.content_width else card_style.copyright_2.content_width) + face_coordinates_map(2).left
max(min(needed, aligned), 211 * face_coordinates_map(2).width/375)
)
top:
script:
if face_is_rotated(2) then
(
211 * face_coordinates_map(2).height/375 + face_coordinates_map(2).top + information_copyright_offset_right_2()
) else (
490 * face_coordinates_map(2).height/523 + face_coordinates_map(2).top + information_offset_top_2()
)
width:
script:
if face_is_rotated(2) then
(
140 * face_coordinates_map(2).width/523
) else (
needed := (255 + information_secondary_offset_pt_left_2() - if length(card.secondary_copyright_2) > 9 then 45 else if length(card.secondary_copyright_2) > 6 then 25 else if length(card.secondary_copyright_2) > 4 then 10 else 0) * face_coordinates_map(2).width/375 + face_coordinates_map(2).left
aligned := 351 * face_coordinates_map(2).width/375 + information_copyright_offset_right_2() - (if set.automatic_copyright then card_style.auto_copyright_2.content_width else card_style.copyright_2.content_width) + face_coordinates_map(2).left
left := max(min(needed, aligned), 211 * face_coordinates_map(2).width/375)
right := (if not information_secondary_shift_with_pt_2() then 351 else if card.pt_2 != "" then 279 + information_secondary_offset_pt_left_2() else if card.loyalty_2 != "" then 295 + information_secondary_offset_pt_left_2() else 351) * face_coordinates_map(2).width/375 + face_coordinates_map(2).left + information_copyright_offset_right_2()
right - left
)
height:
script:
if face_is_rotated(2) then
(
if information_disabled_2() then 0 else 10 * face_coordinates_map(2).height/375
) else (
if information_disabled_2() then 0 else 10 * face_coordinates_map(2).height/523
)
visible: { not information_disabled_2() }
alignment: { if (card.pt_2 != "" or card.loyalty_2 != "") and information_secondary_shift_with_pt_2() then "middle left shrink-overflow" else "middle right shrink-overflow" }
font:
name: MPlantin
size: { 6.5 * face_coordinates_map(2).height/(if face_is_rotated(2) then 375 else 523) }
color: { styling.copyright_text_color or else set.copyright_text_color }
weight: bold
z index: 900
include file: /magic-modules.mse-include/information/list_field_dfc

View File

@@ -0,0 +1,510 @@
include file: /magic-modules.mse-include/information/card_fields_dfc
card style:
set code 3:
angle: { if face_is_rotated(3) then -90 else 0 }
left:
script:
if face_is_rotated(3) then
(
24 * face_coordinates_map(3).width/523 + face_coordinates_map(3).left - information_offset_top_3()
) else (
24 * face_coordinates_map(3).width/375 + face_coordinates_map(3).left + information_codes_offset_left_3()
)
top:
script:
if face_is_rotated(3) then
(
24 * face_coordinates_map(3).height/375 + face_coordinates_map(3).top + information_codes_offset_left_3()
) else (
499 * face_coordinates_map(3).height/523 + face_coordinates_map(3).top + information_offset_top_3()
)
width:
script:
if face_is_rotated(3) then
(
40 * face_coordinates_map(3).width/523
) else (
40 * face_coordinates_map(3).width/375
)
height:
script:
if face_is_rotated(3) then
(
if information_disabled_3() then 0 else 10 * face_coordinates_map(3).height/375
) else (
if information_disabled_3() then 0 else 10 * face_coordinates_map(3).height/523
)
visible: { not information_disabled_3() }
alignment: middle left
font:
name: Relay-Medium
size: { 7 * face_coordinates_map(3).height/(if face_is_rotated(3) then 375 else 523) }
color: { styling.copyright_text_color or else set.copyright_text_color }
weight: bold
z index: 900
set language 3:
angle: { if face_is_rotated(3) then -90 else 0 }
left:
script:
if face_is_rotated(3) then
(
14 * face_coordinates_map(3).width/523 + face_coordinates_map(3).left - information_offset_top_3()
) else (
24 * face_coordinates_map(3).width/375 + face_coordinates_map(3).left + information_codes_offset_left_3()
)
top:
script:
if face_is_rotated(3) then
(
24 * face_coordinates_map(3).height/375 + face_coordinates_map(3).top + information_codes_offset_left_3()
) else (
509 * face_coordinates_map(3).height/523 + face_coordinates_map(3).top + information_offset_top_3()
)
width:
script:
if face_is_rotated(3) then
(
code := if is_masterpiece() then set.masterpiece_set_code else set.set_code
if card.additional_credit_brush_5 == "none" or (not set.adaptive_language_height) or code == "" then 0
else 40 * face_coordinates_map(3).width/523
) else (
code := if is_masterpiece() then set.masterpiece_set_code else set.set_code
if card.additional_credit_brush_5 == "none" or (not set.adaptive_language_height) or code == "" then 0
else 40 * face_coordinates_map(3).width/375
)
height:
script:
if face_is_rotated(3) then
(
if information_disabled_3() then 0 else 10 * face_coordinates_map(3).height/375
) else (
if information_disabled_3() then 0 else 10 * face_coordinates_map(3).height/523
)
visible: { not information_disabled_3() }
alignment: middle left
font:
name: Relay-Medium
size: { 7 * face_coordinates_map(3).height/(if face_is_rotated(3) then 375 else 523) }
color: { styling.copyright_text_color or else set.copyright_text_color }
weight: bold
z index: 900
card code 3:
angle: { if face_is_rotated(3) then -90 else 0 }
left:
script:
if face_is_rotated(3) then
(
34 * face_coordinates_map(3).width/523 + face_coordinates_map(3).left - information_offset_top_3()
) else (
24 * face_coordinates_map(3).width/375 + face_coordinates_map(3).left + information_codes_offset_left_3()
)
top:
script:
if face_is_rotated(3) then
(
24 * face_coordinates_map(3).height/375 + face_coordinates_map(3).top + information_codes_offset_left_3()
) else (
489 * face_coordinates_map(3).height/523 + face_coordinates_map(3).top + information_offset_top_3()
)
width:
script:
if face_is_rotated(3) then
(
120 * face_coordinates_map(3).width/523
) else (
120 * face_coordinates_map(3).width/375
)
height:
script:
if face_is_rotated(3) then
(
if information_disabled_3() then 0 else 10 * face_coordinates_map(3).height/375
) else (
if information_disabled_3() then 0 else 10 * face_coordinates_map(3).height/523
)
visible: { not information_disabled_3() }
alignment: middle left
font:
name: Relay-Medium
size: { 7 * face_coordinates_map(3).height/(if face_is_rotated(3) then 375 else 523) }
color: { styling.copyright_text_color or else set.copyright_text_color }
weight: bold
z index: 900
illustrator 3:
angle: { if face_is_rotated(3) then -90 else 0 }
left:
script:
if face_is_rotated(3) then
(
24 * face_coordinates_map(3).width/523 + face_coordinates_map(3).left - information_offset_top_3()
) else (
initial_space := 25 * face_coordinates_map(3).width/375
set_code_space := 4 * face_coordinates_map(3).width/375
set_code_width := if card.set_code_3 == "" then 0 else (set_code_space + card_style.set_code_3.content_width)
set_language_width := if card.set_language_3 == "" then 0 else (set_code_space + card_style.set_language_3.content_width)
set_width := if card.additional_credit_brush_5 == "none" or (not set.adaptive_language_height) then set_code_width else max(set_code_width, set_language_width)
illustrator_brush_width := (if card.illustrator_brush_3 == "art old" then 31 else if contains(card.illustrator_brush_3, match: "wide") then 17 else 14) * face_coordinates_map(3).width/375
initial_space + set_width + illustrator_brush_width + face_coordinates_map(3).left + information_codes_offset_left_3()
)
top:
script:
if face_is_rotated(3) then
(
initial_space := 25 * face_coordinates_map(3).height/375
set_code_space := 4 * face_coordinates_map(3).height/375
set_code_width := if card.set_code_3 == "" then 0 else (set_code_space + card_style.set_code_3.content_width)
set_language_width := if card.set_language_3 == "" then 0 else (set_code_space + card_style.set_language_3.content_width)
set_width := if card.additional_credit_brush_5 == "none" or (not set.adaptive_language_height) then set_code_width else max(set_code_width, set_language_width)
illustrator_brush_width := (if card.illustrator_brush_3 == "art old" then 31 else if contains(card.illustrator_brush_3, match: "wide") then 17 else 14) * face_coordinates_map(3).height/375
initial_space + set_width + illustrator_brush_width + face_coordinates_map(3).top + information_codes_offset_left_3()
) else (
499 * face_coordinates_map(3).height/523 + face_coordinates_map(3).top + information_offset_top_3()
)
width:
script:
if face_is_rotated(3) then
(
max(50 * face_coordinates_map(3).width/523, card_style.illustrator_3.content_width + 10 * face_coordinates_map(3).width/523)
) else (
max(50 * face_coordinates_map(3).width/375, card_style.illustrator_3.content_width + 10 * face_coordinates_map(3).width/375)
)
height:
script:
if face_is_rotated(3) then
(
if information_disabled_3() then 0 else 10 * face_coordinates_map(3).height/375
) else (
if information_disabled_3() then 0 else 10 * face_coordinates_map(3).height/523
)
visible: { not information_disabled_3() }
alignment: middle left
font:
name: Beleren Small Caps Bold
size: { 7.25 * face_coordinates_map(3).height/(if face_is_rotated(3) then 375 else 523) }
color: { styling.copyright_text_color or else set.copyright_text_color }
z index: 900
illustrator brush 3:
angle: { if face_is_rotated(3) then -90 else 0 }
left:
script:
if face_is_rotated(3) then
(
22 * face_coordinates_map(3).width/523 + face_coordinates_map(3).left - information_offset_top_3()
) else (
initial_space := 25 * face_coordinates_map(3).width/375
set_code_space := 4 * face_coordinates_map(3).width/375
set_code_width := if card.set_code_3 == "" then 0 else (set_code_space + card_style.set_code_3.content_width)
set_language_width := if card.set_language_3 == "" then 0 else (set_code_space + card_style.set_language_3.content_width)
set_width := if card.additional_credit_brush_5 == "none" or (not set.adaptive_language_height) then set_code_width else max(set_code_width, set_language_width)
initial_space + set_width + face_coordinates_map(3).left + information_codes_offset_left_3()
)
top:
script:
if face_is_rotated(3) then
(
initial_space := 25 * face_coordinates_map(3).height/375
set_code_space := 4 * face_coordinates_map(3).height/375
set_code_width := if card.set_code_3 == "" then 0 else (set_code_space + card_style.set_code_3.content_width)
set_language_width := if card.set_language_3 == "" then 0 else (set_code_space + card_style.set_language_3.content_width)
set_width := if card.additional_credit_brush_5 == "none" or (not set.adaptive_language_height) then set_code_width else max(set_code_width, set_language_width)
initial_space + set_width + face_coordinates_map(3).top + information_codes_offset_left_3()
) else (
501 * face_coordinates_map(3).height/523 + face_coordinates_map(3).top + information_offset_top_3()
)
width:
script:
if face_is_rotated(3) then
(
(if card.illustrator_brush_3 == "art old" then 30 else if contains(card.illustrator_brush_3, match: "wide") then 15 else 12) * face_coordinates_map(3).width/523
) else (
(if card.illustrator_brush_3 == "art old" then 30 else if contains(card.illustrator_brush_3, match: "wide") then 15 else 12) * face_coordinates_map(3).width/375
)
height:
script:
if face_is_rotated(3) then
(
if information_disabled_3() then 0 else 7 * face_coordinates_map(3).height/375
) else (
if information_disabled_3() then 0 else 7 * face_coordinates_map(3).height/523
)
visible: { not information_disabled_3() }
popup style: in place
include file: /magic.mse-game/information/menu_choice_images
render style: image
image: { illustrator_brush_image(field: 3) }
z index: 900
additional credit 5:
angle: { if face_is_rotated(3) then -90 else 0 }
left:
script:
if face_is_rotated(3) then
(
14 * face_coordinates_map(3).width/523 + face_coordinates_map(3).left - information_offset_top_3()
) else (
initial_space := 25 * face_coordinates_map(3).width/375
set_code_space := 4 * face_coordinates_map(3).width/375
set_code_width := if card.set_code_3 == "" then 0 else (set_code_space + card_style.set_code_3.content_width)
set_language_width := if card.set_language_3 == "" then 0 else (set_code_space + card_style.set_language_3.content_width)
set_width := if card.additional_credit_brush_5 == "none" or (not set.adaptive_language_height) then set_code_width else max(set_code_width, set_language_width)
additional_credit_brush_width := (if card.additional_credit_brush_5 == "art old" then 31 else if contains(card.additional_credit_brush_5, match: "wide") then 17 else 14) * face_coordinates_map(3).width/375
initial_space + set_width + additional_credit_brush_width + face_coordinates_map(3).left + information_codes_offset_left_3()
)
top:
script:
if face_is_rotated(3) then
(
initial_space := 25 * face_coordinates_map(3).height/375
set_code_space := 4 * face_coordinates_map(3).height/375
set_code_width := if card.set_code_3 == "" then 0 else (set_code_space + card_style.set_code_3.content_width)
set_language_width := if card.set_language_3 == "" then 0 else (set_code_space + card_style.set_language_3.content_width)
set_width := if card.additional_credit_brush_5 == "none" or (not set.adaptive_language_height) then set_code_width else max(set_code_width, set_language_width)
additional_credit_brush_width := (if card.additional_credit_brush_5 == "art old" then 31 else if contains(card.additional_credit_brush_5, match: "wide") then 17 else 14) * face_coordinates_map(3).height/375
initial_space + set_width + additional_credit_brush_width + face_coordinates_map(3).top + information_codes_offset_left_3()
) else (
509 * face_coordinates_map(3).height/523 + face_coordinates_map(3).top + information_offset_top_3()
)
width:
script:
if face_is_rotated(3) then
(
if card.additional_credit_brush_5 == "none" then 0 else max(50 * face_coordinates_map(3).width/523, card_style.additional_credit_4.content_width + 10 * face_coordinates_map(3).width/523)
) else (
if card.additional_credit_brush_5 == "none" then 0 else max(50 * face_coordinates_map(3).width/375, card_style.additional_credit_4.content_width + 10 * face_coordinates_map(3).width/375)
)
height:
script:
if face_is_rotated(3) then
(
if information_disabled_3() then 0 else 10 * face_coordinates_map(3).height/375
) else (
if information_disabled_3() then 0 else 10 * face_coordinates_map(3).height/523
)
visible: { not information_disabled_3() }
alignment: middle left
font:
name: Beleren Small Caps Bold
size: { 7.25 * face_coordinates_map(3).height/(if face_is_rotated(3) then 375 else 523) }
color: { styling.copyright_text_color or else set.copyright_text_color }
z index: 900
additional credit brush 5:
angle: { if face_is_rotated(3) then -90 else 0 }
left:
script:
if face_is_rotated(3) then
(
12 * face_coordinates_map(3).width/523 + face_coordinates_map(3).left - information_offset_top_3()
) else (
initial_space := 25 * face_coordinates_map(3).width/375
set_code_space := 4 * face_coordinates_map(3).width/375
set_code_width := if card.set_code_3 == "" then 0 else set_code_space + card_style.set_code_3.content_width
set_language_width := if card.set_language_3 == "" then 0 else set_code_space + card_style.set_language_3.content_width
set_width := if card.additional_credit_brush_5 == "none" or (not set.adaptive_language_height) then set_code_width else max(set_code_width, set_language_width)
initial_space + set_width + face_coordinates_map(3).left + information_codes_offset_left_3()
)
top:
script:
if face_is_rotated(3) then
(
initial_space := 25 * face_coordinates_map(3).height/375
set_code_space := 4 * face_coordinates_map(3).height/375
set_code_width := if card.set_code_3 == "" then 0 else set_code_space + card_style.set_code_3.content_width
set_language_width := if card.set_language_3 == "" then 0 else set_code_space + card_style.set_language_3.content_width
set_width := if card.additional_credit_brush_5 == "none" or (not set.adaptive_language_height) then set_code_width else max(set_code_width, set_language_width)
initial_space + set_width + face_coordinates_map(3).top + information_codes_offset_left_3()
) else (
511 * face_coordinates_map(3).height/523 + face_coordinates_map(3).top + information_offset_top_3()
)
width:
script:
if face_is_rotated(3) then
(
(if card.additional_credit_brush_5 == "art old" then 30 else if contains(card.additional_credit_brush_5, match: "wide") then 15 else 12) * face_coordinates_map(3).width/523
) else (
(if card.additional_credit_brush_5 == "art old" then 30 else if contains(card.additional_credit_brush_5, match: "wide") then 15 else 12) * face_coordinates_map(3).width/375
)
height:
script:
if face_is_rotated(3) then
(
if information_disabled_3() then 0 else 7 * face_coordinates_map(3).height/375
) else (
if information_disabled_3() then 0 else 7 * face_coordinates_map(3).height/523
)
visible: { not information_disabled_3() }
popup style: in place
include file: /magic.mse-game/information/menu_choice_images
render style: image
image: { additional_credit_brush_image(field: 5) }
z index: 900
copyright 3:
angle: { if face_is_rotated(3) then -90 else 0 }
right:
script:
if face_is_rotated(3) then
(
(if card.pt_3 != "" or card.loyalty_3 != "" then 21 + information_secondary_offset_pt_left_3() else if card.secondary_copyright_3 != "" then 23 else 33) * face_coordinates_map(3).width/523 + face_coordinates_map(3).left - information_offset_top_3()
) else (
351 * face_coordinates_map(3).width/375 + face_coordinates_map(3).left + information_copyright_offset_right_3()
)
top:
script:
if face_is_rotated(3) then
(
351 * face_coordinates_map(3).height/375 + face_coordinates_map(3).top + information_copyright_offset_right_3()
) else (
(if card.pt_3 != "" or card.loyalty_3 != "" then 502 + information_copyright_offset_pt_top_3() else if card.secondary_copyright_3 != "" then 500 else 490) * face_coordinates_map(3).height/523 + face_coordinates_map(3).top + information_offset_top_3()
)
width:
script:
if face_is_rotated(3) then
(
if set.automatic_copyright then 0 else 140 * face_coordinates_map(3).width/523
) else (
if set.automatic_copyright then 0 else 140 * face_coordinates_map(3).width/375
)
height:
script:
if face_is_rotated(3) then
(
if information_disabled_3() then 0 else 10 * face_coordinates_map(3).height/375
) else (
if information_disabled_3() then 0 else 10 * face_coordinates_map(3).height/523
)
visible: { not information_disabled_3() }
alignment: middle right shrink-overflow
font:
name: MPlantin
size: { 6.5 * face_coordinates_map(3).height/(if face_is_rotated(3) then 375 else 523) }
color: { styling.copyright_text_color or else set.copyright_text_color }
weight: bold
z index: 900
auto copyright 3:
angle: { if face_is_rotated(3) then -90 else 0 }
right:
script:
if face_is_rotated(3) then
(
(if card.pt_3 != "" or card.loyalty_3 != "" then 21 + information_secondary_offset_pt_left_3() else if card.secondary_copyright_3 != "" then 23 else 33) * face_coordinates_map(3).width/523 + face_coordinates_map(3).left - information_offset_top_3()
) else (
351 * face_coordinates_map(3).width/375 + face_coordinates_map(3).left + information_copyright_offset_right_3()
)
top:
script:
if face_is_rotated(3) then
(
351 * face_coordinates_map(3).height/375 + face_coordinates_map(3).top + information_copyright_offset_right_3()
) else (
(if card.pt_3 != "" or card.loyalty_3 != "" then 502 + information_copyright_offset_pt_top_3() else if card.secondary_copyright_3 != "" then 500 else 490) * face_coordinates_map(3).height/523 + face_coordinates_map(3).top + information_offset_top_3()
)
width:
script:
if face_is_rotated(3) then
(
if set.automatic_copyright then 140 * face_coordinates_map(3).width/523 else 0
) else (
if set.automatic_copyright then 140 * face_coordinates_map(3).width/375 else 0
)
height:
script:
if face_is_rotated(3) then
(
if information_disabled_3() then 0 else 10 * face_coordinates_map(3).height/375
) else (
if information_disabled_3() then 0 else 10 * face_coordinates_map(3).height/523
)
visible: { not information_disabled_3() }
alignment: middle right shrink-overflow
font:
name: MPlantin
size: { 6.5 * face_coordinates_map(3).height/(if face_is_rotated(3) then 375 else 523) }
color: { styling.copyright_text_color or else set.copyright_text_color }
weight: bold
z index: 900
secondary copyright 3:
angle: { if face_is_rotated(3) then -90 else 0 }
left:
script:
if face_is_rotated(3) then
(
33 * face_coordinates_map(3).width/523 + face_coordinates_map(3).left - information_offset_top_3()
) else (
needed := (255 + information_secondary_offset_pt_left_3() - if length(card.secondary_copyright_3) > 9 then 45 else if length(card.secondary_copyright_3) > 6 then 25 else if length(card.secondary_copyright_3) > 4 then 10 else 0) * face_coordinates_map(3).width/375 + face_coordinates_map(3).left
aligned := 351 * face_coordinates_map(3).width/375 + information_copyright_offset_right_3() - (if set.automatic_copyright then card_style.auto_copyright_3.content_width else card_style.copyright_3.content_width) + face_coordinates_map(3).left
max(min(needed, aligned), 211 * face_coordinates_map(3).width/375)
)
top:
script:
if face_is_rotated(3) then
(
211 * face_coordinates_map(3).height/375 + face_coordinates_map(3).top + information_copyright_offset_right_3()
) else (
490 * face_coordinates_map(3).height/523 + face_coordinates_map(3).top + information_offset_top_3()
)
width:
script:
if face_is_rotated(3) then
(
140 * face_coordinates_map(3).width/523
) else (
needed := (255 + information_secondary_offset_pt_left_3() - if length(card.secondary_copyright_3) > 9 then 45 else if length(card.secondary_copyright_3) > 6 then 25 else if length(card.secondary_copyright_3) > 4 then 10 else 0) * face_coordinates_map(3).width/375 + face_coordinates_map(3).left
aligned := 351 * face_coordinates_map(3).width/375 + information_copyright_offset_right_3() - (if set.automatic_copyright then card_style.auto_copyright_3.content_width else card_style.copyright_3.content_width) + face_coordinates_map(3).left
left := max(min(needed, aligned), 211 * face_coordinates_map(3).width/375)
right := (if not information_secondary_shift_with_pt_3() then 351 else if card.pt_3 != "" then 279 + information_secondary_offset_pt_left_3() else if card.loyalty_3 != "" then 295 + information_secondary_offset_pt_left_3() else 351) * face_coordinates_map(3).width/375 + face_coordinates_map(3).left + information_copyright_offset_right_3()
right - left
)
height:
script:
if face_is_rotated(3) then
(
if information_disabled_3() then 0 else 10 * face_coordinates_map(3).height/375
) else (
if information_disabled_3() then 0 else 10 * face_coordinates_map(3).height/523
)
visible: { not information_disabled_3() }
alignment: { if (card.pt_3 != "" or card.loyalty_3 != "") and information_secondary_shift_with_pt_3() then "middle left shrink-overflow" else "middle right shrink-overflow" }
font:
name: MPlantin
size: { 6.5 * face_coordinates_map(3).height/(if face_is_rotated(3) then 375 else 523) }
color: { styling.copyright_text_color or else set.copyright_text_color }
weight: bold
z index: 900
the list icon 3:
angle: { if face_is_rotated(3) then -90 else 0 }
left:
script:
if face_is_rotated(3) then
(
face_coordinates_map(3).left - information_offset_top_3()
) else (
face_coordinates_map(3).left + information_codes_offset_left_3()
)
bottom:
script:
if face_is_rotated(3) then
(
face_coordinates_map(3).top + information_codes_offset_left_3()
) else (
face_coordinates_map(3).height + face_coordinates_map(3).top + information_offset_top_3()
)
width:
script:
if face_is_rotated(3) then
(
22 * face_coordinates_map(3).width/523
) else (
22 * face_coordinates_map(3).width/375
)
height:
script:
if face_is_rotated(3) then
(
33 * face_coordinates_map(3).height/375
) else (
33 * face_coordinates_map(3).height/523
)
visible: { not information_disabled_3() }
popup style: in place
include file: /magic.mse-game/information/menu_choice_images_the_list
render style: image
image: { the_list_icon_image(face: 3, field: 3) }
z index: 900

View File

@@ -0,0 +1,11 @@
choice: art
choice: art old
choice: flavor
choice: mechanics
choice: template
choice:
name: wide
choice: art
choice: flavor
choice: mechanics
choice: template

View File

@@ -0,0 +1,52 @@
choice:
name: before normal
choice: 0
choice: 1
choice: 2
choice: 3
choice: 4
choice: 5
choice: 6
choice: 7
choice: 8
choice: 9
choice: A
choice:
name: after normal, main set
choice: B
choice: C
choice: D
choice: E
choice: F
choice: G
choice: H
choice: I
choice: J
choice: K
choice: L
choice: M
choice:
name: after main set
choice: N
choice: O
choice: P
choice: Q
choice: R
choice: S
choice: T
choice: U
choice: V
choice: W
choice: X
choice: Y
choice: Z
choice:
name: help
choice: This is the partition selecter
choice: You can use this to sort cards in different sublayers
choice: 0-9 go before the main count, like face commanders
choice: A is the main count
choice: B-M go after, but still count in the set total
choice: N-Z go over the set total, like #301/300
choice: You can change the flip point in the Set tab if you need to
choice: with option "Last main partition", which defaults to M

View File

@@ -0,0 +1,2 @@
choice: the list
choice: none

Binary file not shown.

After

Width:  |  Height:  |  Size: 331 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 330 B

View File

@@ -0,0 +1,41 @@
card style:
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

View File

@@ -0,0 +1,41 @@
card style:
the list icon 2:
angle: { if face_is_rotated(2) then -90 else 0 }
left:
script:
if face_is_rotated(2) then
(
face_coordinates_map(2).left - information_offset_top_2()
) else (
face_coordinates_map(2).left + information_codes_offset_left_2()
)
bottom:
script:
if face_is_rotated(2) then
(
face_coordinates_map(2).top + information_codes_offset_left_2()
) else (
face_coordinates_map(2).height + face_coordinates_map(2).top + information_offset_top_2()
)
width:
script:
if face_is_rotated(2) then
(
22 * face_coordinates_map(2).width/523
) else (
22 * face_coordinates_map(2).width/375
)
height:
script:
if face_is_rotated(2) then
(
33 * face_coordinates_map(2).height/375
) else (
33 * face_coordinates_map(2).height/523
)
visible: { not information_disabled_2() }
popup style: in place
include file: /magic.mse-game/information/menu_choice_images_the_list
render style: image
image: { the_list_icon_image(face: 2, field: 2) }
z index: 900

Binary file not shown.

After

Width:  |  Height:  |  Size: 298 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 B

View File

@@ -0,0 +1,91 @@
#### To use this include in a template, add the following in the template headers:
depends on:
package: magic-modules.mse-include
version: 2024-10-01
#### Also add this, unindented, before the card style section:
include file: /magic-modules.mse-include/information/card_fields
#### For DFC or TFC templates, instead override the faces_coordinates function, and use:
include file: /magic-modules.mse-include/information/card_fields_dfc
include file: /magic-modules.mse-include/information/card_fields_tfc
#### Default Field Placement (@375x523, w=1 h=1)
set code:
left: 24w
top: 499h
width: 40w
height: 10h
set language:
left: 24w
top: 509h
width: 40w
height: 10h
card code:
left: 24w
top: 489h
width: 120w
height: 10h
parition select:
left: 24w
top: 489h
width: 35w
height: 10h
illustrator:
left: 25w + set_code_language_width
top: 499h
width: 10w - 50w
height: 10h
copyright:
right: 351w
top: 490h, 500w w/secondary
width: 140w
height: 10h
secondary copyright:
left: 211w
top: 490h
width: variable
height: 10h
the list icon:
left: 0w
bottom: 523h
width: 22w
height: 33h
#### Customization
#### Optionally, you can adjust global alignment by redefining the following functions after the scripts include statement
#### which must return an int corresponding to the number of pixels you want to shift things by
#### positive numbers move right and down, negative move left and up
#### To shift everything up/down:
information_offset_top_1 := { 0 }
#### To shift the card number, set code and artist credit left/right:
information_codes_offset_left_1 := { 0 }
#### To shift the actual copyright lines left/right:
information_copyright_offset_right_1 := { 0 }
#### To shift the copyright up/down on creatures/walkers, if the pt/loyalty box is very short/tall:
information_copyright_offset_pt_top_1 := { 0 }
#### To shift the secondary copyright left/right on creatures/walkers, if the pt/loyalty box is very narrow/wide:
information_secondary_offset_pt_left_1 := { 0 }
#### For the other faces on DFC or TFC templates, use:
information_offset_top_2 := { 0 }
information_codes_offset_left_2 := { 0 }
information_copyright_offset_right_2 := { 0 }
information_copyright_offset_pt_top_2 := { 0 }
information_secondary_offset_pt_left_2 := { 0 }
information_offset_top_3 := { 0 }
information_codes_offset_left_3 := { 0 }
information_copyright_offset_right_3 := { 0 }
information_copyright_offset_pt_top_3 := { 0 }
information_secondary_offset_pt_left_3 := { 0 }
#### These work the same on 90° rotated cards, but you need to imagine the card is upright
#### You can disable the copyright on some of the faces,
#### by adding the following functions in the init script:
information_disabled_1 := { true }
information_disabled_2 := { true }
information_disabled_3 := { true }

View File

@@ -0,0 +1,16 @@
styling field:
type: boolean
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: boolean
name: promo
description: Is this card a promo card, with the "P" rarity?
initial: no
styling field:
type: color
name: copyright text color
description: Color of the copyright, illustrator, card number, and set code text.
choice: white
choice: black

Binary file not shown.

After

Width:  |  Height:  |  Size: 194 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 577 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 302 B

View File

@@ -0,0 +1,48 @@
include file: /magic-modules.mse-include/information/list_field
extra card field:
type: choice
name: the list dot
choice: dot
editable: false
save value: false
extra card style:
the list dot:
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
(
30 * face_coordinates_map(1).width/523
) else (
30 * face_coordinates_map(1).width/375
)
height:
script:
if face_is_rotated(1) then
(
40 * face_coordinates_map(1).height/375
) else (
40 * 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_dot_image(field: 1) }
z index: 510

View File

@@ -0,0 +1,49 @@
include file: /magic-modules.mse-include/information/the_list_old
include file: /magic-modules.mse-include/information/list_field_dfc
extra card field:
type: choice
name: the list dot 2
choice: dot
editable: false
save value: false
extra card style:
the list dot 2:
angle: { if face_is_rotated(2) then -90 else 0 }
left:
script:
if face_is_rotated(2) then
(
face_coordinates_map(2).left - information_offset_top_2()
) else (
face_coordinates_map(2).left + information_codes_offset_left_2()
)
bottom:
script:
if face_is_rotated(2) then
(
face_coordinates_map(2).top + information_codes_offset_left_2()
) else (
face_coordinates_map(2).height + face_coordinates_map(2).top + information_offset_top_2()
)
width:
script:
if face_is_rotated(2) then
(
30 * face_coordinates_map(2).width/523
) else (
30 * face_coordinates_map(2).width/375
)
height:
script:
if face_is_rotated(2) then
(
40 * face_coordinates_map(2).height/375
) else (
40 * face_coordinates_map(2).height/523
)
visible: { not information_disabled_2() }
popup style: in place
include file: /magic.mse-game/information/menu_choice_images_the_list
render style: image
image: { the_list_dot_image(field: 2) }
z index: 510

Binary file not shown.

After

Width:  |  Height:  |  Size: 381 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 365 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 316 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 221 B