shopcategory

From Arx Libertatis Wiki
Jump to navigation Jump to search

The shopcategory script command is used to limit the group of items that the player can put into a shop inventory for an entity. To allow all items again use shopcategory "".

For the shop category to have an effect the entity must be set to be a shop using setshop. The shop category before calling inventory create or setshop on and is not reset with setshop off or inventory destroy.

Usage

shopcategory <group>

Context: Any Entity

Parameters:

ParameterTypeDescription
group string Item group allowed in this shop container