Script:shopcategory: Difference between revisions

From Arx Libertatis Wiki
Jump to navigation Jump to search
(Created page with "{{ScriptCommandPage |description=limit the group of items that the player can put into a shop inventory |context=any |parameters= group string Item group allowed in this shop container |intro=Has no effect unless the entity is set to be a shop using {{Command|setshop}}. }}")
 
mNo edit summary
Line 4: Line 4:
|parameters=
|parameters=
group string [[:Category:Items|Item]] [[Script:setgroup|group]] allowed in this shop container
group string [[:Category:Items|Item]] [[Script:setgroup|group]] allowed in this shop container
|intro=Has no effect unless the entity is set to be a shop using {{Command|setshop}}.
|intro=For the shop category to have an effect the entity must be set to be a shop using {{Command|setshop}}.
}}
}}

Revision as of 10:39, 26 June 2022

The shopcategory script command is used to limit the group of items that the player can put into a shop inventory for an entity. For the shop category to have an effect the entity must be set to be a shop using setshop.

Usage

shopcategory <group>

Context: Any Entity

Parameters:

ParameterTypeDescription
group string Item group allowed in this shop container