Pet name generation

From OregonCore Wiki
Jump to: navigation, search

Back to world database list of tables.


The `pet_name_generation` table

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

Schema Last Modified: TC1-1828 - Schema Verified: Rev 665


Structure

Field Type Attributes Key Null Default Extra Comment
id mediumint(8) unsigned PRI NO NULL Auto increment
word tinytext utf8_general_ci NO NULL
entry mediumint(8) unsigned NO 0
half tinyint(4) 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