diff options
| -rw-r--r-- | docs/database-world.md | 2 | ||||
| -rw-r--r-- | docs/quest_greeting.md | 20 | ||||
| -rw-r--r-- | docs/quest_greeting_locale.md | 48 |
3 files changed, 60 insertions, 10 deletions
diff --git a/docs/database-world.md b/docs/database-world.md index e773df8..358abef 100644 --- a/docs/database-world.md +++ b/docs/database-world.md @@ -126,6 +126,8 @@ The world database has information basically related to creatures, objects, item - [pool_template](pool_template.md) - [prospecting_loot_template](loot_template.md) - [quest_details](quest_details.md) +- [quest_greeting](quest_greeting.md) +- [quest_greeting_locale](quest_greeting_locale.md) - [quest_mail_sender](quest_mail_sender.md) - [quest_money_reward](quest_money_reward.md) - [quest_offer_reward](quest_offer_reward.md) diff --git a/docs/quest_greeting.md b/docs/quest_greeting.md index a75e95f..3494f74 100644 --- a/docs/quest_greeting.md +++ b/docs/quest_greeting.md @@ -4,14 +4,14 @@ This table add greeting behavior to an NPC or an Gameobject. -| Field | Type | Attributes | Key | NULL | Default | Comment | -|----------------------|-----------|------------|-----|------|---------|------------------------------------------------------------------| -| [ID][1] | MEDIUMINT | Unsigned | Yes | NO | 0 | Unique ID (creature_template.entry or gameobject_template.entry) | -| [Type][2] | TINYINT | Unsigned | Yes | NO | 0 | 0=Creature 1=GameObject | -| [GreetEmoteType][3] | SMALLINT | Unsigned | NO | NO | 0 | Quest NPC Emote | -| [GreetEmoteDelay][4] | INT | Unsigned | NO | NO | 0 | Emote delay in milliseconds | -| [Greeting][5] | text | | NO | YES | NULL | Text to show | -| [VerifiedBuild][6] | SMALLINT | Signed | NO | NO | 0 | Game client Build number or manually set value | +| Field | Type | Attributes | Key | NULL | Default | Comment | +| -------------------- | --------- | ---------- | --- | ---- | ------- | ------- | +| [ID][1] | MEDIUMINT | UNSIGNED | Yes | NO | 0 | | +| [Type][2] | TINYINT | UNSIGNED | Yes | NO | 0 | | +| [GreetEmoteType][3] | SMALLINT | UNSIGNED | NO | NO | 0 | | +| [GreetEmoteDelay][4] | INT | UNSIGNED | NO | NO | 0 | | +| [Greeting][5] | TEXT | | NO | YES | NULL | | +| [VerifiedBuild][6] | SMALLINT | SIGNED | NO | NO | 0 | | [1]: #id [2]: #type @@ -24,7 +24,7 @@ This table add greeting behavior to an NPC or an Gameobject. ### ID -Unique ID ([creature\_template.entry](https://trinitycore.atlassian.net/wiki/display/tc/creature_template#creature_template-entry) or [gameobject\_template.entry](https://trinitycore.atlassian.net/wiki/display/tc/gameobject_template#gameobject_template-entry)) +Unique ID ([creature_template.entry](creature_template.md#entry) or [gameobject\_template.entry](gameobject_template.md#entry)) ### Type @@ -33,7 +33,7 @@ Unique ID ([creature\_template.entry](https://trinitycore.atlassian.net/wiki/di ### GreetEmoteType -Quest NPC [Emote](https://trinitycore.atlassian.net/wiki/display/tc/Emotes) +Quest NPC [Emote](emotes.md) ### GreetEmoteDelay diff --git a/docs/quest_greeting_locale.md b/docs/quest_greeting_locale.md new file mode 100644 index 0000000..93306f0 --- /dev/null +++ b/docs/quest_greeting_locale.md @@ -0,0 +1,48 @@ +# quest\_greeting + +**Table: quest\_greeting** + +This table add greeting behavior to an NPC or an Gameobject. + +| Field | Type | Attributes | Key | NULL | Default | Comment | +| ------------------ | ---------- | ---------- | --- | ---- | ------- | ------- | +| [ID][1] | MEDIUMINT | UNSIGNED | Yes | NO | 0 | | +| [Type][2] | TINYINT | UNSIGNED | Yes | NO | 0 | | +| [locale][3] | VARCHAR(4) | | NO | NO | | | +| [Greeting][5] | TEXT | | NO | YES | NULL | | +| [VerifiedBuild][6] | SMALLINT | SIGNED | NO | NO | 0 | | + +[1]: #id +[2]: #type +[3]: #greetemotetype +[4]: #greetemotedelay +[5]: #greeting +[6]: #verifiedbuild + +**Description of the fields:** + +### ID + +Unique ID ([creature_template.entry](creature_template.md#entry) or [gameobject\_template.entry](gameobject_template.md#entry)) + +### Type + +- 0=Creature (The ID is point to creature\_template.entry) +- 1=GameObject (The ID is point to gameobject\_template.entry) + +### locale + +Client Locale + +### Greeting + +Text to show + +### VerifiedBuild + +This field was used to determine whether a template has been verified from WDB files. + +- If value is 0 then it has not been parsed yet. +- If value is above 0 then it has been parsed with WDB files from that specific client build. +- If value is -1 then it is just a place holder until proper data are found on WDBs. +- If value is -Client Build then it was parsed with WDB files from that specific client build and manually edited later for some special necessity. |
