Versiones comparadas

Clave

  • Se ha añadido esta línea.
  • Se ha eliminado esta línea.
  • El formato se ha cambiado.

Back-to:World

The `gossip_menu_option` table

...

Field

Type

Attributes

Key

Null

Default

Extra

Comment

Gossip menu _idoption tc2

smallint(6)

unsigned

PRI

NO

0

 

  id

Gossip menu option tc2

smallint(6)

unsigned

PRI

NO

0

 

 

Gossip menu option _icontc2

smallint(6)

unsigned

PRI

NO

0

 

 

Gossip menu option _texttc2

text

signed

 

YES

NULL

 

 

Gossip menu option _idtc2

tinyint(3)

unsigned

 

NO

0

 

 

npc_option_npcflag Gossip menu option tc2

int(10)

unsigned

 

NO

0

 

 

action_menu_id Gossip menu option tc2

mediumint(8)

unsigned

 

NO

0

 

  action_poi_id

Gossip menu option tc2

mediumint(8)

unsigned

 

NO

0

 

  box_coded

Gossip menu option tc2

tinyint(3)

unsigned

 

NO

0

 

  box_money

Gossip menu option tc2

int(11)

unsigned

 

NO

0

 

  box_text

Gossip menu option tc2

text

signed

 

YES

NULL

 

 

Description of the fields

...

This is the npcflag(Creature_template_tc2tc2#npcflag) that the NPC must have to have this option display. See comments (after //) in previous table)

...

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_tc2tc2#entry.

box_coded

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...

...