conditions
The `conditions` table
This table allows you to define conditions for various systems - Gossip, loot etc.
Structure
Field | Type | Attributes | Key | Null | Default | Extra | Comment |
mediumint(8) | signed | PRI | NO | 0 | |||
mediumint(8) | unsigned | PRI | NO | 0 | |||
mediumint(8) | signed | PRI | NO | 0 | |||
int(11) | signed | PRI | NO | 0 | smart_scripts.source_type || 0 for everything else | ||
mediumint(8) | unsigned | PRI | NO | 0 | |||
mediumint(8) | signed | PRI | NO | 0 | |||
tinyint(3) | unsigned | PRI | NO | 0 | |||
int(10) | unsigned | PRI | NO | 0 | |||
int(10) | unsigned | PRI | NO | 0 | |||
int(10) | unsigned | PRI | NO | 0 | |||
tinyint(3) | unsigned | NO | 0 | Boolean 0 or 1 (if NegativeCondition | |||
mediumint(8) | unsigned | NO | 0 | ||||
mediumint(8) | unsigned | NO | 0 | ||||
char(64) | signed | NO | ' ' | ||||
varchar(255) | YES | NULL |
Description of the fields
SourceTypeOrReferenceId
if negative, then it is a reference template.