<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.projectskyfire.org/index.php?action=history&amp;feed=atom&amp;title=Gossip_menu_option_SF</id>
	<title>Gossip menu option SF - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.projectskyfire.org/index.php?action=history&amp;feed=atom&amp;title=Gossip_menu_option_SF"/>
	<link rel="alternate" type="text/html" href="https://wiki.projectskyfire.org/index.php?title=Gossip_menu_option_SF&amp;action=history"/>
	<updated>2026-05-05T14:40:15Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.projectskyfire.org/index.php?title=Gossip_menu_option_SF&amp;diff=449&amp;oldid=prev</id>
		<title>Cheapgamer: Created page with &quot;{| align=&quot;right&quot; | __TOC__ |} Category: SkyFire World database tables {{Back-to:World}}   &lt;big&gt;&#039;&#039;&#039;The `gossip_menu_option` table&#039;&#039;&#039;&lt;/big&gt;  {{table-no-description}}   &lt;big&gt;...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.projectskyfire.org/index.php?title=Gossip_menu_option_SF&amp;diff=449&amp;oldid=prev"/>
		<updated>2012-07-06T18:52:50Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{| align=&amp;quot;right&amp;quot; | __TOC__ |} &lt;a href=&quot;/index.php?title=Category:SkyFire_World_database_tables&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Category:SkyFire World database tables (page does not exist)&quot;&gt;Category: SkyFire World database tables&lt;/a&gt; {{Back-to:World}}   &amp;lt;big&amp;gt;&amp;#039;&amp;#039;&amp;#039;The `gossip_menu_option` table&amp;#039;&amp;#039;&amp;#039;&amp;lt;/big&amp;gt;  {{table-no-description}}   &amp;lt;big&amp;gt;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{| align=&amp;quot;right&amp;quot;&lt;br /&gt;
