Aid Item Definition
Medical aid item system for the Lilia framework.
Overview
Aid items are consumable medical items that can restore health to players. They can be used on the player themselves or on other players through targeting.
PLACEMENT: - Place in: ModuleFolder/items/aid/ItemHere.lua (for module-specific items) - Place in: SchemaFolder/items/aid/ItemHere.lua (for schema-specific items)
USAGE: - Aid items are automatically consumed when used - They restore health based on the ITEM.health value - Can be used on self or other players - Health restoration is instant and cannot be interrupted - Items are removed from inventory after use
name
📋 Purpose
Sets the display name shown to players
💡 Example Usage
desc
📋 Purpose
Sets the description text shown to players
💡 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
health
📋 Purpose
Sets the amount of health restored when used
💡 Example Usage
armor
📋 Purpose
Sets the amount of armor restored when used
💡 Example Usage
stamina
📋 Purpose
Sets the amount of stamina restored when used