summaryrefslogtreecommitdiff
path: root/docs/game_event_quest_condition.md
diff options
context:
space:
mode:
authorFrancescoBorzi <borzifrancesco@gmail.com>2019-02-25 19:24:20 +0100
committerFrancescoBorzi <borzifrancesco@gmail.com>2019-02-25 19:24:20 +0100
commita35d4f08a3f9f086eae94dccbfda2ff0c8eb5ae3 (patch)
tree91e0cde00f6f27b730b0df3f4338fcf99fa8447a /docs/game_event_quest_condition.md
parentd8d1823802ded97300fa57405d80b16736603489 (diff)
downloadwiki-a35d4f08a3f9f086eae94dccbfda2ff0c8eb5ae3.tar.gz
wiki-a35d4f08a3f9f086eae94dccbfda2ff0c8eb5ae3.tar.bz2
wiki-a35d4f08a3f9f086eae94dccbfda2ff0c8eb5ae3.zip
Import DB wiki from TC 335
Diffstat (limited to 'docs/game_event_quest_condition.md')
-rw-r--r--docs/game_event_quest_condition.md100
1 files changed, 92 insertions, 8 deletions
diff --git a/docs/game_event_quest_condition.md b/docs/game_event_quest_condition.md
index a688e85..b5ca90c 100644
--- a/docs/game_event_quest_condition.md
+++ b/docs/game_event_quest_condition.md
@@ -1,8 +1,92 @@
-[Database Structure](Database-Structure) > [World-Database](World-Database) > [game_event_quest_condition](game_event_quest_condition)
-
-Column | Type | Description
---- | --- | ---
-EventEntry | tinyint(3) unsigned |
-Quest | mediumint(8) unsigned |
-Condition_id | mediumint(8) unsigned |
-Num | float |
+# game\_event\_quest\_condition
+
+`Back-to:World`
+
+**The \`game\_event\_quest\_condition\` table**
+
+This table contains the mapping of a quest in a world event to the condition that it will fulfill. It also contains how much a given quest will add to a condition once that quest is completed by a player.
+
+**Structure**
+
+<table>
+<colgroup>
+<col width="12%" />
+<col width="12%" />
+<col width="12%" />
+<col width="12%" />
+<col width="12%" />
+<col width="12%" />
+<col width="12%" />
+<col width="12%" />
+</colgroup>
+<tbody>
+<tr class="odd">
+<td><p><strong>Field</strong></p></td>
+<td><p><strong>Type</strong></p></td>
+<td><p><strong>Attributes</strong></p></td>
+<td><p><strong>Key</strong></p></td>
+<td><p><strong>Null</strong></p></td>
+<td><p><strong>Default</strong></p></td>
+<td><p><strong>Extra</strong></p></td>
+<td><p><strong>Comment</strong></p></td>
+</tr>
+<tr class="even">
+<td><p><a href="#game_event_quest_condition-eventEntry">eventEntry</a></p></td>
+<td><p>tinyint(3)</p></td>
+<td><p>unsigned</p></td>
+<td><p> </p></td>
+<td><p>NO</p></td>
+<td><p> </p></td>
+<td><p> </p></td>
+<td><p> </p></td>
+</tr>
+<tr class="odd">
+<td><p><a href="#game_event_quest_condition-quest">quest</a></p></td>
+<td><p>mediumint(8)</p></td>
+<td><p>unsigned</p></td>
+<td><p>PRI</p></td>
+<td><p>NO</p></td>
+<td><p>0</p></td>
+<td><p> </p></td>
+<td><p> </p></td>
+</tr>
+<tr class="even">
+<td><p><a href="#game_event_quest_condition-condition_id">condition_id</a></p></td>
+<td><p>mediumint(8)</p></td>
+<td><p>unsigned</p></td>
+<td><p> </p></td>
+<td><p>NO</p></td>
+<td><p>0</p></td>
+<td><p> </p></td>
+<td><p> </p></td>
+</tr>
+<tr class="odd">
+<td><p><a href="#game_event_quest_condition-num">num</a></p></td>
+<td><p>float</p></td>
+<td><p>signed</p></td>
+<td><p> </p></td>
+<td><p>YES</p></td>
+<td><p>0</p></td>
+<td><p> </p></td>
+<td><p> </p></td>
+</tr>
+</tbody>
+</table>
+
+**Description of the fields**
+
+### eventEntry
+
+The event that is associated with this quest and condition.
+
+### quest
+
+The quest that will trigger this condition.
+
+### condition\_id
+
+The condition that will be triggered on quest complete.
+
+### num
+
+The number of "units" (for lack of a better word) that will be added to the condition to fulfill the required number needed for the condition.