| __TOC__&lt;br /&gt;
|}&lt;br /&gt;
[[Category: SkyFire World database tables]]&lt;br /&gt;
{{Back-to:World}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;&amp;#039;&amp;#039;&amp;#039;The `gossip_menu_option` table&amp;#039;&amp;#039;&amp;#039;&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{table-no-description}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;&amp;#039;&amp;#039;&amp;#039;Structure&amp;#039;&amp;#039;&amp;#039;&amp;lt;/big&amp;gt;&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Field&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Type&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Attributes&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Key&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Null&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Default&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Extra&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;Comment&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|-&lt;br /&gt;
|[[#menu_id|menu_id]]&lt;br /&gt;
|smallint(6)&lt;br /&gt;
|unsigned&lt;br /&gt;
|PRI&lt;br /&gt;
|NO&lt;br /&gt;
|0&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[#id|id]]&lt;br /&gt;
|smallint(6)&lt;br /&gt;
|unsigned&lt;br /&gt;
|PRI&lt;br /&gt;
|NO&lt;br /&gt;
|0&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[#option_icon|option_icon]]&lt;br /&gt;
|smallint(6)&lt;br /&gt;
|unsigned&lt;br /&gt;
|PRI&lt;br /&gt;
|NO&lt;br /&gt;
|0&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[#option_text|option_text]]&lt;br /&gt;
|text&lt;br /&gt;
|signed&lt;br /&gt;
|&lt;br /&gt;
|YES&lt;br /&gt;
|NULL&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[#option_id|option_id]]&lt;br /&gt;
|tinyint(3)&lt;br /&gt;
|unsigned&lt;br /&gt;
|&lt;br /&gt;
|NO&lt;br /&gt;
|0&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[#npc_option_npcflag|npc_option_npcflag]]&lt;br /&gt;
|int(10)&lt;br /&gt;
|unsigned&lt;br /&gt;
|&lt;br /&gt;
|NO&lt;br /&gt;
|0&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[#action_menu_id|action_menu_id]]&lt;br /&gt;
|mediumint(8)&lt;br /&gt;
|unsigned&lt;br /&gt;
|&lt;br /&gt;
|NO&lt;br /&gt;
|0&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[#action_poi_id|action_poi_id]]&lt;br /&gt;
|mediumint(8)&lt;br /&gt;
|unsigned&lt;br /&gt;
|&lt;br /&gt;
|NO&lt;br /&gt;
|0&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[#box_coded|box_coded]]&lt;br /&gt;
|tinyint(3)&lt;br /&gt;
|unsigned&lt;br /&gt;
|&lt;br /&gt;
|NO&lt;br /&gt;
|0&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[#box_money|box_money]]&lt;br /&gt;
|int(11)&lt;br /&gt;
|unsigned&lt;br /&gt;
|&lt;br /&gt;
|NO&lt;br /&gt;
|0&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|[[#box_text|box_text]]&lt;br /&gt;
|text&lt;br /&gt;
|signed&lt;br /&gt;
|&lt;br /&gt;
|YES&lt;br /&gt;
|NULL&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;&amp;#039;&amp;#039;&amp;#039;Description of the fields&amp;#039;&amp;#039;&amp;#039;&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====menu_id====&lt;br /&gt;
Gossip entry from [[Gossip_menu_SF#entry|Gossip_menu.entry]] this option is associated with.&lt;br /&gt;
&lt;br /&gt;
====id====&lt;br /&gt;
The id associated with this gossip_menu_option. Must be unique for a given menu_id&lt;br /&gt;
&lt;br /&gt;
====option_icon====&lt;br /&gt;
&lt;br /&gt;
    GOSSIP_ICON_CHAT                = 0,      //white chat bubble&lt;br /&gt;
    GOSSIP_ICON_VENDOR              = 1,      //brown bag&lt;br /&gt;
    GOSSIP_ICON_TAXI                = 2,      //flight&lt;br /&gt;
    GOSSIP_ICON_TRAINER             = 3,      //book&lt;br /&gt;
    GOSSIP_ICON_INTERACT_1          = 4,      //interaction wheel&lt;br /&gt;
    GOSSIP_ICON_INTERACT_2          = 5,      //interaction wheel&lt;br /&gt;
    GOSSIP_ICON_MONEY_BAG           = 6,      //brown bag with yellow dot&lt;br /&gt;
    GOSSIP_ICON_TALK                = 7,      //white chat bubble with black dots&lt;br /&gt;
    GOSSIP_ICON_TABARD              = 8,      //tabard&lt;br /&gt;
    GOSSIP_ICON_BATTLE              = 9,      //two swords&lt;br /&gt;
    GOSSIP_ICON_DOT                 = 10,     //yellow dot&lt;br /&gt;
&lt;br /&gt;
====option_text====&lt;br /&gt;
This is is the text that you want displayed for this option. Examples would be &amp;quot;Train Me!&amp;quot; &amp;quot;Get off my lawn&amp;quot;, &amp;quot;Learn Dual Spec&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
====option_id====&lt;br /&gt;
    GOSSIP_OPTION_NONE              = 0,     //UNIT_NPC_FLAG_NONE                (0)&lt;br /&gt;
    GOSSIP_OPTION_GOSSIP            = 1,     //UNIT_NPC_FLAG_GOSSIP              (1)&lt;br /&gt;
    GOSSIP_OPTION_QUESTGIVER        = 2,     //UNIT_NPC_FLAG_QUESTGIVER          (2)&lt;br /&gt;
    GOSSIP_OPTION_VENDOR            = 3,     //UNIT_NPC_FLAG_VENDOR              (128) (Make sure there is npc_vendor data for this creature)&lt;br /&gt;
    GOSSIP_OPTION_TAXIVENDOR        = 4,     //UNIT_NPC_FLAG_TAXIVENDOR          (8192)&lt;br /&gt;
    GOSSIP_OPTION_TRAINER           = 5,     //UNIT_NPC_FLAG_TRAINER             (16) (Remember to set trainer_class in creature_template)&lt;br /&gt;
    GOSSIP_OPTION_SPIRITHEALER      = 6,     //UNIT_NPC_FLAG_SPIRITHEALER        (16384)&lt;br /&gt;
    GOSSIP_OPTION_SPIRITGUIDE       = 7,     //UNIT_NPC_FLAG_SPIRITGUIDE         (32768)&lt;br /&gt;
    GOSSIP_OPTION_INNKEEPER         = 8,     //UNIT_NPC_FLAG_INNKEEPER           (65536)&lt;br /&gt;
    GOSSIP_OPTION_BANKER            = 9,     //UNIT_NPC_FLAG_BANKER              (131072)&lt;br /&gt;
    GOSSIP_OPTION_PETITIONER        = 10,    //UNIT_NPC_FLAG_PETITIONER          (262144)&lt;br /&gt;
    GOSSIP_OPTION_TABARDDESIGNER    = 11,    //UNIT_NPC_FLAG_TABARDDESIGNER      (524288)&lt;br /&gt;
    GOSSIP_OPTION_BATTLEFIELD       = 12,    //UNIT_NPC_FLAG_BATTLEFIELDPERSON   (1048576)&lt;br /&gt;
    GOSSIP_OPTION_AUCTIONEER        = 13,    //UNIT_NPC_FLAG_AUCTIONEER          (2097152)&lt;br /&gt;
    GOSSIP_OPTION_STABLEPET         = 14,    //UNIT_NPC_FLAG_STABLE              (4194304)&lt;br /&gt;
    GOSSIP_OPTION_ARMORER           = 15,    //UNIT_NPC_FLAG_ARMORER             (4096) (not used)&lt;br /&gt;
    GOSSIP_OPTION_UNLEARNTALENTS    = 16,    //UNIT_NPC_FLAG_TRAINER             (16) (bonus option for GOSSIP_OPTION_TRAINER)&lt;br /&gt;
    GOSSIP_OPTION_UNLEARNPETTALENTS = 17,    //UNIT_NPC_FLAG_TRAINER             (16) (bonus option for GOSSIP_OPTION_TRAINER)&lt;br /&gt;
    GOSSIP_OPTION_LEARNDUALSPEC     = 18,    //UNIT_NPC_FLAG_TRAINER             (16) (bonus option for GOSSIP_OPTION_TRAINER)&lt;br /&gt;
    GOSSIP_OPTION_OUTDOORPVP        = 19,    //added by code (option for outdoor pvp creatures)&lt;br /&gt;
    GOSSIP_OPTION_MAX&lt;br /&gt;
&lt;br /&gt;
====npc_option_npcflag====&lt;br /&gt;
This is the npcflag([[Creature_template_SF#npcflag]]) that the NPC must have to have this option display. See comments (after //) in previous table)&lt;br /&gt;
&lt;br /&gt;
====action_menu_id====&lt;br /&gt;
If you want to create a sub-menu, this is the ID to link to to create that sub-menu.&lt;br /&gt;
&lt;br /&gt;
====action_poi_id====&lt;br /&gt;
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 `entry` from [[Points_of_interest_SSF#entry]].&lt;br /&gt;
&lt;br /&gt;
====box_coded====&lt;br /&gt;
If you want a box to display where you have to enter a code, this is the field you use. I have no clue how it works, will have to look at the code...&lt;br /&gt;
&lt;br /&gt;
====box_money====&lt;br /&gt;
see above&lt;br /&gt;
&lt;br /&gt;
====box_text====&lt;br /&gt;
This is the text of the window that appears that has &amp;quot;Yes&amp;quot; or &amp;quot;No&amp;quot; as clickable buttons. This is useful if you want a Yes/No confirmation window before the script executes. For example: &amp;quot;Are you sure you want to teleport to Dalaran?&amp;quot;.&lt;/div&gt;</summary>
		<author><name>Cheapgamer</name></author>
	</entry>
</feed>