OTJ Update

OTJ update
Partitions update
Adventures overhaul
Custom borders
This commit is contained in:
cajun
2024-05-16 00:56:30 -05:00
parent 9739e6ff44
commit 1a8ec9edf3
188 changed files with 3627 additions and 1158 deletions

View File

@@ -113,126 +113,48 @@ init script:
archetype_image := {is_archetype() and contains(styling.other_options, match:"archetype image")}
use_drop_shadow := {is_weird_token() and contains(styling.other_options, match:"state drop shadow")}
# alternate rarity color
alt_rarity := {styling.alt_rarity_color}
### Customize fonts
swap_font := {styling.apply_custom_fonts}
name_font := {
swap_font_name(
src:styling.custom_name_font,
font_name: if is_archetype() then "Gotham Medium" else if is_copy() or mtgo_abil() then "Beleren Bold" else "Beleren Small Caps Bold"
)
}
name_font_size := {
swap_font_size(
src:styling.custom_name_font,
font_size: if is_archetype() then 9 else if is_copy() or mtgo_abil() then 18 else 19
) - shrink_name()
}
name_font_color := {
swap_font_color(
src: styling.custom_name_font,
font_color: if is_weird_token() then "white" else if is_m20() and card.card_color == "white" and not is_clear() then "black" else if is_m20() then "white" else rgb(255,239,128)
)
}
name_font_vertical := {
swap_font_vertical(
src: styling.custom_name_font
)
}
name_font_italic := {
swap_font_italic(
src: styling.custom_name_font
)
}
type_font := {
swap_font_name(
src:styling.custom_type_font,
font_name: "Beleren Bold"
)
}
type_font_size := {
swap_font_size(
src:styling.custom_type_font,
font_size: 14
) - shrink_type()
}
type_font_color := {
swap_font_color(
src: styling.custom_type_font,
font_color: if mtgo_abil() then rgb(255,239,128) else "black"
)
}
type_font_vertical := {
swap_font_vertical(
src: styling.custom_type_font
)
}
type_font_italic := {
swap_font_italic(
src: styling.custom_type_font
)
}
body_font := {
swap_font_name(
src:styling.custom_body_font,
font_name: if is_archetype() then "Gotham Pro" else "MPlantin"
)
}
body_font_size := {
swap_font_size(
src:styling.custom_body_font,
font_size: if styling.shrink_font_size != "" then 14 - to_number(styling.shrink_font_size) else 14
)
}
body_font_color := {
swap_font_color(
src: styling.custom_body_font,
font_color: if white_state_font() then "white" else "black"
)
}
body_font_vertical := {
swap_font_vertical(
src: styling.custom_body_font
)
}
body_font_italic := {
swap_font_italic(
src: styling.custom_body_font
)
}
pt_font := {
swap_font_name(
src:styling.custom_pt_font,
font_name: "Beleren Bold"
)
}
pt_font_size := {
swap_font_size(
src:styling.custom_pt_font,
font_size: 16
)
}
pt_font_color := {
swap_font_color(
src: styling.custom_pt_font,
font_color: if is_vehicle() then "white" else "black"
)
}
pt_font_vertical := {
swap_font_vertical(
src: styling.custom_pt_font
)
}
pt_font_italic := {
swap_font_italic(
src: styling.custom_pt_font
)
}
swap_fonts_name_default := [
name: {
if is_archetype() then "Gotham Medium"
else if is_copy() or mtgo_abil() then "Beleren Bold"
else "Beleren Small Caps Bold"
},
size: {
if is_archetype() then 9
else if is_copy() or mtgo_abil() then 18
else 19
},
color: {
if is_weird_token() then "white"
else if is_m20() and card.card_color == "white" and not is_clear() then "black"
else if is_m20() then "white"
else rgb(255,239,128)
},
vertical: {0},
italic: {""}
]
swap_fonts_type_default := [
name: {"Beleren Bold"},
size: {14},
color: {if mtgo_abil() then rgb(255,239,128) else "black"},
vertical: {0},
italic: {""}
]
swap_fonts_body_default := [
name: {if is_archetype() then "Gotham Pro" else "MPlantin"},
size: {14},
color: {if white_state_font() then "white" else "black"},
vertical: {0},
italic: {"MPlantin-Italic"}
]
swap_fonts_pt_default := [
name: {"Beleren Bold"},
size: {16},
color: {if is_vehicle() then "white" else "black"},
vertical: {0},
italic: {""}
]
############################################################## Set info fields
set info style:
symbol: