From 071dfa8052bb3e5c3f533dd629a3427cea96f29d Mon Sep 17 00:00:00 2001 From: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Date: Tue, 27 Apr 2021 01:32:30 +0200 Subject: chore(transports): Update to wiki standards (#446) --- docs/transports.md | 41 ++++++++++++++++++++++++----------------- 1 file changed, 24 insertions(+), 17 deletions(-) (limited to 'docs') diff --git a/docs/transports.md b/docs/transports.md index ea07cb0..52544ba 100644 --- a/docs/transports.md +++ b/docs/transports.md @@ -1,11 +1,19 @@ -[Database Structure](Database-Structure) > [World-Database](World-Database) > [transports](transports) +# transports -Column | Type | Description ---- | --- | --- -Guid | int(10) unsigned | -Entry | mediumint(8) unsigned | -Name | text | -ScriptName | char(64) | +[<-Back-to:World](database-world.md) + +**The \`transports\` table** + +This table contains all type 15 transports (Boats and Zeppelins). All other transport types have their frame time read from TransportAnimation.dbc. + +**Structure** + +| Field | Type | Attribute | Key | Null | Default | Extra | Comment +:--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- +[Guid][1] | INT | UNSIGNED | PRI | NO | | AUTO_INCREMENT | +[Entry][2] | MEDIUMINT | UNSIGNED | UNIQUE | NO | 0 | +[Name][3] | TEXT | | | YES | NULL | +[ScriptName][4] | CHAR(64) | | | NO | ' ' [1]: #guid [2]: #entry @@ -14,21 +22,20 @@ ScriptName | char(64) | **Description of the fields** -### Guid - -Unique identifier for this transport. Each time a new one is added, it has to add +1 value of the previous number. +### guid -### Entry +Unique identifier for transport. Each time you add a new guid simply add one (1) from max guid. -[GameObject](gameobject_template) Entry to be used for this transport. It must be a GameObject whose Type is 15. +### entry -### Name +[gameobject_template.entry](gameobject_template#entry) to be used for this transport. It must be a type 15 gameobject. -Name or comment used to detail the Transport entry. +### name -##### Example: -Undercity, Tirisfal Glades and Grom'gol Base Camp, Stranglethorn Vale ("The Purple Princess") +This is an arbitrary to describe the transport entry. ### ScriptName -Undefined. +`field-no-description|4` + +**Note:** Transports have their own map: https://wow.tools/dbc/?dbc=map&build=3.3.5.12340#page=1&colFilter[1]=Transport -- cgit