Rewards

Guide for adding or changing the rewards from the chopped cars

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

Config.Rewards = {
    ['basic'] = {--Dealer type
        ['A'] = {--Vehicle class type rewards

            --supported bone types: wheel, engine, bonnet, boot, door, chassis
            -- { 
            --     name = item name, 
            --     bone = the item that will be received after choping that vehicle bone, 
            --     min = min amount, 
            --     max = max amount, 
            --     chance = 1 - 100 of getting this item, 
            --     carrying = caryying prop data, if you don't need this set it to false
            -- }

            { name = "bonnet", bone = 'bonnet', min = 1, max = 1, caryying = {
                prop = 'imp_prop_impexp_bonnet_05a',
                boneIndex = 28422,
                anim = "idle",
                animDict = "anim@heists@box_carry@",
                disableSprint = true,
                disableJump = true,
                disableFight = true,
                offsets = { 0.0, -0.1, 1.5, -80.0, 0.0, 0.0 }
            }},

            { name = "door", bone = 'seat', min = 1, max = 1, caryying = {
                prop = 'imp_prop_impexp_car_door_02a',
                boneIndex = 28422,
                anim = "idle",
                animDict = "anim@heists@box_carry@",
                disableSprint = true,
                disableJump = true,
                disableFight = true,
                offsets = { -0.5, -0.15, 0.25, 0.0, 0.0, 90.0 }
            }},

            { name = "boot", bone = 'boot', min = 1, max = 1, caryying = {
                prop = 'imp_prop_impexp_trunk_01a',
                boneIndex = 28422,
                anim = "idle",
                animDict = "anim@heists@box_carry@",
                disableSprint = true,
                disableJump = true,
                disableFight = true,
                offsets = { 0.0, 0.0, 0.55, 90.0, 0.0, -180.0 }
            }},

            { name = "wheel", bone = 'wheel', min = 1, max = 1, caryying = {
                prop = 'prop_wheel_01',
                boneIndex = 28422,
                anim = "idle",
                animDict = "anim@heists@box_carry@",
                disableSprint = true,
                disableJump = true,
                disableFight = true,
                offsets = { 0.0, -0.1, 0.10, 0.0, 0.0, 0.0 }
            }},

            { name = "engine", bone = 'engine', min = 1, max = 1, caryying = {
                prop = 'imp_prop_impexp_engine_part_01a',
                boneIndex = 28422,
                anim = "idle",
                animDict = "anim@heists@box_carry@",
                disableSprint = true,
                disableJump = true,
                disableFight = true,
                offsets = { 0.0, -0.1, -0.15, 0.0, 0.0, -180.0 }
            }},
        },

        ['B'] = {--Vehicle class type rewards
            { name = "bonnet", bone = 'bonnet', min = 1, max = 1, caryying = {
                prop = 'imp_prop_impexp_bonnet_05a',
                boneIndex = 28422,
                anim = "idle",
                animDict = "anim@heists@box_carry@",
                disableSprint = true,
                disableJump = true,
                disableFight = true,
                offsets = { 0.0, -0.1, 1.5, -80.0, 0.0, 0.0 }
            }},

            { name = "door", bone = 'seat', min = 1, max = 1, caryying = {
                prop = 'imp_prop_impexp_car_door_02a',
                boneIndex = 28422,
                anim = "idle",
                animDict = "anim@heists@box_carry@",
                disableSprint = true,
                disableJump = true,
                disableFight = true,
                offsets = { -0.5, -0.15, 0.25, 0.0, 0.0, 90.0 }
            }},

            { name = "boot", bone = 'boot', min = 1, max = 1, caryying = {
                prop = 'imp_prop_impexp_trunk_01a',
                boneIndex = 28422,
                anim = "idle",
                animDict = "anim@heists@box_carry@",
                disableSprint = true,
                disableJump = true,
                disableFight = true,
                offsets = { 0.0, 0.0, 0.55, 90.0, 0.0, -180.0 }
            }},

            { name = "wheel", bone = 'wheel', min = 1, max = 1, caryying = {
                prop = 'prop_wheel_01',
                boneIndex = 28422,
                anim = "idle",
                animDict = "anim@heists@box_carry@",
                disableSprint = true,
                disableJump = true,
                disableFight = true,
                offsets = { 0.0, -0.1, 0.10, 0.0, 0.0, 0.0 }
            }},

            { name = "engine", bone = 'engine', min = 1, max = 1, caryying = {
                prop = 'imp_prop_impexp_engine_part_01a',
                boneIndex = 28422,
                anim = "idle",
                animDict = "anim@heists@box_carry@",
                disableSprint = true,
                disableJump = true,
                disableFight = true,
                offsets = { 0.0, -0.1, -0.15, 0.0, 0.0, -180.0 }
            }},
        },

        ['S'] = {--Vehicle class type rewards
            { name = "bonnet", bone = 'bonnet', min = 1, max = 1, caryying = {
                prop = 'imp_prop_impexp_bonnet_05a',
                boneIndex = 28422,
                anim = "idle",
                animDict = "anim@heists@box_carry@",
                disableSprint = true,
                disableJump = true,
                disableFight = true,
                offsets = { 0.0, -0.1, 1.5, -80.0, 0.0, 0.0 }
            }},

            { name = "door", bone = 'seat', min = 1, max = 1, caryying = {
                prop = 'imp_prop_impexp_car_door_02a',
                boneIndex = 28422,
                anim = "idle",
                animDict = "anim@heists@box_carry@",
                disableSprint = true,
                disableJump = true,
                disableFight = true,
                offsets = { -0.5, -0.15, 0.25, 0.0, 0.0, 90.0 }
            }},

            { name = "boot", bone = 'boot', min = 1, max = 1, caryying = {
                prop = 'imp_prop_impexp_trunk_01a',
                boneIndex = 28422,
                anim = "idle",
                animDict = "anim@heists@box_carry@",
                disableSprint = true,
                disableJump = true,
                disableFight = true,
                offsets = { 0.0, 0.0, 0.55, 90.0, 0.0, -180.0 }
            }},

            { name = "wheel", bone = 'wheel', min = 1, max = 1, caryying = {
                prop = 'prop_wheel_01',
                boneIndex = 28422,
                anim = "idle",
                animDict = "anim@heists@box_carry@",
                disableSprint = true,
                disableJump = true,
                disableFight = true,
                offsets = { 0.0, -0.1, 0.10, 0.0, 0.0, 0.0 }
            }},

            { name = "engine", bone = 'engine', min = 1, max = 1, caryying = {
                prop = 'imp_prop_impexp_engine_part_01a',
                boneIndex = 28422,
                anim = "idle",
                animDict = "anim@heists@box_carry@",
                disableSprint = true,
                disableJump = true,
                disableFight = true,
                offsets = { 0.0, -0.1, -0.15, 0.0, 0.0, -180.0 }
            }},
        }
    }
}

Last updated