Custom clothes price

You can add a new section property that allows you to create custom prices per clothes index. If it is not created or the index is missing its uses default price from price key.

Example in section:

{
    label = 'Shoes',
    name = 'shoes_1',
    from = 1,
    to = 88,
    current = 1,
    price = 50,
    customPrices = {
        ["1"] = 100,
        ["2"] = 200,
    },
    reset = {
        'shoes_2'
    },
},

Specific sex

customPrices = {
    ['male'] = {
        ['2'] = 20,
        ['3'] = 35,
        ['5'] = 1500,
    },
    ['female'] = {},
}

Example in section:

{
    label = 'Shoes',
    name = 'shoes_1',
    from = 1,
    to = 88,
    current = 1,
    price = 50,
    customPrices = {
        ['male'] = {
            ['2'] = 20,
            ['3'] = 35,
            ['5'] = 1500,
        },
        ['female'] = {},
    }
    reset = {
        'shoes_2'
    },
},

Last updated