1
0
Fork 0
forked from Simnation/Main
This commit is contained in:
Nordi98 2025-07-01 13:37:52 +02:00
parent 19c76f2715
commit f807f6dba1
2 changed files with 7 additions and 11 deletions

View file

@ -6,7 +6,7 @@ local fishing = false
if Config.sellShop.enabled then if Config.sellShop.enabled then
CreateThread(function() CreateThread(function()
local ped, textUI local ped, textUI
CreateBlip(Config.sellShop.coords, 356, 1, Strings.sell_shop_blip, 0.80) --CreateBlip(Config.sellShop.coords, 356, 1, Strings.sell_shop_blip, 0.80)
local point = lib.points.new({ local point = lib.points.new({
coords = Config.sellShop.coords, coords = Config.sellShop.coords,
distance = 30 distance = 30

View file

@ -10,8 +10,8 @@ Config.oldESX = false -- Nothing to do with qb / Essentially when set to true it
Config.sellShop = { Config.sellShop = {
enabled = true, enabled = true,
coords = vec3(-1612.19, -989.18, 13.01-0.9), -- X, Y, Z Coords of where fish buyer will spawn coords = vec3(-1597.5862, 5202.3809, 3.3590), -- X, Y, Z Coords of where fish buyer will spawn
heading = 45.3, -- Heading of fish buyer ped heading = 225.9852, -- Heading of fish buyer ped
ped = 'cs_old_man2' -- Ped name here ped = 'cs_old_man2' -- Ped name here
} }
@ -40,20 +40,16 @@ Config.bait = {
label = 'Artificial Lure', label = 'Artificial Lure',
loseChance = 30, -- harder to lose loseChance = 30, -- harder to lose
catchBonus = 15 -- 15% better catch chance catchBonus = 15 -- 15% better catch chance
exclusive = {'pufferfish'}
}, },
{ {
itemName = 'young_salmon', itemName = 'young_salmon',
label = 'Young Salmon', label = 'Young Salmon',
loseChance = 80, -- easy to lose loseChance = 80, -- easy to lose
catchBonus = 25 -- 25% better catch chance catchBonus = 25 -- 25% better catch chance
exclusive = {'pufferfish'} -- can only catch pufferfish with this
}, },
{
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 itemName = 'fishbait', -- For backwards compatibility
@ -112,7 +108,7 @@ Config.processing = {
sourceItem = 'pufferfish', sourceItem = 'pufferfish',
yield = { yield = {
{ item = 'fish_fillet', amount = {1, 3} }, { item = 'fish_fillet', amount = {1, 3} },
{ item = 'caviar', chance = 25 } -- 25% chance { item = 'poison', chance = 25 } -- 25% chance
} }
} }
} }