Skip to content

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 ​

FieldTypeAttributesKeyNullDefaultExtraComment
MenuIDsmallintunsignedPRINO0
OptionIDsmallintunsignedPRINO0
OptionIconintunsignedNO0
OptionTextmediumtextYESNULL
OptionBroadcastTextIDintsignedNO0
OptionTypetinyintunsignedNO0
OptionNpcFlagintunsignedNO0
ActionMenuIDintunsignedNO0
ActionPoiIDintunsignedNO0
BoxCodedtinyintunsignedNO0
BoxMoneyintunsignedNO0
BoxTextmediumtextYESNULL
BoxBroadcastTextIDintsignedNO0
VerifiedBuildintsignedNO0
 

Description of fields ​

Gossip entry from gossip_menu.MenuID 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 .  

OptionID ​

The id associated with this gossip_menu_option. Must be unique for a given MenuID starting from 0. Value increments by 1 if there are multiple options in the same gossip_menu.  

OptionIcon ​

An icon prefixed to the OptionText.

IDNameCommentFile - (Interface\GossipFrame\..)
0GOSSIP_ICON_CHATwhite chat bubbleGossipGossipIcon.blp
1GOSSIP_ICON_VENDORbrown bagVendorGossipIcon.blp
2GOSSIP_ICON_TAXIflightmarker (paperplane)TaxiGossipIcon.blp
3GOSSIP_ICON_TRAINERbrown book (trainer)TrainerGossipIcon.blp
4GOSSIP_ICON_INTERACT_1golden interaction wheel (spirit healer)HealerGossipIcon.blp
5GOSSIP_ICON_INTERACT_2golden interaction wheel (hearthstone binding)BinderGossipIcon.blp
6GOSSIP_ICON_MONEY_BAGbrown bag (with gold coin in lower corner)BankerGossipIcon.blp
7GOSSIP_ICON_TALKwhite chat bubble (with "..." inside)PetitionGossipIcon.blp
8GOSSIP_ICON_TABARDwhite tabardTabardGossipIcon.blp
9GOSSIP_ICON_BATTLEtwo crossed swordsBattlemasterGossipIcon.blp
10GOSSIP_ICON_DOTyellow dot/pointAuctioneerGossipIcon.blp – ❌ missing in 335a

 

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 OptionText field content.

 

OptionBroadcastTextID ​

The ID of the same text in broadcast_text.  

OptionType ​

OptionTypeNamenpcflag NameOptionNpcFlag
0GOSSIP_OPTION_NONEUNIT_NPC_FLAG_NONE0
1GOSSIP_OPTION_GOSSIPUNIT_NPC_FLAG_GOSSIP1
2GOSSIP_OPTION_QUESTGIVERUNIT_NPC_FLAG_QUESTGIVER2
3GOSSIP_OPTION_VENDORUNIT_NPC_FLAG_VENDOR128
4GOSSIP_OPTION_TAXIVENDORUNIT_NPC_FLAG_TAXIVENDOR8192
5GOSSIP_OPTION_TRAINERUNIT_NPC_FLAG_TRAINER16
6GOSSIP_OPTION_SPIRITHEALERUNIT_NPC_FLAG_SPIRITHEALER16384
7GOSSIP_OPTION_SPIRITGUIDEUNIT_NPC_FLAG_SPIRITGUIDE32768
8GOSSIP_OPTION_INNKEEPERUNIT_NPC_FLAG_INNKEEPER65536
9GOSSIP_OPTION_BANKERUNIT_NPC_FLAG_BANKER131072
10GOSSIP_OPTION_PETITIONERUNIT_NPC_FLAG_PETITIONER262144
11GOSSIP_OPTION_TABARDDESIGNERUNIT_NPC_FLAG_TABARDDESIGNER524288
12GOSSIP_OPTION_BATTLEFIELDUNIT_NPC_FLAG_BATTLEFIELDPERSON1048576
13GOSSIP_OPTION_AUCTIONEERUNIT_NPC_FLAG_AUCTIONEER2097152
14GOSSIP_OPTION_STABLEPETUNIT_NPC_FLAG_STABLE4194304
15GOSSIP_OPTION_ARMORERUNIT_NPC_FLAG_ARMORER4096
16GOSSIP_OPTION_UNLEARNTALENTSUNIT_NPC_FLAG_TRAINER (bonus option for GOSSIP_OPTION_TRAINER)16
17GOSSIP_OPTION_UNLEARNPETTALENTSUNIT_NPC_FLAG_TRAINER (bonus option for GOSSIP_OPTION_TRAINER)16
18GOSSIP_OPTION_LEARNDUALSPECUNIT_NPC_FLAG_TRAINER (bonus option for GOSSIP_OPTION_TRAINER)16
19GOSSIP_OPTION_OUTDOORPVPadded by code (option for outdoor pvp creatures)
20GOSSIP_OPTION_DUALSPEC_INFOUNIT_NPC_FLAG_TRAINER (bonus option for GOSSIP_OPTION_TRAINER)16

 

OptionNpcFlag ​

This is the npcflag that the NPC must have to display this option. (See table in previous field)  

ActionMenuID ​

If you want to create a sub-menu, this is the ID (gossip_menu.MenuID / gossip_menu_option.menuID) to link to to create that sub-menu.  

ActionPoiID ​

If you want a POI (point of interest) to display on the minimap (like how a city guard places a marker when you ask directions), this is the ID from points_of_interest  

BoxCoded ​

If you want a box to display where you have to enter a code, set this field to 1.  

BoxMoney ​

The amount of money the player has to pay for the selected option, appears in the confirmation box as amount of gold, silver, copper. The DB value you insert here must be given in the number of copper, so 10 gold is entered as 100000 (10g 00s 00c).  

BoxText ​

This is the text of the window that appears that has "Yes" or "No" as clickable buttons. This is useful if you want a Yes/No confirmation window before the script executes. For example: "Are you sure you want to teleport to Dalaran?". If BoxBroadCastTextID contains a valid broadcast_text.ID, it links to broadcast_text so the content from broadcast_text is displayed directly instead of the BoxText field content.  

BoxBroadcastTextID ​

The ID of the same text in broadcast_text.  

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.

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.