blob: c1f22fc2b0b5123c738b19d9fa3081571f3dd3aa (
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
|
# areatrigger\_tavern
[<-Back-to:World](database-world.md)
**The \`areatrigger\_tavern\` table**
Enable a trigger when player enters a city or tavern. This causes the player to enter a resting state.
**Structure**
| Field | Type | Attributes | Key | Null | Default | Extra | Comment |
| --------- | --------- | ---------- | --- | ---- | ------- | ----- | ---------- |
| [id][1] | MEDIUMINT | UNSIGNED | PRI | NO | 0 | | Identifier |
| [name][2] | text | | | YES | | | |
[1]: #id
[2]: #name
**Description of the fields**
### id
This is the trigger identifier, see [AreaTrigger.dbc](DBC-AreaTrigger)
### name
Name of the city or tavern. This is purely for descriptive purposes.
### Example
| id | name |
| --- | -------------------------------------------- |
| 71 | Westfall - Sentinel Hill Inn |
| 98 | Nesingwary's Expedition |
| 178 | Strahnbrad |
| 562 | Elwynn Forest - Goldshire - Lion's Pride Inn |
| 682 | Redridge Mountains - Lakeshire Inn |
|