Craft

Craft = {
    Targets = {
        CraftEngine = "Craft Engine",
        CraftBrakes = "Craft Brakes",
        CraftTransmission = "Craft Transmission",
        CraftGeneral = "Craft General",
    },
    ["Inv-Link"] = "ox_inventory/web/build/images/", -- Set this to your inventory Directory
    ["Engine"] = {
        ["engine0"] = { 
            hash = "engine0", 
            label = "Motor Level 0",
            materials = {
                [1] = { item = "metalscrap",    amount = 50, label = "Metalscrap" },
                [2] = { item = "steel",         amount = 25, label = "Steel" },
                [3] = { item = "glass",         amount = 20, label = "Glass" },
            }
        },
        ["engine1"] = { 
            hash = "engine1", 
            label = "Motor Level 1",
            materials = {
                [1] = { item = "metalscrap",    amount = 50, label = "Metalscrap" },
                [2] = { item = "steel",         amount = 25, label = "Steel" },
                [3] = { item = "glass",         amount = 20, label = "Glass" },
            }
        },
        ["engine2"] = { 
            hash = "engine2", 
            label = "Motor Level 2",
            materials = {
                [1] = { item = "metalscrap",    amount = 50, label = "Metalscrap" },
                [2] = { item = "steel",         amount = 25, label = "Steel" },
                [3] = { item = "glass",         amount = 20, label = "Glass" },
            }
        },
        ["engine3"] = { 
            hash = "engine3", 
            label = "Motor Level 3",
            materials = {
                [1] = { item = "metalscrap",    amount = 50, label = "Metalscrap" },
                [2] = { item = "steel",         amount = 25, label = "Steel" },
                [3] = { item = "glass",         amount = 20, label = "Glass" },
            }
        },
        ["engine4"] = { 
            hash = "engine4", 
            label = "Motor Level 4",
            materials = {
                [1] = { item = "metalscrap",    amount = 50, label = "Metalscrap" },
                [2] = { item = "steel",         amount = 25, label = "Steel" },
                [3] = { item = "glass",         amount = 20, label = "Glass" },
            }
        },
    },
    ["Brakes"] = {
        ["brake0"] = { 
            hash = "brake0", 
            label = "Brakes Level 0",
            materials = {
                [1] = { item = "metalscrap",    amount = 50, label = "Metalscrap" },
                [2] = { item = "steel",         amount = 25, label = "Steel" },
                [3] = { item = "glass",         amount = 20, label = "Glass" },
            }
        },
        ["brake1"] = { 
            hash = "brake1", 
            label = "Brakes Level 1",
            materials = {
                [1] = { item = "metalscrap",    amount = 50, label = "Metalscrap" },
                [2] = { item = "steel",         amount = 25, label = "Steel" },
                [3] = { item = "glass",         amount = 20, label = "Glass" },
            }
        },
        ["brake2"] = { 
            hash = "brake2", 
            label = "Brakes Level 2",
            materials = {
                [1] = { item = "metalscrap",    amount = 50, label = "Metalscrap" },
                [2] = { item = "steel",         amount = 25, label = "Steel" },
                [3] = { item = "glass",         amount = 20, label = "Glass" },
            }
        },
        ["brake3"] = { 
            hash = "brake3", 
            label = "Brakes Level 3",
            materials = {
                [1] = { item = "metalscrap",    amount = 50, label = "Metalscrap" },
                [2] = { item = "steel",         amount = 25, label = "Steel" },
                [3] = { item = "glass",         amount = 20, label = "Glass" },
            }
        },
    },
    ["Transmission"] = {
        ["transmission0"] = { 
            hash = "transmission0", 
            label = "Transmission Level 0",
            materials = {
                [1] = { item = "metalscrap",    amount = 50, label = "Metalscrap" },
                [2] = { item = "steel",         amount = 25, label = "Steel" },
                [3] = { item = "glass",         amount = 20, label = "Glass" },
            }
        },
        ["transmission1"] = { 
            hash = "transmission1", 
            label = "Transmission Level 1",
            materials = {
                [1] = { item = "metalscrap",    amount = 50, label = "Metalscrap" },
                [2] = { item = "steel",         amount = 25, label = "Steel" },
                [3] = { item = "glass",         amount = 20, label = "Glass" },
            }
        },
        ["transmission2"] = { 
            hash = "transmission2", 
            label = "Transmission Level 2",
            materials = {
                [1] = { item = "metalscrap",    amount = 50, label = "Metalscrap" },
                [2] = { item = "steel",         amount = 25, label = "Steel" },
                [3] = { item = "glass",         amount = 20, label = "Glass" },
            }
        },
        ["transmission3"] = { 
            hash = "transmission3", 
            label = "Transmission Level 3",
            materials = {
                [1] = { item = "metalscrap",    amount = 50, label = "Metalscrap" },
                [2] = { item = "steel",         amount = 25, label = "Steel" },
                [3] = { item = "glass",         amount = 20, label = "Glass" },
            }
        },
    },
    ["General"] = {
        ["turbo"] = { 
            hash = "turbo", 
            label = "Turbo",
            materials = {
                [1] = { item = "metalscrap",    amount = 50, label = "Metalscrap" },
                [2] = { item = "steel",         amount = 25, label = "Steel" },
                [3] = { item = "glass",         amount = 20, label = "Glass" },
            }
        },
        ["headlights"] = { 
            hash = "headlights", 
            label = "Headlights",
            materials = {
                [1] = { item = "metalscrap",    amount = 50, label = "Metalscrap" },
                [2] = { item = "steel",         amount = 25, label = "Steel" },
                [3] = { item = "glass",         amount = 20, label = "Glass" },
            }
        },
        ["coilovers"] = { 
            hash = "coilovers", 
            label = "Coilovers",
            materials = {
                [1] = { item = "metalscrap",    amount = 50, label = "Metalscrap" },
                [2] = { item = "steel",         amount = 25, label = "Steel" },
                [3] = { item = "glass",         amount = 20, label = "Glass" },
            }
        },
        ["coilover_wrenches"] = { 
            hash = "coilover_wrenches", 
            label = "Coilover Wrenches",
            materials = {
                [1] = { item = "metalscrap",    amount = 50, label = "Metalscrap" },
                [2] = { item = "steel",         amount = 25, label = "Steel" },
                [3] = { item = "glass",         amount = 20, label = "Glass" },
            }
        },
        ["tint_supplies"] = { 
            hash = "tint_supplies", 
            label = "Tint Supplies",
            materials = {
                [1] = { item = "metalscrap",    amount = 50, label = "Metalscrap" },
                [2] = { item = "steel",         amount = 25, label = "Steel" },
                [3] = { item = "glass",         amount = 20, label = "Glass" },
            }
        },
        ["drift_tires"] = { 
            hash = "drift_tires", 
            label = "Drift Tires",
            materials = {
                [1] = { item = "rubber",    amount = 15, label = "Rubber" },
            }
        },
    },
    ["PublicLocation"] = {
        ["craft"] = {
            ["free1"] = {  
                ["loc"] = vector3(135.03, -3050.65, 7.04),  --Polyzone for crafting
                ["length"] = 1.0,
                ["width"] = 1.0,
                ["name"] = "free1", 
                ["heading"] = 325,
                ["minZ"] = 4, -- Here you need put - 1.0 about your Z coord on "loc"
                ["maxZ"] = 8, -- Here you need put + 1.0 about your Z coord on "loc"
            },  -- Add More Locations below this
        },
    }
}

-- ** Note: ** If you need another locations dont change only "loc" you need create a polyzone with command /pzcreate .

Last updated