setshop

From Arx Libertatis Wiki
Revision as of 11:15, 26 June 2022 by Ds (talk | contribs) (Created page with "{{ScriptCommandPage |description=set the inventory to act as a shop |context=any |parameters= enable bool Should this entity's inventory act as a shop |intro=Shops have different interaction compared to other inventories when opened in the HUD: * Shop inventories are automatically sorted when opened with matching items being combined into stacks if possible. * The player cannot take whole [...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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:

Usage

setshop <enable>

Context: Any Entity

Parameters:

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