Rewards

Guide for adding or changing the rewards from the robberies

This file can be located in peuren_burglary\shared\sh_rewards.lua.

You can edit the pre-configured items and options or add new items by following the example.

Config.Rewards = {
    ---Basic dealer diffrent shell rewards
    ['basic'] = {
        ['trailer'] = {--Shell type that is in Config.Shells
            ["worddrobe"] = {
                Chance = 100,--The chance of this being in the house, from 1 to 100
                Size = { x = 4, y = 4 },--Size of the interaction box
                Items = {--Item rewards
                    --{ name = "item spawn name", min = min amount, max = max amount, chance = from 0-100 the chance of finding this item }
                    { name = "stolentv", min = 1, max = 1, chance = 20 },
                    { name = "stolenmusic", min = 1, max = 1, chance = 40 },
                    { name = "key_craft_1", min = 1, max = 1, chance = 15 },
                    { name = "key_craft_1", min = 1, max = 1, chance = 15 },
                    { name = "black_money", min = 100, max = 2000, chance = 100 },
                    { name = "clothe", min = 1, max = 3, chance = 100 },
                    { name = "matryoshka", min = 1, max = 3, chance = 100 },
                    { name = "money", min = 100, max = 1000, chance = 100 },
                    { name = "phone", min = 1, max = 2, chance = 20 },
                    { name = "radio", min = 1, max = 2, chance = 30 },
                    { name = "gold_chain", min = 1, max = 2, chance = 40 },
                    { name = "psp", min = 1, max = 2, chance = 50 },
                    { name = "weed_joint", min = 3, max = 25, chance = 30 },
                }
            },

            ["microwave"] = {
                Chance = 100,--The chance of this being in the house, from 1 to 100
                Item = {
                    item = "stolenmicrowave",
                    amount = 1
                }
            },

            ["box"] = {
                Chance = 100,--The chance of this being in the house, from 1 to 100
                Size = { x = 4, y = 4 },--Size of the interaction box
                Items = {--Item rewards
                    --{ name = "item spawn name", min = min amount, max = max amount, chance = from 0-100 the chance of finding this item }
                    { name = "weed_seed", min = 1, max = 15, chance = 30 },
                    { name = "stolenmusic", min = 1, max = 1, chance = 40 },
                    { name = "key_meth_main_1", min = 1, max = 1, chance = 5 },
                    { name = "black_money", min = 100, max = 2000, chance = 100 },
                    { name = "clothe", min = 1, max = 3, chance = 100 },
                    { name = "matryoshka", min = 1, max = 3, chance = 100 },
                    { name = "money", min = 100, max = 1000, chance = 100 },
                    { name = "phone", min = 1, max = 2, chance = 20 },
                    { name = "radio", min = 1, max = 2, chance = 30 },
                    { name = "gold_chain", min = 1, max = 2, chance = 40 },
                    { name = "psp", min = 1, max = 2, chance = 50 },
                    { name = "weed_joint", min = 3, max = 25, chance = 30 },
                }
            },

            ["computer"] = {
                Chance = 100,--The chance of this being in the house, from 1 to 100
                Size = { x = 4, y = 4 },--Size of the interaction box
                Item = {--Item rewards
                    item = "laptop",
                    amount = 1
                }
            },   
            
            ["bong_cabinet"] = {
                Chance = 100,--The chance of this being in the house, from 1 to 100
                Size = { x = 4, y = 4 },--Size of the interaction box
                Items = {--Item rewards
                    --{ name = "item spawn name", min = min amount, max = max amount, chance = from 0-100 the chance of finding this item }
                    { name = "trophy", min = 1, max = 2, chance = 60 },
                    { name = "camera", min = 1, max = 1, chance = 50 },
                    { name = "necklace", min = 1, max = 2, chance = 30 },
                    { name = "key_coke_1", min = 1, max = 1, chance = 15 },
                    { name = "clothe", min = 1, max = 3, chance = 100 },
                    { name = "rolex", min = 1, max = 1, chance = 30 },
                    { name = "black_money", min = 100, max = 2500, chance = 100 },
                }
            },

            ["tv_cabinet"] = {
                Chance = 100,--The chance of this being in the house, from 1 to 100
                Size = { x = 4, y = 4 },--Size of the interaction box
                Items = {--Item rewards
                    --{ name = "item spawn name", min = min amount, max = max amount, chance = from 0-100 the chance of finding this item }
                    { name = "money", min = 100, max = 1000, chance = 100 },
                    { name = "meth_brick", min = 1, max = 25, chance = 40 },
                    { name = "weed_seed", min = 1, max = 15, chance = 30 },
                    { name = "matryoshka", min = 1, max = 2, chance = 60 },
                    { name = "key_craft_1", min = 1, max = 1, chance = 20 },
                    { name = "clothe", min = 1, max = 3, chance = 100 },
                    { name = "psp", min = 1, max = 2, chance = 50 },
                    { name = "gold_chain", min = 1, max = 2, chance = 30 },
                }
            },

            ["beer_fridge"] = {
                Chance = 100,--The chance of this being in the house, from 1 to 100
                Size = { x = 4, y = 4 },--Size of the interaction box
                Items = {--Item rewards
                    --{ name = "item spawn name", min = min amount, max = max amount, chance = from 0-100 the chance of finding this item }
                    { name = "burger", min = 1, max = 5, chance = 100 },
                    { name = "water", min = 1, max = 4, chance = 100 },
                    { name = "meth", min = 1, max = 55, chance = 100 },
                    { name = "coke_bag", min = 1, max = 20, chance = 100 },
                    { name = "key_heroin_1", min = 1, max = 1, chance = 20 },
                    { name = "black_money", min = 100, max = 2500, chance = 100 },
                }
            },

            ["couch"] = {
                Chance = 100,--The chance of this being in the house, from 1 to 100
                Size = { x = 4, y = 4 },--Size of the interaction box
                Items = {--Item rewards
                    --{ name = "item spawn name", min = min amount, max = max amount, chance = from 0-100 the chance of finding this item }
                    { name = "money", min = 100, max = 1000, chance = 100 },
                    { name = "weed_joint", min = 1, max = 20, chance = 30 },
                    { name = "weed_seed", min = 1, max = 15, chance = 50 },
                    { name = "matryoshka", min = 1, max = 2, chance = 100 },
                    { name = "clothe", min = 1, max = 3, chance = 100 },
                    { name = "key_meth_main_1", min = 1, max = 1, chance = 10 },
                    { name = "psp", min = 1, max = 2, chance = 60 },
                    { name = "gold_chain", min = 1, max = 2, chance = 40 },
                }                
            },

            ["cabinet"] = {
                Chance = 100,--The chance of this being in the house, from 1 to 100
                Size = { x = 4, y = 4 },--Size of the interaction box
                Items = {--Item rewards
                    --{ name = "item spawn name", min = min amount, max = max amount, chance = from 0-100 the chance of finding this item }
                    { name = "ammo-9", min = 5, max = 40, chance = 60 },
                    { name = "ammo-50", min = 5, max = 20, chance = 50 },
                    { name = "ammo-rifle", min = 5, max = 30, chance = 40 },
                    { name = "machine_receiver", min = 1, max = 2, chance = 5 },
                    { name = "machine_receiver3", min = 1, max = 2, chance = 5 },
                    { name = "pistol_mk_part_1", min = 1, max = 2, chance = 5 },
                    { name = "pistol_mk_part_2", min = 1, max = 2, chance = 5 },
                    { name = "mini_smg_clip", min = 1, max = 2, chance = 5 },
                    { name = "mini_smg_trigger", min = 1, max = 2, chance = 5 },
                    { name = "shotgun_part", min = 1, max = 2, chance = 5 },
                    { name = "shotgun_part3", min = 1, max = 2, chance = 5 },
                    { name = "shotgun_parts", min = 1, max = 2, chance = 5 },
                }
            },
        },

        ['small'] = {--Shell type that is in Config.Shells
            ["worddrobe"] = {
                Chance = 100,--The chance of this being in the house, from 1 to 100
                Size = { x = 4, y = 4 },--Size of the interaction box
                Items = {--Item rewards
                    --{ name = "item spawn name", min = min amount, max = max amount, chance = from 0-100 the chance of finding this item }
                    { name = "stolentv", min = 1, max = 1, chance = 20 },
                    { name = "stolenmusic", min = 1, max = 1, chance = 40 },
                    { name = "key_craft_1", min = 1, max = 1, chance = 15 },
                    { name = "black_money", min = 100, max = 2500, chance = 100 },
                    { name = "clothe", min = 1, max = 5, chance = 100 },
                    { name = "matryoshka", min = 1, max = 5, chance = 100 },
                    { name = "money", min = 100, max = 1500, chance = 100 },
                    { name = "phone", min = 1, max = 3, chance = 20 },
                    { name = "radio", min = 1, max = 3, chance = 30 },
                    { name = "gold_chain", min = 1, max = 3, chance = 40 },
                    { name = "psp", min = 1, max = 3, chance = 50 },
                    { name = "weed_joint", min = 3, max = 30, chance = 30 },
                }
            },

            ["microwave"] = {
                Chance = 100,--The chance of this being in the house, from 1 to 100
                Item = {--Item rewards
                    item = "stolenmicrowave",
                    amount = 1
                }
            },

            ["box"] = {
                Chance = 100,--The chance of this being in the house, from 1 to 100
                Size = { x = 4, y = 4 },--Size of the interaction box
                Items = {--Item rewards
                    --{ name = "item spawn name", min = min amount, max = max amount, chance = from 0-100 the chance of finding this item }
                    { name = "weed_seed", min = 1, max = 20, chance = 30 },
                    { name = "stolenmusic", min = 1, max = 1, chance = 40 },
                    { name = "key_meth_main_1", min = 1, max = 1, chance = 5 },
                    { name = "black_money", min = 100, max = 2500, chance = 100 },
                    { name = "clothe", min = 1, max = 5, chance = 100 },
                    { name = "matryoshka", min = 1, max = 5, chance = 100 },
                    { name = "money", min = 100, max = 1500, chance = 100 },
                    { name = "phone", min = 1, max = 3, chance = 20 },
                    { name = "radio", min = 1, max = 3, chance = 30 },
                    { name = "gold_chain", min = 1, max = 3, chance = 40 },
                    { name = "psp", min = 1, max = 3, chance = 50 },
                    { name = "weed_joint", min = 3, max = 30, chance = 30 },
                }
            },

            ["computer"] = {
                Chance = 100,--The chance of this being in the house, from 1 to 100
                Size = { x = 4, y = 4 },--Size of the interaction box
                Item = {--Item rewards
                    item = "laptop",
                    amount = 1
                }
            }, 
            
            ["bong_cabinet"] = {
                Chance = 100,--The chance of this being in the house, from 1 to 100
                Size = { x = 4, y = 4 },--Size of the interaction box
                Items = {--Item rewards
                    --{ name = "item spawn name", min = min amount, max = max amount, chance = from 0-100 the chance of finding this item }
                    { name = "trophy", min = 1, max = 3, chance = 60 },
                    { name = "camera", min = 1, max = 1, chance = 50 },
                    { name = "necklace", min = 1, max = 3, chance = 30 },
                    { name = "key_coke_1", min = 1, max = 1, chance = 15 },
                    { name = "clothe", min = 1, max = 5, chance = 100 },
                    { name = "rolex", min = 1, max = 2, chance = 30 },
                    { name = "black_money", min = 100, max = 2900, chance = 100 },
                }
            },

            ["tv_cabinet"] = {
                Chance = 100,--The chance of this being in the house, from 1 to 100
                Size = { x = 4, y = 4 },--Size of the interaction box
                Items = {--Item rewards
                    --{ name = "item spawn name", min = min amount, max = max amount, chance = from 0-100 the chance of finding this item }
                    { name = "money", min = 100, max = 1000, chance = 100 },
                    { name = "meth_brick", min = 1, max = 30, chance = 40 },
                    { name = "weed_seed", min = 1, max = 20, chance = 30 },
                    { name = "matryoshka", min = 1, max = 5, chance = 60 },
                    { name = "key_craft_1", min = 1, max = 1, chance = 20 },
                    { name = "clothe", min = 1, max = 5, chance = 100 },
                    { name = "psp", min = 1, max = 3, chance = 50 },
                    { name = "gold_chain", min = 1, max = 3, chance = 30 },
                }
            },

            ["beer_fridge"] = {
                Chance = 100,--The chance of this being in the house, from 1 to 100
                Size = { x = 4, y = 4 },--Size of the interaction box
                Items = {--Item rewards
                    --{ name = "item spawn name", min = min amount, max = max amount, chance = from 0-100 the chance of finding this item }
                    { name = "burger", min = 1, max = 8, chance = 100 },
                    { name = "water", min = 1, max = 6, chance = 100 },
                    { name = "meth", min = 1, max = 65, chance = 100 },
                    { name = "coke_bag", min = 1, max = 30, chance = 100 },
                    { name = "key_heroin_1", min = 1, max = 1, chance = 20 },
                    { name = "black_money", min = 100, max = 2800, chance = 100 },
                }
            },

            ["couch"] = {
                Chance = 100,--The chance of this being in the house, from 1 to 100
                Size = { x = 4, y = 4 },--Size of the interaction box
                Items = {--Item rewards
                    --{ name = "item spawn name", min = min amount, max = max amount, chance = from 0-100 the chance of finding this item }
                    { name = "money", min = 100, max = 1500, chance = 100 },
                    { name = "weed_joint", min = 1, max = 30, chance = 30 },
                    { name = "weed_seed", min = 1, max = 20, chance = 50 },
                    { name = "matryoshka", min = 1, max = 5, chance = 100 },
                    { name = "clothe", min = 1, max = 5, chance = 100 },
                    { name = "key_meth_main_1", min = 1, max = 1, chance = 10 },
                    { name = "psp", min = 1, max = 3, chance = 60 },
                    { name = "gold_chain", min = 1, max = 3, chance = 40 },
                }
            },
        },
        --- OTHER SHELL TYPES FOLLOW THE SAME PATTERN
    },
    -- OTHER DEALERS FOLLOW THE SAME PATTERN
}

Last updated