Restoration Items

data/restoration_items.lua

All generic restoration items are defined here.

Restoration items can instead be defined on a per-vehicle basis, in the vehicles configuration.

local restorationItems = {
    -- Item required to restore the engine.
    engine = {    
        name = "engine",            -- Image name.                      
        label = "Crate Engine",     -- UI label.
        price = 2500,               -- Item price.
        time = 4                    -- Delivery time (in hours).
    },

    -- Item required to restore the body.
    -- NOTE: Each body damage/dent requires these items individually.
    --       If a vehicle has 3 dents, you will need 3x the items.
    body = {
        name = "panel",
        label = "Aluminium Body Panel",
        price = 300,
        time = 2
    },

    -- Item required to restore the wheels.
    -- NOTE: Each wheel requires these items individually.
    --       If a vehicle has 4 broken wheels, you will need 4x the items.
    wheels = {
        name = "wheel",
        label = "Wheel",
        price = 800,
        time = 3
    },

    -- Item required to restore the doors.
    -- NOTE: Each door requires these items individually.
    --       If a vehicle has 4 missing doors, you will need 4x the items.
    doors = {
        name = "door",
        label = "Aluminium Door",
        price = 500,
        time = 3
    },

    -- Item required to restore the windows.
    -- NOTE: Each window requires these items individually.
    --       If a vehicle has 4 missing windows, you will need 4x the items.
    windows = {
        name = "window",
        label = "Glass Window",
        price = 200,
        time = 2
    },
}

_ENV.RestorationItems = restorationItems

Last updated