de
This commit is contained in:
		
							parent
							
								
									19c76f2715
								
							
						
					
					
						commit
						f807f6dba1
					
				
					 2 changed files with 7 additions and 11 deletions
				
			
		| 
						 | 
				
			
			@ -6,7 +6,7 @@ local fishing = false
 | 
			
		|||
if Config.sellShop.enabled then
 | 
			
		||||
    CreateThread(function()
 | 
			
		||||
        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({
 | 
			
		||||
            coords = Config.sellShop.coords,
 | 
			
		||||
            distance = 30
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -10,8 +10,8 @@ Config.oldESX = false -- Nothing to do with qb / Essentially when set to true it
 | 
			
		|||
 | 
			
		||||
Config.sellShop = {
 | 
			
		||||
    enabled = true,
 | 
			
		||||
    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
 | 
			
		||||
    coords = vec3(-1597.5862, 5202.3809, 3.3590), -- X, Y, Z Coords of where fish buyer will spawn
 | 
			
		||||
    heading = 225.9852, -- Heading of fish buyer ped
 | 
			
		||||
    ped = 'cs_old_man2' -- Ped name here
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -40,20 +40,16 @@ Config.bait = {
 | 
			
		|||
            label = 'Artificial Lure',
 | 
			
		||||
            loseChance = 30, -- harder to lose
 | 
			
		||||
            catchBonus = 15 -- 15% better catch chance
 | 
			
		||||
            exclusive = {'pufferfish'}
 | 
			
		||||
        },
 | 
			
		||||
        { 
 | 
			
		||||
            itemName = 'young_salmon', 
 | 
			
		||||
            label = 'Young Salmon',
 | 
			
		||||
            loseChance = 80, -- easy to lose
 | 
			
		||||
            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
 | 
			
		||||
    itemName = 'fishbait', -- For backwards compatibility
 | 
			
		||||
| 
						 | 
				
			
			@ -112,7 +108,7 @@ Config.processing = {
 | 
			
		|||
            sourceItem = 'pufferfish',
 | 
			
		||||
            yield = {
 | 
			
		||||
                { item = 'fish_fillet', amount = {1, 3} },
 | 
			
		||||
                { item = 'caviar', chance = 25 } -- 25% chance
 | 
			
		||||
                { item = 'poison', chance = 25 } -- 25% chance
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue