mirror of
https://github.com/GreenComfyTea/MHR-Overlay.git
synced 2026-01-25 04:48:22 -08:00
Implemented Ailment Buildup UI per player.
This commit is contained in:
@@ -508,7 +508,200 @@ function config.init()
|
||||
background = 0xA7000000
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
ailment_buildups = {
|
||||
visibility = false,
|
||||
|
||||
offset = {
|
||||
x = 220,
|
||||
y = 17
|
||||
},
|
||||
|
||||
players_spacing = {
|
||||
x = 0,
|
||||
y = 24
|
||||
},
|
||||
|
||||
ailments_spacing = {
|
||||
x = 0,
|
||||
y = 17
|
||||
},
|
||||
|
||||
settings = {
|
||||
buildup_bar_relative_to = "Top Buildup",
|
||||
highlighted_bar = "Me",
|
||||
time_limit = 15
|
||||
},
|
||||
|
||||
filter = {
|
||||
stun = true,
|
||||
poison = true,
|
||||
blast = true,
|
||||
},
|
||||
|
||||
sorting = {
|
||||
type = "Buildup",
|
||||
reversed_order = false
|
||||
},
|
||||
|
||||
ailment_name_label = {
|
||||
visibility = true,
|
||||
|
||||
include = {
|
||||
ailment_name = true,
|
||||
activation_count = true
|
||||
},
|
||||
|
||||
text = "%s",
|
||||
offset = {
|
||||
x = 5,
|
||||
y = -17
|
||||
},
|
||||
color = 0xFF7cdbff,
|
||||
|
||||
shadow = {
|
||||
visibility = true,
|
||||
offset = {
|
||||
x = 1,
|
||||
y = 1
|
||||
},
|
||||
color = 0xFF000000
|
||||
}
|
||||
},
|
||||
|
||||
player_name_label = {
|
||||
visibility = true,
|
||||
|
||||
text = "%s",
|
||||
offset = {
|
||||
x = 5,
|
||||
y = 0
|
||||
},
|
||||
color = 0xFFb5dded,
|
||||
|
||||
shadow = {
|
||||
visibility = true,
|
||||
offset = {
|
||||
x = 1,
|
||||
y = 1
|
||||
},
|
||||
color = 0xFF000000
|
||||
}
|
||||
},
|
||||
|
||||
buildup_value_label = {
|
||||
visibility = true,
|
||||
text = "%.0f",
|
||||
offset = {
|
||||
x = 115,
|
||||
y = 0
|
||||
},
|
||||
color = 0xFFb5dded,
|
||||
|
||||
shadow = {
|
||||
visibility = true,
|
||||
offset = {
|
||||
x = 1,
|
||||
y = 1
|
||||
},
|
||||
color = 0xFF000000
|
||||
}
|
||||
},
|
||||
|
||||
buildup_percentage_label = {
|
||||
visibility = true,
|
||||
text = "%5.1f%%",
|
||||
offset = {
|
||||
x = 152,
|
||||
y = 0
|
||||
},
|
||||
color = 0xFFb5dded,
|
||||
|
||||
shadow = {
|
||||
visibility = true,
|
||||
offset = {
|
||||
x = 1,
|
||||
y = 1
|
||||
},
|
||||
color = 0xFF000000
|
||||
}
|
||||
},
|
||||
|
||||
total_buildup_label = {
|
||||
visibility = true,
|
||||
text = "%s",
|
||||
offset = {
|
||||
x = 5,
|
||||
y = 0
|
||||
},
|
||||
color = 0xFFFF9393,
|
||||
|
||||
shadow = {
|
||||
visibility = true,
|
||||
offset = {
|
||||
x = 1,
|
||||
y = 1
|
||||
},
|
||||
color = 0xFF000000
|
||||
}
|
||||
},
|
||||
|
||||
total_buildup_value_label = {
|
||||
visibility = true,
|
||||
text = "%.0f",
|
||||
offset = {
|
||||
x = 115,
|
||||
y = 0
|
||||
},
|
||||
color = 0xFFFF9393,
|
||||
|
||||
shadow = {
|
||||
visibility = true,
|
||||
offset = {
|
||||
x = 1,
|
||||
y = 1
|
||||
},
|
||||
color = 0xFF000000
|
||||
}
|
||||
},
|
||||
|
||||
buildup_bar = {
|
||||
visibility = true,
|
||||
offset = {
|
||||
x = 0,
|
||||
y = 17
|
||||
},
|
||||
|
||||
size = {
|
||||
width = 200,
|
||||
height = 5
|
||||
},
|
||||
|
||||
colors = {
|
||||
foreground = 0xA796cfe5,
|
||||
background = 0xA7000000
|
||||
}
|
||||
},
|
||||
|
||||
highlighted_buildup_bar = {
|
||||
visibility = true,
|
||||
offset = {
|
||||
x = 0,
|
||||
y = 17
|
||||
},
|
||||
|
||||
size = {
|
||||
width = 200,
|
||||
height = 5
|
||||
},
|
||||
|
||||
colors = {
|
||||
foreground = 0xA7F4D5A3,
|
||||
background = 0xA7000000
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
large_monster_UI = {
|
||||
@@ -1135,7 +1328,200 @@ function config.init()
|
||||
background = 0xA7000000
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
ailment_buildups = {
|
||||
visibility = false,
|
||||
|
||||
offset = {
|
||||
x = 220,
|
||||
y = 17
|
||||
},
|
||||
|
||||
players_spacing = {
|
||||
x = 0,
|
||||
y = 24
|
||||
},
|
||||
|
||||
ailments_spacing = {
|
||||
x = 0,
|
||||
y = 17
|
||||
},
|
||||
|
||||
settings = {
|
||||
buildup_bar_relative_to = "Top Buildup",
|
||||
highlighted_bar = "Me",
|
||||
time_limit = 15
|
||||
},
|
||||
|
||||
filter = {
|
||||
stun = true,
|
||||
poison = true,
|
||||
blast = true,
|
||||
},
|
||||
|
||||
sorting = {
|
||||
type = "Buildup",
|
||||
reversed_order = false
|
||||
},
|
||||
|
||||
ailment_name_label = {
|
||||
visibility = true,
|
||||
|
||||
include = {
|
||||
ailment_name = true,
|
||||
activation_count = true
|
||||
},
|
||||
|
||||
text = "%s",
|
||||
offset = {
|
||||
x = 5,
|
||||
y = -17
|
||||
},
|
||||
color = 0xFF7cdbff,
|
||||
|
||||
shadow = {
|
||||
visibility = true,
|
||||
offset = {
|
||||
x = 1,
|
||||
y = 1
|
||||
},
|
||||
color = 0xFF000000
|
||||
}
|
||||
},
|
||||
|
||||
player_name_label = {
|
||||
visibility = true,
|
||||
|
||||
text = "%s",
|
||||
offset = {
|
||||
x = 5,
|
||||
y = 0
|
||||
},
|
||||
color = 0xFFb5dded,
|
||||
|
||||
shadow = {
|
||||
visibility = true,
|
||||
offset = {
|
||||
x = 1,
|
||||
y = 1
|
||||
},
|
||||
color = 0xFF000000
|
||||
}
|
||||
},
|
||||
|
||||
buildup_value_label = {
|
||||
visibility = true,
|
||||
text = "%.0f",
|
||||
offset = {
|
||||
x = 115,
|
||||
y = 0
|
||||
},
|
||||
color = 0xFFb5dded,
|
||||
|
||||
shadow = {
|
||||
visibility = true,
|
||||
offset = {
|
||||
x = 1,
|
||||
y = 1
|
||||
},
|
||||
color = 0xFF000000
|
||||
}
|
||||
},
|
||||
|
||||
buildup_percentage_label = {
|
||||
visibility = true,
|
||||
text = "%5.1f%%",
|
||||
offset = {
|
||||
x = 152,
|
||||
y = 0
|
||||
},
|
||||
color = 0xFFb5dded,
|
||||
|
||||
shadow = {
|
||||
visibility = true,
|
||||
offset = {
|
||||
x = 1,
|
||||
y = 1
|
||||
},
|
||||
color = 0xFF000000
|
||||
}
|
||||
},
|
||||
|
||||
total_buildup_label = {
|
||||
visibility = true,
|
||||
text = "%s",
|
||||
offset = {
|
||||
x = 5,
|
||||
y = 0
|
||||
},
|
||||
color = 0xFFFF9393,
|
||||
|
||||
shadow = {
|
||||
visibility = true,
|
||||
offset = {
|
||||
x = 1,
|
||||
y = 1
|
||||
},
|
||||
color = 0xFF000000
|
||||
}
|
||||
},
|
||||
|
||||
total_buildup_value_label = {
|
||||
visibility = true,
|
||||
text = "%.0f",
|
||||
offset = {
|
||||
x = 115,
|
||||
y = 0
|
||||
},
|
||||
color = 0xFFFF9393,
|
||||
|
||||
shadow = {
|
||||
visibility = true,
|
||||
offset = {
|
||||
x = 1,
|
||||
y = 1
|
||||
},
|
||||
color = 0xFF000000
|
||||
}
|
||||
},
|
||||
|
||||
buildup_bar = {
|
||||
visibility = true,
|
||||
offset = {
|
||||
x = 0,
|
||||
y = 17
|
||||
},
|
||||
|
||||
size = {
|
||||
width = 200,
|
||||
height = 5
|
||||
},
|
||||
|
||||
colors = {
|
||||
foreground = 0xA796cfe5,
|
||||
background = 0xA7000000
|
||||
}
|
||||
},
|
||||
|
||||
highlighted_buildup_bar = {
|
||||
visibility = true,
|
||||
offset = {
|
||||
x = 0,
|
||||
y = 17
|
||||
},
|
||||
|
||||
size = {
|
||||
width = 200,
|
||||
height = 5
|
||||
},
|
||||
|
||||
colors = {
|
||||
foreground = 0xA7F4D5A3,
|
||||
background = 0xA7000000
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
static = {
|
||||
@@ -1767,7 +2153,200 @@ function config.init()
|
||||
background = 0xA7000000
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
ailment_buildups = {
|
||||
visibility = false,
|
||||
|
||||
offset = {
|
||||
x = 220,
|
||||
y = 17
|
||||
},
|
||||
|
||||
players_spacing = {
|
||||
x = 0,
|
||||
y = 24
|
||||
},
|
||||
|
||||
ailments_spacing = {
|
||||
x = 0,
|
||||
y = 17
|
||||
},
|
||||
|
||||
settings = {
|
||||
buildup_bar_relative_to = "Top Buildup",
|
||||
highlighted_bar = "Me",
|
||||
time_limit = 15
|
||||
},
|
||||
|
||||
filter = {
|
||||
stun = true,
|
||||
poison = true,
|
||||
blast = true,
|
||||
},
|
||||
|
||||
sorting = {
|
||||
type = "Buildup",
|
||||
reversed_order = false
|
||||
},
|
||||
|
||||
ailment_name_label = {
|
||||
visibility = true,
|
||||
|
||||
include = {
|
||||
ailment_name = true,
|
||||
activation_count = true
|
||||
},
|
||||
|
||||
text = "%s",
|
||||
offset = {
|
||||
x = 5,
|
||||
y = -17
|
||||
},
|
||||
color = 0xFF7cdbff,
|
||||
|
||||
shadow = {
|
||||
visibility = true,
|
||||
offset = {
|
||||
x = 1,
|
||||
y = 1
|
||||
},
|
||||
color = 0xFF000000
|
||||
}
|
||||
},
|
||||
|
||||
player_name_label = {
|
||||
visibility = true,
|
||||
|
||||
text = "%s",
|
||||
offset = {
|
||||
x = 5,
|
||||
y = 0
|
||||
},
|
||||
color = 0xFFb5dded,
|
||||
|
||||
shadow = {
|
||||
visibility = true,
|
||||
offset = {
|
||||
x = 1,
|
||||
y = 1
|
||||
},
|
||||
color = 0xFF000000
|
||||
}
|
||||
},
|
||||
|
||||
buildup_value_label = {
|
||||
visibility = true,
|
||||
text = "%.0f",
|
||||
offset = {
|
||||
x = 115,
|
||||
y = 0
|
||||
},
|
||||
color = 0xFFb5dded,
|
||||
|
||||
shadow = {
|
||||
visibility = true,
|
||||
offset = {
|
||||
x = 1,
|
||||
y = 1
|
||||
},
|
||||
color = 0xFF000000
|
||||
}
|
||||
},
|
||||
|
||||
buildup_percentage_label = {
|
||||
visibility = true,
|
||||
text = "%5.1f%%",
|
||||
offset = {
|
||||
x = 152,
|
||||
y = 0
|
||||
},
|
||||
color = 0xFFb5dded,
|
||||
|
||||
shadow = {
|
||||
visibility = true,
|
||||
offset = {
|
||||
x = 1,
|
||||
y = 1
|
||||
},
|
||||
color = 0xFF000000
|
||||
}
|
||||
},
|
||||
|
||||
total_buildup_label = {
|
||||
visibility = true,
|
||||
text = "%s",
|
||||
offset = {
|
||||
x = 5,
|
||||
y = 0
|
||||
},
|
||||
color = 0xFFFF9393,
|
||||
|
||||
shadow = {
|
||||
visibility = true,
|
||||
offset = {
|
||||
x = 1,
|
||||
y = 1
|
||||
},
|
||||
color = 0xFF000000
|
||||
}
|
||||
},
|
||||
|
||||
total_buildup_value_label = {
|
||||
visibility = true,
|
||||
text = "%.0f",
|
||||
offset = {
|
||||
x = 115,
|
||||
y = 0
|
||||
},
|
||||
color = 0xFFFF9393,
|
||||
|
||||
shadow = {
|
||||
visibility = true,
|
||||
offset = {
|
||||
x = 1,
|
||||
y = 1
|
||||
},
|
||||
color = 0xFF000000
|
||||
}
|
||||
},
|
||||
|
||||
buildup_bar = {
|
||||
visibility = true,
|
||||
offset = {
|
||||
x = 0,
|
||||
y = 17
|
||||
},
|
||||
|
||||
size = {
|
||||
width = 200,
|
||||
height = 5
|
||||
},
|
||||
|
||||
colors = {
|
||||
foreground = 0xA796cfe5,
|
||||
background = 0xA7000000
|
||||
}
|
||||
},
|
||||
|
||||
highlighted_buildup_bar = {
|
||||
visibility = true,
|
||||
offset = {
|
||||
x = 0,
|
||||
y = 17
|
||||
},
|
||||
|
||||
size = {
|
||||
width = 200,
|
||||
height = 5
|
||||
},
|
||||
|
||||
colors = {
|
||||
foreground = 0xA7F4D5A3,
|
||||
background = 0xA7000000
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
highlighted = {
|
||||
@@ -2379,7 +2958,200 @@ function config.init()
|
||||
background = 0xA7000000
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
ailment_buildups = {
|
||||
visibility = false,
|
||||
|
||||
offset = {
|
||||
x = 220,
|
||||
y = 167
|
||||
},
|
||||
|
||||
players_spacing = {
|
||||
x = 0,
|
||||
y = 24
|
||||
},
|
||||
|
||||
ailments_spacing = {
|
||||
x = 0,
|
||||
y = 17
|
||||
},
|
||||
|
||||
settings = {
|
||||
buildup_bar_relative_to = "Top Buildup",
|
||||
highlighted_bar = "Me",
|
||||
time_limit = 15
|
||||
},
|
||||
|
||||
filter = {
|
||||
stun = true,
|
||||
poison = true,
|
||||
blast = true,
|
||||
},
|
||||
|
||||
sorting = {
|
||||
type = "Buildup",
|
||||
reversed_order = false
|
||||
},
|
||||
|
||||
ailment_name_label = {
|
||||
visibility = true,
|
||||
|
||||
include = {
|
||||
ailment_name = true,
|
||||
activation_count = true
|
||||
},
|
||||
|
||||
text = "%s",
|
||||
offset = {
|
||||
x = 5,
|
||||
y = -17
|
||||
},
|
||||
color = 0xFF7cdbff,
|
||||
|
||||
shadow = {
|
||||
visibility = true,
|
||||
offset = {
|
||||
x = 1,
|
||||
y = 1
|
||||
},
|
||||
color = 0xFF000000
|
||||
}
|
||||
},
|
||||
|
||||
player_name_label = {
|
||||
visibility = true,
|
||||
|
||||
text = "%s",
|
||||
offset = {
|
||||
x = 5,
|
||||
y = 0
|
||||
},
|
||||
color = 0xFFb5dded,
|
||||
|
||||
shadow = {
|
||||
visibility = true,
|
||||
offset = {
|
||||
x = 1,
|
||||
y = 1
|
||||
},
|
||||
color = 0xFF000000
|
||||
}
|
||||
},
|
||||
|
||||
buildup_value_label = {
|
||||
visibility = true,
|
||||
text = "%.0f",
|
||||
offset = {
|
||||
x = 115,
|
||||
y = 0
|
||||
},
|
||||
color = 0xFFb5dded,
|
||||
|
||||
shadow = {
|
||||
visibility = true,
|
||||
offset = {
|
||||
x = 1,
|
||||
y = 1
|
||||
},
|
||||
color = 0xFF000000
|
||||
}
|
||||
},
|
||||
|
||||
buildup_percentage_label = {
|
||||
visibility = true,
|
||||
text = "%5.1f%%",
|
||||
offset = {
|
||||
x = 152,
|
||||
y = 0
|
||||
},
|
||||
color = 0xFFb5dded,
|
||||
|
||||
shadow = {
|
||||
visibility = true,
|
||||
offset = {
|
||||
x = 1,
|
||||
y = 1
|
||||
},
|
||||
color = 0xFF000000
|
||||
}
|
||||
},
|
||||
|
||||
total_buildup_label = {
|
||||
visibility = true,
|
||||
text = "%s",
|
||||
offset = {
|
||||
x = 5,
|
||||
y = 0
|
||||
},
|
||||
color = 0xFFFF9393,
|
||||
|
||||
shadow = {
|
||||
visibility = true,
|
||||
offset = {
|
||||
x = 1,
|
||||
y = 1
|
||||
},
|
||||
color = 0xFF000000
|
||||
}
|
||||
},
|
||||
|
||||
total_buildup_value_label = {
|
||||
visibility = true,
|
||||
text = "%.0f",
|
||||
offset = {
|
||||
x = 115,
|
||||
y = 0
|
||||
},
|
||||
color = 0xFFFF9393,
|
||||
|
||||
shadow = {
|
||||
visibility = true,
|
||||
offset = {
|
||||
x = 1,
|
||||
y = 1
|
||||
},
|
||||
color = 0xFF000000
|
||||
}
|
||||
},
|
||||
|
||||
buildup_bar = {
|
||||
visibility = true,
|
||||
offset = {
|
||||
x = 0,
|
||||
y = 17
|
||||
},
|
||||
|
||||
size = {
|
||||
width = 200,
|
||||
height = 5
|
||||
},
|
||||
|
||||
colors = {
|
||||
foreground = 0xA796cfe5,
|
||||
background = 0xA7000000
|
||||
}
|
||||
},
|
||||
|
||||
highlighted_buildup_bar = {
|
||||
visibility = true,
|
||||
offset = {
|
||||
x = 0,
|
||||
y = 17
|
||||
},
|
||||
|
||||
size = {
|
||||
width = 200,
|
||||
height = 5
|
||||
},
|
||||
|
||||
colors = {
|
||||
foreground = 0xA7F4D5A3,
|
||||
background = 0xA7000000
|
||||
}
|
||||
}
|
||||
},
|
||||
}
|
||||
},
|
||||
|
||||
@@ -2746,7 +3518,7 @@ function config.init_module()
|
||||
|
||||
config.init();
|
||||
config.load();
|
||||
config.current_config.version = "v1.10";
|
||||
config.current_config.version = "v1.11";
|
||||
|
||||
language.update(table_helpers.find_index(language.language_names, config.current_config.global_settings.language, false));
|
||||
|
||||
|
||||
@@ -90,7 +90,8 @@ language.default_language = {
|
||||
mini = "Mini",
|
||||
total_damage = "Total Damage",
|
||||
player = "Player",
|
||||
buildup = "Buildup:"
|
||||
buildup = "Buildup:",
|
||||
total_buildup = "Total Buildup"
|
||||
},
|
||||
|
||||
customization_menu = {
|
||||
@@ -301,7 +302,22 @@ language.default_language = {
|
||||
creature_name_label = "Creature Name Label",
|
||||
hide_inactive_creatures = "Hide Inactive Creatures",
|
||||
|
||||
relative_offset = "Relative Offset"
|
||||
relative_offset = "Relative Offset",
|
||||
|
||||
ailment_buildups = "Ailment Buildups",
|
||||
players_spacing = "Player Spacing",
|
||||
ailments_spacing = "Ailment Spacing",
|
||||
buildup_value_label = "Buildup Value Label",
|
||||
buildup_percentage_label = "Buildup Percentage Label",
|
||||
total_buildup_label = "Total Buildup Label",
|
||||
total_buildup_value_label = "Total Buildup Value Label",
|
||||
buildup_bar = "Buildup Bar",
|
||||
highlighted_buildup_bar = "Highlighted Buildup Bar",
|
||||
|
||||
filter = "Filter",
|
||||
top_buildup = "Top Buildup",
|
||||
total_buildup = "Total Buildup",
|
||||
buildup_bars_are_relative_to = "Buildup Bars are relative to"
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user