Skip to content

Gossip_menu

Saltgurka edited this page Nov 1, 2018 · 4 revisions

Back to world database list of tables.

The `gossip_menu` table

This table is used for displaying gossip when a player talks to an NPC.

Structure

Field Type Attributes Key Null Default
entry smallint(6) unsigned PRI NO 0
text_id mediumint(8) unsigned PRI NO 0
script_id mediumint(8) unsigned NO 0
condition_id mediumint(8) unsigned NO 0

Description of the fields

entry

Gossip ID from gossip_menu_id and gameobject_template.GAMEOBJECT_TYPE_QUESTGIVER.data3

text_id

Reference to npc_text.id.

script_id

If set a DBScript with this ID will be started of the selected text
NOTE: Called when menu shown (not when clicked)
dbscripts_on_gossip

condition_id

condition_id
If the gossip_menu has more than one text with true conditions, then the text with highest condition_id will be shown.

Clone this wiki locally