Skip to content

Weapon Item Generator

Create equippable weapon items that players can carry in their inventory and use in combat. Use this generator when a weapon should be visible to Lilia's inventory, vendor, storage, and balancing systems.

Lilia can automatically generate weapon items for registered weapon entities that do not have manual item definitions. Use this generator when you want to override that default behavior for a specific weapon class.

Output Location:

garrysmod/gamemodes/[schema folder]/schema/definitions/sh_items.lua
Unique identifier for this item (no spaces, lowercase)
3D model path displayed in the inventory
The weapon entity class that is given when equipped
Inventory slot width
Inventory slot height
Optional category key used to prevent equipping another weapon in the same slot
Controls the base `DropOnDeath` field
Optional sound override played when equipping
Optional sound override played when unequipping
Optional skill requirements as skill/value pairs, such as guns = 5.

Generated Code