# PREITEM (Global: PRErequisite)

## Status

None

## Syntax

`PREITEM:x,y,y`

## Parameters

- x: Number (The number of items a character must possess).
- y: Text (The name of an item a character must possess - “%” may be used as a wildcard).
- y: TYPE=Text (The type of an item the character must possess).

## What it does

Sets requirements for items a character must possess.

TYPE.xxx for reference, TYPE=xxx for assignment.

## Examples

`PREITEM:1,Sword (Long),Sword (Short)`

Character must possess either a “long sword” or a “short sword”.

`PREITEM:2,TYPE=Armor,TYPE=Armor`

Character must possess two sets of armor.

`PREITEM:1,TYPE=Natural`

Character must possess one natural item.

Documentation built with Hugo using the Material theme.