Add Sokrates custom frame by DoX (#146)
This commit is contained in:
@@ -4662,6 +4662,27 @@ swap_fonts_name3_default := [
|
||||
vertical: {0},
|
||||
italic: {""}
|
||||
]
|
||||
swap_fonts_casting_cost_default := [
|
||||
name: {"MPlantin"},
|
||||
size: {name_font_size()},
|
||||
color: {"black"},
|
||||
vertical: {0},
|
||||
italic: {"MPlantin-Italic"}
|
||||
]
|
||||
swap_fonts_casting_cost2_default := [
|
||||
name: {"MPlantin"},
|
||||
size: {name2_font_size()},
|
||||
color: {"black"},
|
||||
vertical: {0},
|
||||
italic: {"MPlantin-Italic"}
|
||||
]
|
||||
swap_fonts_casting_cost3_default := [
|
||||
name: {"MPlantin"},
|
||||
size: {name3_font_size()},
|
||||
color: {"black"},
|
||||
vertical: {0},
|
||||
italic: {"MPlantin-Italic"}
|
||||
]
|
||||
swap_fonts_type_default := [
|
||||
name: {"Beleren Bold"},
|
||||
size: {13},
|
||||
@@ -4725,18 +4746,21 @@ swap_fonts_pt3_default := [
|
||||
vertical: {0},
|
||||
italic: {""}
|
||||
]
|
||||
swap_fonts_name_src := { styling.custom_name_font or else "" }
|
||||
swap_fonts_name2_src := { styling.custom_name_2_font or else "" }
|
||||
swap_fonts_name3_src := { styling.custom_name_3_font or else "" }
|
||||
swap_fonts_type_src := { styling.custom_type_font or else "" }
|
||||
swap_fonts_type2_src := { styling.custom_type_2_font or else "" }
|
||||
swap_fonts_type3_src := { styling.custom_type_3_font or else "" }
|
||||
swap_fonts_body_src := { styling.custom_body_font or else "" }
|
||||
swap_fonts_body2_src := { styling.custom_body_2_font or else "" }
|
||||
swap_fonts_body3_src := { styling.custom_body_3_font or else "" }
|
||||
swap_fonts_pt_src := { styling.custom_pt_font or else "" }
|
||||
swap_fonts_pt2_src := { styling.custom_pt_2_font or else "" }
|
||||
swap_fonts_pt3_src := { styling.custom_pt_3_font or else "" }
|
||||
swap_fonts_name_src := { styling.custom_name_font or else "" }
|
||||
swap_fonts_name2_src := { styling.custom_name_2_font or else "" }
|
||||
swap_fonts_name3_src := { styling.custom_name_3_font or else "" }
|
||||
swap_fonts_casting_cost_src := { styling.custom_casting_cost_font or else "" }
|
||||
swap_fonts_casting_cost2_src := { styling.custom_casting_cost_2_font or else "" }
|
||||
swap_fonts_casting_cost3_src := { styling.custom_casting_cost_3_font or else "" }
|
||||
swap_fonts_type_src := { styling.custom_type_font or else "" }
|
||||
swap_fonts_type2_src := { styling.custom_type_2_font or else "" }
|
||||
swap_fonts_type3_src := { styling.custom_type_3_font or else "" }
|
||||
swap_fonts_body_src := { styling.custom_body_font or else "" }
|
||||
swap_fonts_body2_src := { styling.custom_body_2_font or else "" }
|
||||
swap_fonts_body3_src := { styling.custom_body_3_font or else "" }
|
||||
swap_fonts_pt_src := { styling.custom_pt_font or else "" }
|
||||
swap_fonts_pt2_src := { styling.custom_pt_2_font or else "" }
|
||||
swap_fonts_pt3_src := { styling.custom_pt_3_font or else "" }
|
||||
#### specific swap functions
|
||||
name_font := {
|
||||
swap_font_name(
|
||||
@@ -4768,6 +4792,9 @@ name_font_italic := {
|
||||
font_name: swap_fonts_name_default.italic()
|
||||
)
|
||||
}
|
||||
name_shadow_color := { rgba(0,0,0,0) }
|
||||
name_shadow_displacement_x := { 0 }
|
||||
name_shadow_displacement_y := { 0 }
|
||||
|
||||
name2_font := {
|
||||
swap_font_name(
|
||||
@@ -4799,6 +4826,9 @@ name2_font_italic := {
|
||||
font_name: swap_fonts_name2_default.italic()
|
||||
)
|
||||
}
|
||||
name2_shadow_color := { rgba(0,0,0,0) }
|
||||
name2_shadow_displacement_x := { 0 }
|
||||
name2_shadow_displacement_y := { 0 }
|
||||
|
||||
name3_font := {
|
||||
swap_font_name(
|
||||
@@ -4830,6 +4860,102 @@ name3_font_italic := {
|
||||
font_name: swap_fonts_name3_default.italic()
|
||||
)
|
||||
}
|
||||
name3_shadow_color := { rgba(0,0,0,0) }
|
||||
name3_shadow_displacement_x := { 0 }
|
||||
name3_shadow_displacement_y := { 0 }
|
||||
|
||||
casting_cost_font := {
|
||||
swap_font_name(
|
||||
src: swap_fonts_casting_cost_src(),
|
||||
font_name: swap_fonts_casting_cost_default.name()
|
||||
)
|
||||
}
|
||||
casting_cost_font_size := {
|
||||
swap_font_size(
|
||||
src: swap_fonts_casting_cost_src(),
|
||||
font_size: swap_fonts_casting_cost_default.size()
|
||||
) - shrink_name()
|
||||
}
|
||||
casting_cost_font_color := {
|
||||
swap_font_color(
|
||||
src: swap_fonts_casting_cost_src(),
|
||||
font_color: swap_fonts_casting_cost_default.color()
|
||||
)
|
||||
}
|
||||
casting_cost_font_vertical := {
|
||||
swap_font_vertical(
|
||||
src: swap_fonts_casting_cost_src(),
|
||||
vertical: swap_fonts_casting_cost_default.vertical()
|
||||
)
|
||||
}
|
||||
casting_cost_font_italic := {
|
||||
swap_font_italic(
|
||||
src: swap_fonts_casting_cost_src(),
|
||||
font_name: swap_fonts_casting_cost_default.italic()
|
||||
)
|
||||
}
|
||||
|
||||
casting_cost2_font := {
|
||||
swap_font_name(
|
||||
src: swap_fonts_casting_cost2_src(),
|
||||
font_name: swap_fonts_casting_cost2_default.name()
|
||||
)
|
||||
}
|
||||
casting_cost2_font_size := {
|
||||
swap_font_size(
|
||||
src: swap_fonts_casting_cost2_src(),
|
||||
font_size: swap_fonts_casting_cost2_default.size()
|
||||
) - shrink_name2()
|
||||
}
|
||||
casting_cost2_font_color := {
|
||||
swap_font_color(
|
||||
src: swap_fonts_casting_cost2_src(),
|
||||
font_color: swap_fonts_casting_cost2_default.color()
|
||||
)
|
||||
}
|
||||
casting_cost2_font_vertical := {
|
||||
swap_font_vertical(
|
||||
src: swap_fonts_casting_cost2_src(),
|
||||
vertical: swap_fonts_casting_cost2_default.vertical()
|
||||
)
|
||||
}
|
||||
casting_cost2_font_italic := {
|
||||
swap_font_italic(
|
||||
src: swap_fonts_casting_cost2_src(),
|
||||
font_name: swap_fonts_casting_cost2_default.italic()
|
||||
)
|
||||
}
|
||||
|
||||
casting_cost3_font := {
|
||||
swap_font_name(
|
||||
src: swap_fonts_casting_cost3_src(),
|
||||
font_name: swap_fonts_casting_cost3_default.name()
|
||||
)
|
||||
}
|
||||
casting_cost3_font_size := {
|
||||
swap_font_size(
|
||||
src: swap_fonts_casting_cost3_src(),
|
||||
font_size: swap_fonts_casting_cost3_default.size()
|
||||
) - shrink_name2()
|
||||
}
|
||||
casting_cost3_font_color := {
|
||||
swap_font_color(
|
||||
src: swap_fonts_casting_cost3_src(),
|
||||
font_color: swap_fonts_casting_cost3_default.color()
|
||||
)
|
||||
}
|
||||
casting_cost3_font_vertical := {
|
||||
swap_font_vertical(
|
||||
src: swap_fonts_casting_cost3_src(),
|
||||
vertical: swap_fonts_casting_cost3_default.vertical()
|
||||
)
|
||||
}
|
||||
casting_cost3_font_italic := {
|
||||
swap_font_italic(
|
||||
src: swap_fonts_casting_cost3_src(),
|
||||
font_name: swap_fonts_casting_cost3_default.italic()
|
||||
)
|
||||
}
|
||||
|
||||
type_font := {
|
||||
swap_font_name(
|
||||
@@ -4861,6 +4987,9 @@ type_font_italic := {
|
||||
font_name: swap_fonts_type_default.italic()
|
||||
)
|
||||
}
|
||||
type_shadow_color := { rgba(0,0,0,0) }
|
||||
type_shadow_displacement_x := { 0 }
|
||||
type_shadow_displacement_y := { 0 }
|
||||
|
||||
type2_font := {
|
||||
swap_font_name(
|
||||
@@ -4892,6 +5021,9 @@ type2_font_italic := {
|
||||
font_name: swap_fonts_type2_default.italic()
|
||||
)
|
||||
}
|
||||
type2_shadow_color := { rgba(0,0,0,0) }
|
||||
type2_shadow_displacement_x := { 0 }
|
||||
type2_shadow_displacement_y := { 0 }
|
||||
|
||||
type3_font := {
|
||||
swap_font_name(
|
||||
@@ -4923,6 +5055,9 @@ type3_font_italic := {
|
||||
font_name: swap_fonts_type3_default.italic()
|
||||
)
|
||||
}
|
||||
type3_shadow_color := { rgba(0,0,0,0) }
|
||||
type3_shadow_displacement_x := { 0 }
|
||||
type3_shadow_displacement_y := { 0 }
|
||||
|
||||
body_font := {
|
||||
swap_font_name(
|
||||
|
||||
Reference in New Issue
Block a user