Skip to content

Bag Item Generator

Create storage bags that open their own inventory. Use this generator to define bags with a custom size and appearance.


Overview

Use this tool to generate the Lua structure for a custom bag item. Once generated, place the code in a new item file inside your schema's items directory.

Recommended Placement:

garrysmod/gamemodes/[schema folder]/schema/items/[item_id].lua

Unique identifier for this item (no spaces, lowercase)
3D model path for the bag
Optional negative weight for weight-based bags. Leave blank to generate a grid-based bag using width and height.
Bag inventory width
Bag inventory height

Generated Code