ktoxktox docs
ktx_fishing

Market

The ped that buys the catch, and the two bonuses on top of your prices.

A ped stands at the water and pays for what is in the bag. One market per fishing spot in the download, four in total.

Config.Seller = {
    enabled = true,
    ped = {
        model = "s_m_y_dockwork_01",
        scenario = "WORLD_HUMAN_CLIPBOARD",
    },
    locations = {
        { coords = vector3(-1816.65, -1193.81, 14.30), heading = 331.3,
          blip = { enabled = true, sprite = 52, color = 3, scale = 0.7 } },
    },
}

What is paid

The price stands on the item in Config.Items. An item without a price is not bought at all, which is how junk stays junk if you want it to.

paid = price * amount * (1 + experience% + luck%)

Both bonuses only ever add on top. There is no multiplier anywhere that can take money away, so your prices are the floor.

Config.Seller = {
    experienceBonus = {
        enabled = true,
        percentPer1000Xp = 2.0,
        maxPercent = 25.0,
    },
    luckBonus = {
        enabled = true,
        chance = 12.0,
        percent = 25.0,
    },
}

The experience bonus grows with the player and stops at its cap. The luck bonus is a roll per sale: a 12 in 100 chance of 25 percent more for that sale.

Where the money lands is Config.Framework.moneyAccount, either cash or bank.

On this page