summaryrefslogtreecommitdiff
path: root/docs/pool_pool.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/pool_pool.md')
-rw-r--r--docs/pool_pool.md77
1 files changed, 12 insertions, 65 deletions
diff --git a/docs/pool_pool.md b/docs/pool_pool.md
index 228547a..ff3fe20 100644
--- a/docs/pool_pool.md
+++ b/docs/pool_pool.md
@@ -8,70 +8,17 @@ This is the pool of pools table. You can create a pool with a chance of a range
**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="#pool_id">pool_id</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="odd">
-<td><p><a href="#mother_pool">mother_pool</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="even">
-<td><p><a href="#chance">chance</a></p></td>
-<td><p>float</p></td>
-<td><p>signed</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="#description">description</a></p></td>
-<td><p>varchar(255)</p></td>
-<td><p>signed</p></td>
-<td><p> </p></td>
-<td><p>YES</p></td>
-<td><p>NULL</p></td>
-<td><p> </p></td>
-<td><p> </p></td>
-</tr>
-</tbody>
-</table>
+| Field | Type | Attributes | Key | Null | Default | Extra | Comment |
+|------------------|--------------|------------|-----|------|---------|-------|---------|
+| [pool_id][1] | mediumint(8) | unsigned | PRI | NO | 0 | | |
+| [mother_pool][2] | mediumint(8) | unsigned | | NO | 0 | | |
+| [chance][3] | float | signed | | NO | 0 | | |
+| [description][4] | varchar(255) | signed | | YES | NULL | | |
+
+[1]: #pool_id
+[2]: #mother_pool
+[3]: #chance
+[4]: #description
**Description of the fields**
@@ -87,7 +34,7 @@ The ID of the [pool\_template](pool_template)) that defines this "pool of pools"
The explicit percentage chance that this child pool will be spawned.
-If the mother pool spawns just one child pool (max\_limit = 1 in the respective mother pool's [pool\_template](pool_template), the core selects the child pool to be spawned in a two-step process: First, only the explicitly-chanced (chance &gt; 0) child pools of the mother pool are rolled. If this roll does not produce any child pool, all the child pools without an explicit chance (chance = 0) are rolled with equal chance.
+If the mother pool spawns just one child pool (max\_limit = 1 in the respective mother pool's [pool\_template](pool_template), the core selects the child pool to be spawned in a two-step process: First, only the explicitly-chanced (chance > 0) child pools of the mother pool are rolled. If this roll does not produce any child pool, all the child pools without an explicit chance (chance = 0) are rolled with equal chance.
If the mother pool spawns more than one child pool, the chance is ignored and all the child pools in the mother pool are rolled in one step with equal chance.