forked from Simnation/Main
ed
This commit is contained in:
parent
8a40491de2
commit
3cfe5d57dc
3 changed files with 156 additions and 2 deletions
|
@ -6,12 +6,13 @@ Config.CheckFrequency = 30 -- How often to check for trash cans to empty (in mi
|
|||
|
||||
-- Trash can models that can be interacted with
|
||||
Config.TrashCanModels = {
|
||||
'prop_bin_08a',
|
||||
'p_secret_weapon_02',
|
||||
'prop_bin_01a',
|
||||
'prop_bin_03a',
|
||||
'prop_bin_04a',
|
||||
'prop_bin_07a',
|
||||
'prop_bin_07d',
|
||||
'prop_bin_08a',
|
||||
'prop_cs_bin_01',
|
||||
'prop_cs_bin_01_skinned',
|
||||
'prop_cs_bin_02',
|
||||
|
@ -26,6 +27,43 @@ Config.TrashCanInventory = {
|
|||
label = 'Mülltonne'
|
||||
}
|
||||
|
||||
-- Random item spawn settings
|
||||
Config.RandomItems = {
|
||||
enabled = true, -- Enable/disable random item spawning
|
||||
chanceToSpawn = 75, -- Percentage chance that items will spawn after emptying (0-100)
|
||||
minItems = 1, -- Minimum number of items to spawn
|
||||
maxItems = 5, -- Maximum number of items to spawn
|
||||
|
||||
-- Items that can spawn in trash cans with their probabilities
|
||||
-- Format: {name = "item_name", amount = {min, max}, chance = probability_percentage}
|
||||
items = {
|
||||
-- Common trash items (70-90% chance)
|
||||
{name = "empty_bottle", amount = {1, 5}, chance = 90},
|
||||
{name = "empty_can", amount = {1, 5}, chance = 85},
|
||||
{name = "paper_trash", amount = {1, 3}, chance = 80},
|
||||
{name = "banana_peel", amount = {1, 2}, chance = 75},
|
||||
{name = "plastic_bag", amount = {1, 3}, chance = 70},
|
||||
|
||||
-- Uncommon items (30-60% chance)
|
||||
{name = "broken_phone", amount = {1, 1}, chance = 60},
|
||||
{name = "old_newspaper", amount = {1, 3}, chance = 50},
|
||||
{name = "empty_cigarette_pack", amount = {1, 2}, chance = 40},
|
||||
{name = "food_waste", amount = {1, 3}, chance = 30},
|
||||
|
||||
-- Rare items (10-25% chance)
|
||||
{name = "damaged_electronics", amount = {1, 1}, chance = 25},
|
||||
{name = "scrap_metal", amount = {1, 2}, chance = 20},
|
||||
{name = "rubber_gloves", amount = {1, 1}, chance = 15},
|
||||
{name = "aluminum_can", amount = {1, 3}, chance = 10},
|
||||
|
||||
-- Very rare items (1-5% chance)
|
||||
{name = "lost_wallet", amount = {1, 1}, chance = 5},
|
||||
{name = "broken_watch", amount = {1, 1}, chance = 3},
|
||||
{name = "old_jewelry", amount = {1, 1}, chance = 2},
|
||||
{name = "rare_collectible", amount = {1, 1}, chance = 1},
|
||||
}
|
||||
}
|
||||
|
||||
-- Notification settings
|
||||
Config.Notifications = {
|
||||
noTrashCanFound = {
|
||||
|
@ -56,5 +94,7 @@ Config.Logs = {
|
|||
enabled = true,
|
||||
webhookName = 'trash', -- Name of the webhook in qb-log
|
||||
emptyTitle = 'Trash Can Emptied',
|
||||
emptyColor = 'blue'
|
||||
emptyColor = 'blue',
|
||||
spawnTitle = 'Items Spawned in Trash',
|
||||
spawnColor = 'green'
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue