How to add new Deliveries
This guide explains how to add new delivery services and items to RTX Housing System.
Delivery configuration is located in:
configs/deliveries.luaYou will usually edit three main sections:
Config.Deliveries– delivery services & itemsConfig.Dancers– dancer NPC definitions (Dancers service only)Config.DancerDances– dancer animation list (optional)
1) Delivery Service Structure (Config.Deliveries)
Each delivery service is defined as a table inside Config.Deliveries.
Service fields explained
idUnique delivery service identifier Used internally and must be unique (exceptdancers, see below).nameService name shown in UI.descriptionShort description shown in UI.useCartEnables shopping cart system (multiple items in one order).allowQuantityAllows ordering multiple quantities of the same item.iconFontAwesome icon used in UI.itemsList of purchasable items.
2) Delivery Items (standard items)
Each item inside a service contains:
idItem name given to the player after delivery. Must exist in your inventory system.titleItem name shown in UI.descriptionShort description shown in UI.priceItem price.
Rules
Item
idmust be unique inside the serviceItem
idmust be a valid inventory item
3) DANCERS delivery service (special rules)
Important — special service
The delivery service ID MUST ALWAYS BE:
You CANNOT create new dancer delivery categories
You can ONLY add or edit items inside the existing
dancersservice
Dancer items rules
Each dancer item:
id→ must be uniqueid→ links directly toConfig.Dancersimage→ requireduseImage = true→ required
4) Define dancer NPCs (Config.Dancers)
Each dancer must exist in Config.Dancers.
Fields explained
model→ ped model namecomponentvariations→ clothing / component setup
The key must match the dancer item id.
5) Add more dances (Config.DancerDances)
You can add unlimited animations for dancers.
Each entry contains:
animdictanimname
Restart & test
Common mistakes
Creating another dancers service (ID must be
dancers)Missing dancer definition in
Config.DancersItem ID does not exist in inventory
Duplicate service IDs
Need help?
If you want, we can add delivery services or dancers for you. Contact us on Discord: https://discord.gg/rtxdev
Last updated