URL Item Definition
URL item system for the Lilia framework.
name
Purpose
Sets the display name of the URL item
When Called
During item definition
Example Usage
desc
Purpose
Sets the description of the URL item
When Called
During item definition
Example Usage
model
Purpose
Sets the 3D model for the URL item
When Called
During item definition
Example Usage
url
Purpose
Sets the URL to open when the item is used
When Called
During item definition (used in use function)
Example Usage
Example Item:
Example Usage
-- Basic item identification
ITEM.name = "Website Link" -- Display name shown to players
ITEM.desc = "A link to an external website" -- Description text
ITEM.model = "models/props_interiors/pot01a.mdl" -- 3D model for the item
ITEM.url = "https://example.com" -- URL to open when used