Versiones comparadas

Clave

  • Se ha añadido esta línea.
  • Se ha eliminado esta línea.
  • El formato se ha cambiado.
Comentarios: Minor fixes to some fields.

Table: gossip_menu_option

This table holds infos 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

menu_id

smallint(6)

unsigned

PRI

NO

0

 

 

id

smallint(6)

unsigned

PRI

NO

0

 

 

option_icon

smallint(6)

unsigned

PRI

NO

0

 

 

option_text

text

signed

 

YES

NULL

 

 

OptionBroadcastTextIDmediumint(6)  NO   

option_id

tinyint(3)

unsigned

 

NO

0

 

 

npc_option_npcflag

int(10)

unsigned

 

NO

0

 

 

action_menu_id

mediumint(8)

unsigned

 

NO

0

 

 

action_poi_id

mediumint(8)

unsigned

 

NO

0

 

 

box_coded

tinyint(3)

unsigned

 

NO

0

 

 

box_money

int(11)

unsigned

 

NO

0

 

 

box_text

text

signed

 

YES

NULL

 

 

BoxBroadcastTextIDmediumint(6)  NO0  
VerifiedBuildsmallint(5)  NO0  

...

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 its it's creature_template.gossip_menu_id .

...

Panel


NameIDDescription
GOSSIP_ICON_CHAT0White chat bubble
GOSSIP_ICON_VENDOR1Brown bag
GOSSIP_ICON_TAXI2Flight
GOSSIP_ICON_TRAINER3Book
GOSSIP_ICON_INTERACT_14Interaction wheel
GOSSIP_ICON_INTERACT_25Interaction wheel
GOSSIP_ICON_MONEY_BAG6Brown bag with yellow dot (gold)
GOSSIP_ICON_TALK7White chat bubble with black dots (...)
GOSSIP_ICON_TABARD8Tabard
GOSSIP_ICON_BATTLE9Two swords
GOSSIP_ICON_DOT10Yellow dot


option_text

This is 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 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.

...