Scripts/resources/[ps]/ps-buffs/shared/config.lua
2024-12-29 21:28:24 +01:00

87 lines
2.3 KiB
Lua

Config = Config or {}
-- How fast should the main loop over player buffs run and also how fast to send nui messages to the client
Config.TickTime = 6000
-- "biohazard"
-- "exclamation"
-- "locationarrow"
-- "#FFD700" is gold
-- '#FDE829' is yellow
Config.Buffs = {
-- Buff Section -- Do not change type, even if you know what you are doing
-- You are free to change the index names, but other scripts that relie on this config might need it
['hacking'] = {
iconColor = "#ffffff",
iconName = 'database',
maxTime = 3600000,
progressColor = "#FFD700",
type = 'buff'
},
['intelligence'] = {
iconColor = "#ffffff",
iconName = 'lightbulb',
maxTime = 3600000,
progressColor = "#FFD700",
type = 'buff'
},
['luck'] = {
iconColor = "#ffffff",
iconName = 'dollarsign',
maxTime = 3600000,
progressColor = "#FFD700",
type = 'buff'
},
['stamina'] = {
iconColor = "#ffffff",
iconName = 'wind',
maxTime = 3600000,
progressColor = "#FFD700",
type = 'buff'
},
['strength'] = {
iconColor = "#ffffff",
iconName = 'dumbbell',
maxTime = 3600000,
progressColor = "#FFD700",
type = 'buff'
},
['swimming'] = {
iconColor = "#ffffff",
iconName = 'swimmer',
maxTime = 3600000,
progressColor = "#FFD700",
type = 'buff'
},
-- Enhancement Section -- Do not change type, even if you know what you are doing
-- Do not change the index names (super names) as they are used in the front end to determine which icon to change color
['super-hunger'] = {
maxTime = 3600000,
iconColor = '#FDE829',
type = 'enhancement',
},
['super-thirst'] = {
maxTime = 3600000,
iconColor = '#FDE829',
type = 'enhancement',
},
['super-health'] = {
maxTime = 3600000,
iconColor = '#FDE829',
type = 'enhancement',
},
['super-armor'] = {
maxTime = 3600000,
iconColor = '#FDE829',
type = 'enhancement',
},
['super-stress'] = {
maxTime = 3600000,
iconColor = '#FDE829',
type = 'enhancement',
}
}