Outfit Item Definition
Outfit item system for the Lilia framework.
Overview
Outfit items are wearable items that can change player appearance, models, skins, bodygroups, and provide attribute boosts. They support PAC integration and visual indicators.
PLACEMENT: - Place in: ModuleFolder/items/outfit/ItemHere.lua (for module-specific items) - Place in: SchemaFolder/items/outfit/ItemHere.lua (for schema-specific items)
USAGE: - Outfit items are equipped by using them - They change the player's model and appearance - Items remain in inventory when equipped - Can be unequipped to restore original appearance - Outfit categories prevent conflicts between items
name
📋 Purpose
Sets the display name shown to players
💡 Example Usage
desc
📋 Purpose
Sets the description text shown to players
💡 Example Usage
category
📋 Purpose
Sets the category for inventory sorting
💡 Example Usage
model
📋 Purpose
Sets the 3D model used for the item
💡 Example Usage
width
📋 Purpose
Sets the inventory width in slots
💡 Example Usage
height
📋 Purpose
Sets the inventory height in slots
💡 Example Usage
outfitCategory
📋 Purpose
Sets the category to prevent conflicting outfits
💡 Example Usage
pacData
📋 Purpose
Defines PAC3 outfit data for visual effects
💡 Example Usage
isOutfit
📋 Purpose
Marks this item as an outfit
💡 Example Usage
paintOver
📋 Purpose
Draws a green indicator square on equipped outfits in the inventory
⏰ When Called
Called in function ITEM:paintOver
🌐 Realm
Client
Parameters:
unknown item The item instance being drawnunknown w Width of the item slot
unknown h Height of the item slot
💡 Example Usage
-- Automatically called when rendering equipped outfit in inventory
-- Shows green square in bottom-right corner when equipped