setshop

From Arx Libertatis Wiki
Jump to navigation Jump to search

The setshop script command is used to set the inventory to act as a shop for an entity. Shops have different interaction compared to other inventories when opened in the HUD:

The entity inventory may be set to act as shop before calling inventory create and is not reset with inventory destroy.

Usage

setshop <enable>

Context: Any Entity

Parameters:

ParameterTypeDescription
enable bool Should this entity's inventory act as a shop