Upgrade System

The fishing rod upgrade system allows players to enhance their fishing rods to more advanced tiers that have better fishing capabilities.

General Configuration

enabled = true
enabledrequiredboolean
true
Allows you to enable or disable the entire fishing rod upgrade system. When set to false, the merchant NPC won't spawn, and players won't be able to upgrade their fishing rods.

Merchant Configuration

The merchant section defines the NPC who handles rod upgrades:

merchant = {
    model = 'cs_old_man2',

    coords = vec4(1662.91, 35.41, 170.68, 276.22),
    scenario = 'WORLD_HUMAN_SMOKING',

    blip = {
        enabled = true,
        sprite = 356,
        color = 3,
        scale = 0.8,
        label = 'Rod Upgrade Shop'
    }
}
merchant.modelrequiredstring
'cs_old_man2'
The model name of the NPC merchant who handles fishing rod upgrades.
merchant.coordsrequiredvector4
The coordinates where the merchant will spawn (x, y, z, heading).
merchant.scenariorequiredstring
'WORLD_HUMAN_STAND_FISHING'
The animation scenario the merchant will use.

Merchant Blip Configuration

The merchant.blip section controls how the merchant appears on the map:

blip = {
    enabled = true,
    sprite = 356,
    color = 3,
    scale = 0.8,
    label = 'Rod Upgrade Shop'
}
merchant.blip.enabledrequiredboolean
true
Whether to show the merchant's location on the map.
merchant.blip.spriterequirednumber
356
The blip sprite ID to use on the map.
merchant.blip.displayrequirednumber
4
The blip display mode on the map.
merchant.blip.scalerequirednumber
0.8
The size of the blip on the map.
merchant.blip.colorrequirednumber
3
The blip color ID to use on the map.
merchant.blip.labelrequiredstring
'Rod Upgrade Shop'
The text label shown on the map for the merchant.

Price Configuration

The priceMultiplier section defines the cost to upgrade fishing rods to each tier:

priceMultiplier = {
    [1] = 0.8,
    [2] = 0.8,
    [3] = 0.8,
    [4] = 0.8,
}
priceMultiplierrequiredtable
A table defining the price multiplier for each rod tier upgrade. Each multiplier is applied to the target rod's base price from the rod configuration.
priceMultiplier[1]requirednumber
0.8
The price multiplier for upgrading to a Tier 1 rod.
priceMultiplier[2]requirednumber
0.8
The price multiplier for upgrading to a Tier 2 rod.
priceMultiplier[3]requirednumber
0.8
The price multiplier for upgrading to a Tier 3 rod.
priceMultiplier[4]requirednumber
0.8
The price multiplier for upgrading to a Tier 4 rod.

Upgrade Duration Configuration

The upgradeDuration section defines how long each upgrade process takes:

upgradeDuration = {
    [1] = 8000,
    [2] = 12000,
    [3] = 16000,
    [4] = 20000,
}
upgradeDurationrequiredtable
A table defining the duration in milliseconds for each tier upgrade.
upgradeDuration[1]requirednumber
8000
The time in milliseconds to upgrade to a Tier 1 rod.
upgradeDuration[2]requirednumber
12000
The time in milliseconds to upgrade to a Tier 2 rod.
upgradeDuration[3]requirednumber
16000
The time in milliseconds to upgrade to a Tier 3 rod.
upgradeDuration[4]requirednumber
20000
The time in milliseconds to upgrade to a Tier 4 rod.