Items
Items
File Structure
src/items/
├── weapons.lua
├── food.lua
├── drugs.lua
├── misc.lua
├── magazines.lua
├── ammo.lua
└── clothing.luaBasic Item
local items = {
['water'] = {
label = "Waterflask",
description = "A water flask",
close = false,
weight = 0.5,
stack = false,
size = {
width = 1,
height = 2,
},
},
}
for k, v in pairs(items) do
Config.Items[k] = v
endProperties
Property
Type
Required
Description
Item Types
Type
Description
Weapon Item
Weapon Properties
Property
Type
Description
Phone Item
Armor Item
Full Example File
Last updated