This commit is contained in:
Nordi98 2025-07-01 12:45:49 +02:00
parent 30c73f0bfb
commit 75db08b9a1
3 changed files with 204 additions and 238 deletions

View file

@ -10,8 +10,8 @@ Config.oldESX = false -- Nothing to do with qb / Essentially when set to true it

Config.sellShop = {
enabled = true,
coords = vec3(-1597.1718, 5201.9839, 3.3590), -- X, Y, Z Coords of where fish buyer will spawn
heading = 234.6800, -- Heading of fish buyer ped
coords = vec3(-1612.19, -989.18, 13.01-0.9), -- X, Y, Z Coords of where fish buyer will spawn
heading = 45.3, -- Heading of fish buyer ped
ped = 'cs_old_man2' -- Ped name here
}

@ -44,16 +44,34 @@ Config.bait = {
{
itemName = 'young_salmon',
label = 'Young Salmon',
loseChance = 80, -- easy to lose
catchBonus = 25 -- 25% better catch chance
},
{
itemName = 'illegal_bait',
label = 'Illegal Bait',
loseChance = 60,
catchBonus = 20, -- 20% better catch chance
exclusive = {'pufferfish'} -- can only catch pufferfish with this
}
},
defaultBait = 'fishbait' -- Default bait item name
defaultBait = 'fishbait', -- Default bait item name
itemName = 'fishbait', -- For backwards compatibility
loseChance = 65 -- For backwards compatibility
}

Config.fishingRod = {
itemName = 'fishingrod', -- Item name of fishing rod
breakChance = 25 --Chance of breaking pole when failing skillbar (Setting to 0 means never break)
}

Config.timeForBite = { -- Set min and max random range of time it takes for fish to be on the line.
min = 2 * seconds,
max = 20 * seconds
}

Config.processing = {
knifeItem = 'weapon_knife',
knifeItem = 'knife',
products = {
{
sourceItem = 'tuna',
@ -115,18 +133,6 @@ Config.processedItems = {
{ item = 'caviar', label = 'Caviar', price = {300, 500} },
}


Config.fishingRod = {
itemName = 'fishingrod', -- Item name of fishing rod
breakChance = 25 --Chance of breaking pole when failing skillbar (Setting to 0 means never break)
}

Config.timeForBite = { -- Set min and max random range of time it takes for fish to be on the line.
min = 2 * seconds,
max = 20 * seconds
}


RegisterNetEvent('wasabi_fishing:notify')
AddEventHandler('wasabi_fishing:notify', function(title, message, msgType)
-- Place notification system info here, ex: exports['mythic_notify']:SendAlert('inform', message)