Changed capture health color to yellow

Yellow is the color of shock traps.
This commit is contained in:
GreenComfyTea
2022-01-24 22:54:27 +02:00
parent 0f76873b76
commit e09e642043

View File

@@ -77,7 +77,7 @@ local monster_UI = {
health_bar = { health_bar = {
remaining_health = 0xB952A674, remaining_health = 0xB952A674,
missing_health = 0xB9000000, missing_health = 0xB9000000,
capturable_health = 0xFF7373ff capture_health = 0xB933CCCC
}, },
monster_name = { monster_name = {
@@ -460,7 +460,6 @@ function monster_health()
table.insert(monsters, monster); table.insert(monsters, monster);
end end
--sort_type = "normal", -- "normal" or "health" or "health_percentage"
--sort here --sort here
if monster_UI.sort_type == "normal" and monster_UI.reverse_order then if monster_UI.sort_type == "normal" and monster_UI.reverse_order then
local reversed_monsters = {}; local reversed_monsters = {};
@@ -508,7 +507,7 @@ function monster_health()
--remaining health --remaining health
if monster.health <= monster.capture_health then if monster.health <= monster.capture_health then
remaining_health_color = monster_UI.colors.health_bar.capturable_health remaining_health_color = monster_UI.colors.health_bar.capture_health
else else
remaining_health_color = monster_UI.colors.health_bar.remaining_health remaining_health_color = monster_UI.colors.health_bar.remaining_health
end end