> For the complete documentation index, see [llms.txt](https://peuren.gitbook.io/peuren/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://peuren.gitbook.io/peuren/peuren_fishing/configuration/baits.md).

# Baits

Configuration guide for creating or editing the baits.

## Bait Configuration

```lua
Config.Baits = { --Don't touch this
    ["none"] = { --Rewards if the player fishes without any bait
        timeToWait = {min = 10000, max = 20000},
        rewards = { --[[
            {type = "item", item = "itemToGive", amount = {min = minAmount, max = maxAmount}, chance = chanceOfTheReward}, -- Give an item
            {type = "fish", item = "fishItemToGive", amount = {min = minFishWeight, max = maxFishWeight}, chance = chanceOfTheReward}, -- Give a fish
            {type = "money", account = "accountToGiveMoney", amount = {min = minAmount, max = maxAmount}, chance = chanceOfTheReward}, -- Give money to a specific account ('cash', 'bank')
        ]]
            {type = "money", account = "cash", amount = {min = 5, max = 10}, chance = 50}, 
            {type = "item", item = "glass_bottle", amount = {min = 1, max = 2}, chance = 10},
            {type = "item", item = "rubber", amount = {min = 1, max = 2}, chance = 10},
            {type = "item", item = "plastic", amount = {min = 1, max = 2}, chance = 30},
        }
    },
    ['basicbait'] = {
        timeToWait = {min = 5000, max = 15000},
        rewards = {
            {type = "fish", item = "sparling", amount = {min = 1, max = 1}, chance = 20},
            {type = "fish", item = "pike", amount = {min = 1, max = 1}, chance = 20},
            {type = "fish", item = "catfish", amount = {min = 1, max = 1}, chance = 20},
            {type = "fish", item = "bream", amount = {min = 1, max = 1}, chance = 20},
            {type = "fish", item = "eal", amount = {min = 1, max = 1}, chance = 10},
            {type = "fish", item = "cod", amount = {min = 1, max = 1}, chance = 10},
        }
    },
    ['probait'] = {
        timeToWait = {min = 10000, max = 25000},
        rewards = {
            {type = "fish", item = "redfish", amount = {min = 1, max = 1}, chance = 25},
            {type = "fish", item = "largemouthbass", amount = {min = 1, max = 1}, chance = 25},
            {type = "fish", item = "gayfish", amount = {min = 1, max = 1}, chance = 25},
            {type = "fish", item = "salmon", amount = {min = 1, max = 1}, chance = 25},
        }
    },
}
```
