Table: gossip_menu_option
This table holds information about menu options a gossip NPC can have.
Examples of options: "Train me!", "I want to unlearn my talents"
Structure
...
Field
...
Type
...
Attributes
...
Key
...
Null
...
Default
...
Extra
...
Comment
...
...
int(10)
...
unsigned
...
PRI
...
NO
...
0
...
...
int(10)
...
unsigned
...
PRI
...
NO
...
0
...
...
tinyint(3)
...
unsigned
...
NO
...
0
...
...
text
...
YES
...
NULL
...
...
int(11)
...
unsigned
...
NO
...
0
...
...
bigint(20)
...
unsigned
...
NO
...
0
...
Description of the fields
MenuId
Gossip entry from Gossip_menu.entry this option is associated with.
If this is the default gossip option for the selected NPC, verify that the NPC has this value in it's creature_template.gossip_menu_id .
OptionIndex
The id associated with this gossip_menu_option. Must be unique for a given menu_id starting from 0 (zero).
Value increments by 1 if there are multiple options in the same gossip_menu.
OptionIcon
...
OptionText
This is the text that you want to be displayed in the player selectable option. Examples would be: "Please train me.", "I would like to browse your goods.", "Learn Dual Spec".
If OptionBroadcastTextID contains a valid broadcast_text.ID, it links to broadcast_text so the content from broadcast_text is displayed directly instead of the option_text field content.
OptionBroadcastTextId
The ID of the same text in broadcast_text.ID.
OptionType
...
UNIT_NPC_FLAG_VENDOR (Make sure there is npc_vendor data for this creature)
...
UNIT_NPC_FLAG_TRAINER (Remember to set trainer_class in creature_template)
...
OptionNpcFlag
This is the npcflag (Creature_template.npcflag ) that the NPC must have to have this option display. See comments (after //) in previous table)
VerifiedBuild
This field is used by the TrinityDB Team 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.
...
Info | ||
---|---|---|
| ||
You can find it in our new wiki at: https://trinitycore.info/en/database/master/world/gossip_menu_option |