docs-en:gossip_menu.md

gossip_menu

<-Back-to:World

The `gossip_menu` table

This table is used for displaying gossip when a player talks to an NPC with npcflag set.

Structure

Field Type Attributes Key Null Default Extra Comment
MenuID SMALLINT UNSIGNED PRI NO 0
TextID MEDIUMINT UNSIGNED PRI NO 0

Description of the fields

This must match the entry you added to creature_template.gossip_menu_id. This also groups the options from gossip_menu_option and displays all options associated with this ID.

Note: If adding your own custom menu options, then it is common practice to start with an ID at or above 90,000 just to be safe that it doesn't conflict with other gossip menu id's.

This links to the npc_text.ID for the gossip you want to be initially displayed. Also this tells the NPC what to say at the top of the options menu when it is displayed.

  • docs-en/gossip_menu.md.txt
  • 最后更改: 2024/03/15 19:08
  • 127.0.0.1