summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorKitzunu <24550914+Kitzunu@users.noreply.github.com>2023-02-11 22:49:07 +0100
committerKitzunu <24550914+Kitzunu@users.noreply.github.com>2023-02-11 22:49:07 +0100
commit6706b7c86975d1ba36d739890b612ae32329cf3e (patch)
tree06beb15c02ad5d23e3da7dddad4cc9e0aa562ed2 /docs
parent834d53a7d0ac60b5d24bd360cbf6d7b98dc915cc (diff)
downloadwiki-6706b7c86975d1ba36d739890b612ae32329cf3e.tar.gz
wiki-6706b7c86975d1ba36d739890b612ae32329cf3e.tar.bz2
wiki-6706b7c86975d1ba36d739890b612ae32329cf3e.zip
pet_name_generation_locale
Diffstat (limited to 'docs')
-rw-r--r--docs/database-world.md1
-rw-r--r--docs/pet_name_generation_locale.md59
2 files changed, 60 insertions, 0 deletions
diff --git a/docs/database-world.md b/docs/database-world.md
index 1e9b4cd..caca1a5 100644
--- a/docs/database-world.md
+++ b/docs/database-world.md
@@ -127,6 +127,7 @@
- [page_text_locale](page_text_locale.md)
- [pet_levelstats](pet_levelstats.md)
- [pet_name_generation](pet_name_generation.md)
+- [pet_name_generation_locale](pet_name_generation_locale.md)
- [pickpocketing_loot_template](loot_template.md)
- [player_class_stats](player_class_stats.md)
- [player_classlevelstats](player_classlevelstats.md)
diff --git a/docs/pet_name_generation_locale.md b/docs/pet_name_generation_locale.md
new file mode 100644
index 0000000..e5ac9e7
--- /dev/null
+++ b/docs/pet_name_generation_locale.md
@@ -0,0 +1,59 @@
+# pet\_name\_generation\_locale
+
+[<-Back-to:World](database-world.md)
+
+**The \`pet\_name\_generation\_locale\` table**
+
+This table holds pieces of names (first and last half) that are use for pet name generation for locale.
+
+**Structure**
+
+| Field | Type | Attributes | Key | Null | Default | Extra | Comment |
+| ----------- | --------- | ---------- | --- | ---- | ------- | -------------- | ------- |
+| [ID][1] | MEDIUMINT | UNSIGNED | PRI | NO | NULL | Auto increment | |
+| [locale][2] | VARCHAR | | | NO | | | |
+| [word][3] | tinytext | SIGNED | | NO | NULL | | |
+| [entry][4] | MEDIUMINT | UNSIGNED | | NO | 0 | | |
+| [half][5] | TINYINT | SIGNED | | NO | 0 | | |
+
+[1]: #id
+[2]: #locale
+[3]: #word
+[4]: #entry
+[5]: #half
+
+**Description of the fields**
+
+### ID
+
+The ID of the entry. This field must match [pet_name_generation.id](pet_name_generation.md#id)
+
+### Locale
+
+This is the language of the client.
+
+| Language |
+| -------- |
+| koKR |
+| frFR |
+| deDE |
+| zhCN |
+| zhTW |
+| esES |
+| esMX |
+| ruRU |
+
+### 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