local UIHudSettings = require('scripts/settings/ui/ui_hud_settings')
local get_hud_color = UIHudSettings.get_hud_color
local hud_element_buff_bar_settings = {
    horizontal_spacing = 42,
    max_buffs = 20,
    events = {
        {
            'event_player_buff_added',
            'event_player_buff_added'
        },
        {
            'event_player_buff_removed',
            'event_player_buff_removed'
        },
        {
            'event_player_buff_proc_start',
            'event_player_buff_proc_start'
        },
        {
            'event_player_buff_proc_stop',
            'event_player_buff_proc_stop'
        }
    },
    positive_colors = {
        icon = { 255, 255, 255, 255 },
        frame = get_hud_color('color_tint_main_2', 255)
    },
    negative_colors = {
        icon = { 255, 255, 255, 255 },
        frame = get_hud_color('color_tint_alert_2', 255)
    },
    inactive_colors = {
        icon = Color.ui_grey_medium(100, true),
        frame = Color.ui_grey_medium(255, true),
        text = Color.ui_grey_medium(255, true)
    }
}

return settings('HudElementBuffBarSettings', hud_element_buff_bar_settings)
