From ec2f3cdce1deaffb9108b135ca36c97b65038d17 Mon Sep 17 00:00:00 2001 From: Stefano Borzì Date: Wed, 25 Sep 2019 15:53:25 +0200 Subject: Fixed anchor links and converted html table to markdown table (#129) --- docs/gossip_menu_option.md | 186 +++++++++------------------------------------ 1 file changed, 34 insertions(+), 152 deletions(-) diff --git a/docs/gossip_menu_option.md b/docs/gossip_menu_option.md index 5a118a0..120124e 100644 --- a/docs/gossip_menu_option.md +++ b/docs/gossip_menu_option.md @@ -19,7 +19,7 @@ This table holds information about menu options a gossip NPC can have. Example

Comment

-

MenuID

+

MenuID

smallint(6)

unsigned

PRI

@@ -43,7 +43,7 @@ This table holds information about menu options a gossip NPC can have. Example

-

OptionIcon

+

OptionIcon

smallint(6)

unsigned

PRI

@@ -55,7 +55,7 @@ This table holds information about menu options a gossip NPC can have. Example

-

OptionText

+

OptionText

text

signed


@@ -83,7 +83,7 @@ This table holds information about menu options a gossip NPC can have. Example -

OptionType

+

OptionType

tinyint(3)

unsigned


@@ -96,7 +96,7 @@ This table holds information about menu options a gossip NPC can have. Example

-

OptionNpcFlag

+

OptionNpcFlag

int(10)

unsigned


@@ -109,7 +109,7 @@ This table holds information about menu options a gossip NPC can have. Example

-

ActionMenuID

+

ActionMenuID

mediumint(8)

unsigned


@@ -122,7 +122,7 @@ This table holds information about menu options a gossip NPC can have. Example

-

ActionPoiID

+

ActionPoiID

mediumint(8)

unsigned


@@ -135,7 +135,7 @@ This table holds information about menu options a gossip NPC can have. Example

-

BoxCoded

+

BoxCoded

tinyint(3)

unsigned


@@ -148,7 +148,7 @@ This table holds information about menu options a gossip NPC can have. Example

-

BoxMoney

+

BoxMoney

int(11)

unsigned


@@ -161,7 +161,7 @@ This table holds information about menu options a gossip NPC can have. Example

-

BoxText

+

BoxText

text

signed


@@ -243,148 +243,30 @@ The ID of the same text in broadcast\_text.ID. ### OptionType - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
option_id NameValuenpcflag Name (& comment)npcflag value
GOSSIP_OPTION_NONE0UNIT_NPC_FLAG_NONE0
GOSSIP_OPTION_GOSSIP1UNIT_NPC_FLAG_GOSSIP1
GOSSIP_OPTION_QUESTGIVER2UNIT_NPC_FLAG_QUESTGIVER2
GOSSIP_OPTION_VENDOR3

UNIT_NPC_FLAG_VENDOR (Make sure there is npc_vendor data for this creature)

128
GOSSIP_OPTION_TAXIVENDOR4UNIT_NPC_FLAG_TAXIVENDOR8192
GOSSIP_OPTION_TRAINER5

UNIT_NPC_FLAG_TRAINER (Remember to set trainer_class in creature_template) 

16
GOSSIP_OPTION_SPIRITHEALER6UNIT_NPC_FLAG_SPIRITHEALER16384
GOSSIP_OPTION_SPIRITGUIDE7UNIT_NPC_FLAG_SPIRITGUIDE32768
GOSSIP_OPTION_INNKEEPER8UNIT_NPC_FLAG_INNKEEPER65536
GOSSIP_OPTION_BANKER9UNIT_NPC_FLAG_BANKER131072
GOSSIP_OPTION_PETITIONER10UNIT_NPC_FLAG_PETITIONER262144
GOSSIP_OPTION_TABARDDESIGNER11UNIT_NPC_FLAG_TABARDDESIGNER524288
GOSSIP_OPTION_BATTLEFIELD12UNIT_NPC_FLAG_BATTLEFIELDPERSON1048576
GOSSIP_OPTION_AUCTIONEER13UNIT_NPC_FLAG_AUCTIONEER2097152
GOSSIP_OPTION_STABLEPET14UNIT_NPC_FLAG_STABLE4194304
GOSSIP_OPTION_ARMORER15UNIT_NPC_FLAG_ARMORER (not used)4096
GOSSIP_OPTION_UNLEARNTALENTS16UNIT_NPC_FLAG_TRAINER (bonus option for GOSSIP_OPTION_TRAINER)16
GOSSIP_OPTION_UNLEARNPETTALENTS17UNIT_NPC_FLAG_TRAINER (bonus option for GOSSIP_OPTION_TRAINER)16
GOSSIP_OPTION_LEARNDUALSPEC18UNIT_NPC_FLAG_TRAINER (bonus option for GOSSIP_OPTION_TRAINER)16
GOSSIP_OPTION_OUTDOORPVP19Added by code (option for outdoor PvP creatures)
-
GOSSIP_OPTION_MAX
-

-

-
+|option_id Name|Value|npcflag Name (& comment)|npcflag value| +|--- |--- |--- |--- | +|GOSSIP_OPTION_NONE|0|UNIT_NPC_FLAG_NONE|0| +|GOSSIP_OPTION_GOSSIP|1|UNIT_NPC_FLAG_GOSSIP|1| +|GOSSIP_OPTION_QUESTGIVER|2|UNIT_NPC_FLAG_QUESTGIVER|2| +|GOSSIP_OPTION_VENDOR|3|UNIT_NPC_FLAG_VENDOR (Make sure there is npc_vendor data for this creature)|128| +|GOSSIP_OPTION_TAXIVENDOR|4|UNIT_NPC_FLAG_TAXIVENDOR|8192| +|GOSSIP_OPTION_TRAINER|5|UNIT_NPC_FLAG_TRAINER (Remember to set trainer_class in creature_template)|16| +|GOSSIP_OPTION_SPIRITHEALER|6|UNIT_NPC_FLAG_SPIRITHEALER|16384| +|GOSSIP_OPTION_SPIRITGUIDE|7|UNIT_NPC_FLAG_SPIRITGUIDE|32768| +|GOSSIP_OPTION_INNKEEPER|8|UNIT_NPC_FLAG_INNKEEPER|65536| +|GOSSIP_OPTION_BANKER|9|UNIT_NPC_FLAG_BANKER|131072| +|GOSSIP_OPTION_PETITIONER|10|UNIT_NPC_FLAG_PETITIONER|262144| +|GOSSIP_OPTION_TABARDDESIGNER|11|UNIT_NPC_FLAG_TABARDDESIGNER|524288| +|GOSSIP_OPTION_BATTLEFIELD|12|UNIT_NPC_FLAG_BATTLEFIELDPERSON|1048576| +|GOSSIP_OPTION_AUCTIONEER|13|UNIT_NPC_FLAG_AUCTIONEER|2097152| +|GOSSIP_OPTION_STABLEPET|14|UNIT_NPC_FLAG_STABLE|4194304| +|GOSSIP_OPTION_ARMORER|15|UNIT_NPC_FLAG_ARMORER (not used)|4096| +|GOSSIP_OPTION_UNLEARNTALENTS|16|UNIT_NPC_FLAG_TRAINER (bonus option for GOSSIP_OPTION_TRAINER)|16| +|GOSSIP_OPTION_UNLEARNPETTALENTS|17|UNIT_NPC_FLAG_TRAINER (bonus option for GOSSIP_OPTION_TRAINER)|16| +|GOSSIP_OPTION_LEARNDUALSPEC|18|UNIT_NPC_FLAG_TRAINER (bonus option for GOSSIP_OPTION_TRAINER)|16| +|GOSSIP_OPTION_OUTDOORPVP|19|Added by code (option for outdoor PvP creatures)|| +|GOSSIP_OPTION_MAX|||| + ### OptionNpcFlag -- cgit