Bug fix for Card Symbol on DFCs
Bug fix for Amass rt
Bug fixes for "this type" capitalization
Bug fixes for CARDNAME on planes
Adds THIS atom that gets the opposite value as CARDNAME
Adds Custom Border automization
This commit is contained in:
cajun
2025-01-18 15:01:42 -06:00
parent 79765cda02
commit 64fc3828d6
10 changed files with 132 additions and 35 deletions

View File

@@ -499,7 +499,9 @@ init script:
)
}
front_custom_border := {
chosen(styling.other_options, choice:"custom border front") and contains(styling.custom_border_source, match:".png")
if chosen(styling.other_options, choice:"custom border front")
then has_png(styling.custom_border_source)
else auto_custom_border()
}
front_draft := {
chosen(styling.other_options, choice:"draft matters front")
@@ -552,7 +554,9 @@ init script:
)
}
back_custom_border := {
chosen(styling.other_options, choice:"custom border back")
if chosen(styling.other_options, choice:"custom border back")
then has_png(styling.custom_border_source)
else auto_custom_border_2()
}
back_draft := {
chosen(styling.other_options, choice:"draft matters back")
@@ -1525,6 +1529,12 @@ init script:
transform_symbol_offset_height_2 := {
if mainframe_walkerb() then 1 else 0
}
card_symbol_offset_top_1 := {
if front_normal() then 0 else -8
}
card_symbol_offset_top_2 := {
if front_normal() then 0 else -8
}
card_stamp_offset_top_1 := {
if mainframe_walker() and stamp_shape() == "triangle" then -3 else 0
}
@@ -1983,7 +1993,7 @@ card style:
size: { name_font_size() }
color: { name_font_color() }
name 2:
left: { if back_map() then 442 else if back_normal() then ( if card.card_symbol_2 == "none" then 435 else 455) else if card.card_symbol_2 == "none" then 456 else 439 }
left: { if back_map() then 442 else if back_normal() then ( if card.card_symbol_2 == "none" then 435 else 455) else if card.card_symbol_2 == "none" then 439 else 456 }
top: { (if back_map() then 27 else if back_normal() then 30 else 22) - 0.5*shrink_name2() }
right: { (if back_map() then 719 else 714) - card_style.casting_cost_2.content_width }
height: { 23 - (0.5 * shrink_name2()) }