Skip to content
Schmoozerd edited this page Apr 14, 2013 · 1 revision

Back to world database list of tables.

The `npc_option` table

This table holds info about how gossip menus are presented to you. It also contains default gossip for option menus.

Structure

Field Type Null Key Default Extra
id int(10) unsigned NO PRI 0
gossip_id int(10) unsigned NO 0
npcflag int(10) unsigned NO 0
icon int(10) unsigned NO 0
action int(10) unsigned NO 0
option_text text YES

Description of the fields

id

An arbitrary number that is not associated with any other table.

gossip_id

Link to parent npc_option.id.

npcflag

This the is the creature_template.npcflag that is associated with this option.

icon

This is the icon that is displayed next to the option in the gossip menu.

action

The action to perform. (paste section of code that lists this)

option_text

The text for this particular option

Clone this wiki locally