fix flavor bars

This commit is contained in:
cajun
2025-01-11 15:12:01 -06:00
parent 78c853ec33
commit 34e42b7c19
3 changed files with 23 additions and 2 deletions

View File

@@ -601,6 +601,9 @@ init script:
]
]
}
flavor_bar_width := { 251 }
flavor_bar_offset_left_1 := { 25 }
flavor_bar_offset_left_2 := { 268 }
harder_script := [
alt_nyx: alt_nyx_template,
texture: texture_template

View File

@@ -1187,7 +1187,9 @@ handle_merged_rt := {
handle_action_rt := {
"<use-if-bumped>To " + to + ", " + to_lower(input) + "</use-if-bumped><otherwise>" + input + "</otherwise>"
}
handle_action_rt_single := {
"<use-if-bumped>" + prefix + " " + to_lower(input) + "</use-if-bumped><otherwise>" + input + "</otherwise>"
}
############################################################## Complex reminder texts
self_pro_check := match@(match:"You ha(ve|s) <kw-A><nospellcheck>protection")
protection_code := {
@@ -3756,7 +3758,16 @@ loyalty_textbox_background_image :=
############################################################## Separators
separator_enable_level := { false }
separator_default := { if set.use_flavor_bar then "flavor bar" else "none" }
separator_default := {
if set.use_flavor_bar then (
if set.default_flavor_bar == "thin bar"
then "grey bar"
else if set.default_flavor_bar == "thick bar"
then "flavor bar"
else set.default_flavor_bar
)
else "none"
}
flavor_bar_left := { face_coordinates_map(input).left }
flavor_bar_top :=

View File

@@ -460,6 +460,13 @@ set field:
type: boolean
name: use flavor bar
description: Enables the flavor bar on Mainframe templates.
set field:
type: choice
name: default flavor bar
choice: thin bar
choice: thick bar
choice: none
description: The style of flavor bar to use
set field:
type: boolean
name: auto legends