> For the complete documentation index, see [llms.txt](https://mstudio-1.gitbook.io/mstudio/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mstudio-1.gitbook.io/mstudio/kz-resources/editor-4/items.md).

# Items

## Adding the items in `ox_inventory/data/items.lua`:

```lua
	['blueprint'] = {
		label = 'Projects Album',
		weight = 20,
		stack = false,
		close = true,
		client = {
			export = 'Kz-VehicleCrafting.useBlueprintDashboard'
		}
	},
	
	['wheelcar'] = {
		label = 'Car Wheel',
		weight = 1000,
		stack = true,
	},
	
	['doorcar'] = {
		label = 'Car Door',
		weight = 1000,
		stack = true,
	},
	
	['bonnetcar'] = {
		label = 'Car Bonnet',
		weight = 1000,
		stack = true,
	},
	
	['trunkcar'] = {
		label = 'Car Trunk',
		weight = 1000,
		stack = true,
	},
	
	['engine_block'] = {
		label = 'Car Engine Block',
		weight = 1000,
		stack = true,
	},
	
	['iron_scrap'] = {
		label = 'Iron Scrap',
		weight = 300,
		stack = true,
	},
	
	['brake_pads'] = {
		label = 'Brake Pads',
		weight = 300,
		stack = true,
	},
	
	['gearbox'] = {
		label = 'Gearbox',
		weight = 500,
		stack = true,
	},
	
	['spark_plug'] = {
		label = 'Spark Plug',
		weight = 100,
		stack = true,
	},
	
	['engine_oil'] = {
		label = 'Engine Oil',
		weight = 300,
		stack = true,
	},
	
	['coolant'] = {
		label = 'Coolant Can',
		weight = 300,
		stack = true,
	},
	
	['brake_fluid'] = {
		label = 'Brake Fluid',
		weight = 300,
		stack = true,
	}
```

## Example of creating an item

You’ll need to create the items you can use to place the vehicle you’re crafting wherever you like; you can create them by following this example

```lua
	['blueprint1'] = {
		label = 'Vehicle Project',
		description = 'Use this project to start designing the Kanjosj vehicle!',
		weight = 20,
		stack = false,
		close = true,
		client = {
			export = 'Kz-VehicleCrafting.useProject',
			image = 'blueprint.png'
		}
	},

	['blueprint2'] = {
		label = 'Truck Project',
		description = 'Use this project to start designing the Packer!',
		weight = 20,
		stack = false,
		close = true,
		client = {
			export = 'Kz-VehicleCrafting.useProject',
			image = 'blueprint.png'
		}
	},
```

Remember to link to it within the script itself from the config file (`shared/config.lua`)

```lua
Config.Crafting = {
    ['blueprint1'] = {
        model = 'kanjosj',
        label = "Kanjosj"
    },
    ['blueprint2'] = {
        model = 'packer',
        label = "Packer"
    },
}
```

## Item images

If you want the same images, you’ll find the ones you can use inside the script folder (place them in `ox_inventory/web/images/`)
