Configuration

Do not make changes to the config if you don't know what you are doing. The script works properly without any configuration. Just needs to be setup logs and steam indentifiers.
Config Preview: v1.0
Last updated

Do not make changes to the config if you don't know what you are doing. The script works properly without any configuration. Just needs to be setup logs and steam indentifiers.
Last updated
Config = {}
Config.Locale = "pt"
Config.DiscordLogs = {
enabled = true,
webhook = ""
}
-- Chest open animation (player)
Config.ChestOpenAnimDict = "mech_pickup@loot@money_box@counter"
Config.ChestOpenAnimName = "lockbreak" -- if this clip doesnโt play on your build, change to: "base" or "loop"
Config.ChestOpenAnimDuration = 2500 -- ms
Config.ChestOpenCooldown = 3000 -- ms (prevents spam)
-- Required item unlock progress (only when the chest is locked)
Config.RequiredItemUnlockTime = 10000 -- ms (progress bar time before the chest unlocks)
Config.ChestModel = "s_lootablebedchest" -- default chest prop
Config.ChestInteractDistance = 2.0 -- Distance to unlock interaction
-- Admin command
Config.AdminCommand = "treasure"
-- Steam whitelist (ONLY these can use the command)
Config.AllowedSteamIdentifiers = {
"",
}
-- Treasure search radius settings
Config.TreasureRadius = 120.0
-- Radius blip style hash: | Don't mess around, better not
Config.TreasureRadiusBlipStyle = joaat("BLIP_STYLE_AREA")