summaryrefslogtreecommitdiff
path: root/docs/game_event_quest_condition.md
blob: 2ef7f96d684499295f3bdf0ca7ed9e128ede511c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# game\_event\_quest\_condition

[<-Back-to:World](database-world.md)

**The \`game\_event\_quest\_condition\` table**

This table contains the mapping of a quest in a world event to the condition that it will fulfill. It also contains how much a given quest will add to a condition once that quest is completed by a player.

**Structure**

| Field             | Type         | Attributes | Key | Null | Default | Extra | Comment |
|-------------------|--------------|------------|-----|------|---------|-------|---------|
| [eventEntry][1]   | TINYINT   | UNSIGNED   |     | NO   |         |       |         |
| [quest][2]        | MEDIUMINT | UNSIGNED   | PRI | NO   | 0       |       |         |
| [condition_id][3] | MEDIUMINT | UNSIGNED   |     | NO   | 0       |       |         |
| [num][4]          | FLOAT        | SIGNED     |     | YES  | 0       |       |         |

[1]: #evententry
[2]: #quest
[3]: #condition_id
[4]: #num

**Description of the fields**

### eventEntry

The event that is associated with this quest and condition.

### quest

The quest that will trigger this condition.

### condition\_id

The condition that will be triggered on quest complete.

### num

The number of "units" (for lack of a better word) that will be added to the condition to fulfill the required number needed for the condition.