diff options
| author | neifion-00000000 <91289495+neifion-00000000@users.noreply.github.com> | 2023-03-26 04:21:58 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-26 11:21:58 +0200 |
| commit | e460187349a98daebf02470738eb0b2d4f05d3aa (patch) | |
| tree | d15608c31f309c291b99962ffbe83cc7d1a8b39d /docs/loot_template.md | |
| parent | 66eca647a25bd1299cf824b3d2187abea86082a4 (diff) | |
| download | wiki-e460187349a98daebf02470738eb0b2d4f05d3aa.tar.gz wiki-e460187349a98daebf02470738eb0b2d4f05d3aa.tar.bz2 wiki-e460187349a98daebf02470738eb0b2d4f05d3aa.zip | |
correct loot_template primary keys info to... (#885)
..reflect current functionality
also removed an incorrect note about a limitation based on old functionality
I have been informed Kiera needs an update to reflect this functionality but I don't use Kiera so I'm not sure if I should link this as an issue or what, feel free to advise.
Diffstat (limited to 'docs/loot_template.md')
| -rw-r--r-- | docs/loot_template.md | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/docs/loot_template.md b/docs/loot_template.md index 190fdff..b240730 100644 --- a/docs/loot_template.md +++ b/docs/loot_template.md @@ -18,11 +18,11 @@ Loot templates define only items in the loot. See comments about money drop in c | ------------------- | ------------------ | ---- | --- | ------- | ----- | ------- | | [Entry][1] | MEDIUMINT UNSIGNED | NO | PRI | 0 | | | | [Item][2] | MEDIUMINT UNSIGNED | NO | PRI | 0 | | | -| [Reference][3] | MEDIUMINT UNSIGNED | NO | | 0 | | | +| [Reference][3] | MEDIUMINT UNSIGNED | NO | PRI | 0 | | | | [Chance][4] | FLOAT | NO | | 100 | | | | [QuestRequired][5] | bool | NO | | 0 | | | | [LootMode][6] | SMALLINT | NO | | 1 | | | -| [GroupId][7] | TINYINT | NO | | 0 | | | +| [GroupId][7] | TINYINT | NO | PRI | 0 | | | | [MinCount][8] | MEDIUMINT | NO | | 1 | | | | [MaxCount][9] | TINYINT UNSIGNED | NO | | 1 | | | | [Comment][10] | VARCHAR | | | | | | @@ -76,8 +76,6 @@ Agreements on **Entry** field values are described [there](#agreements). Template ID of the item which can be included into the loot. -NOTE: For [reference entries](#mincountorref) this field has no meaning and not used by the core in any way. Yet because of the PRIMARY KEY on the entry + item combination, this field will nonetheless need to be a unique number for each reference entry so that no indexing conflicts arise. - ### Reference Template reference asks core to process another loot templateĀ and to include all items dropped for that template into current loot. Simple idea. |
