AzerothCore
Pages :

pet_name_generation

<-Back-to:World

The `pet_name_generation` table

This table holds pieces of names (first and last half) that are use for pet name generation.

Structure

Field Type Attributes Key Null Default Extra Comment
id MEDIUMINT UNSIGNED PRI NO NULL Auto increment
word tinytext SIGNED NO NULL
entry MEDIUMINT UNSIGNED NO 0
half TINYINT SIGNED NO 0

Description of the fields

id

The ID of the entry. This is an auto increment field and this is an arbitrary number. When adding entries it is best to just let the database pick the next available ID number.

word

The name part for this entry.

entry

The entry from creature_template.entry for the creature that you want this part of the name to be generated for.

half

This determines whether this is the first or last half of the name for this entry.

  • 0 First half
  • 1 Last half