Skip to content

npc_text Table

Defines NPC gossip text with multiple broadcast text IDs and probabilities.


Schema Summary

Field Type Key Null Default Extra
ID mediumint(8) unsigned PRI NO 0
BroadcastTextID0 mediumint(6) unsigned NO 0
Probability0 float NO 0
BroadcastTextID1 mediumint(6) unsigned NO 0
Probability1 float NO 0
BroadcastTextID2 mediumint(6) unsigned NO 0
Probability2 float NO 0
BroadcastTextID3 mediumint(6) unsigned NO 0
Probability3 float NO 0
BroadcastTextID4 mediumint(6) unsigned NO 0
Probability4 float NO 0
BroadcastTextID5 mediumint(6) unsigned NO 0
Probability5 float NO 0
BroadcastTextID6 mediumint(6) unsigned NO 0
Probability6 float NO 0
BroadcastTextID7 mediumint(6) unsigned NO 0
Probability7 float NO 0

Field Breakdown

  • ID - Primary Key. Gossip menu text-set id referenced by gossip_menu.text_id.
  • BroadcastTextID0 - Greeting option 1 of eight: a broadcast_text id.
  • Probability0 - Weight of greeting option 1 in the random selection (0 disables the slot).
  • BroadcastTextID1 - Greeting option 2 of eight: a broadcast_text id.
  • Probability1 - Weight of greeting option 2 in the random selection (0 disables the slot).
  • BroadcastTextID2 - Greeting option 3 of eight: a broadcast_text id.
  • Probability2 - Weight of greeting option 3 in the random selection (0 disables the slot).
  • BroadcastTextID3 - Greeting option 4 of eight: a broadcast_text id.
  • Probability3 - Weight of greeting option 4 in the random selection (0 disables the slot).
  • BroadcastTextID4 - Greeting option 5 of eight: a broadcast_text id.
  • Probability4 - Weight of greeting option 5 in the random selection (0 disables the slot).
  • BroadcastTextID5 - Greeting option 6 of eight: a broadcast_text id.
  • Probability5 - Weight of greeting option 6 in the random selection (0 disables the slot).
  • BroadcastTextID6 - Greeting option 7 of eight: a broadcast_text id.
  • Probability6 - Weight of greeting option 7 in the random selection (0 disables the slot).
  • BroadcastTextID7 - Greeting option 8 of eight: a broadcast_text id.
  • Probability7 - Weight of greeting option 8 in the random selection (0 disables the slot).