From 6ca6e37dd3320e8f66708e81fd546803a5bcd8bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barth=C3=A9l=C3=A9my=20de=20Mazenod?= Date: Mon, 13 May 2019 16:49:31 +0100 Subject: [PATCH] Update object-attribute-reference.md Add a reserved attributes Table --- docs/object-attribute-reference.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/docs/object-attribute-reference.md b/docs/object-attribute-reference.md index 8b75ed597..a35f4867a 100644 --- a/docs/object-attribute-reference.md +++ b/docs/object-attribute-reference.md @@ -1,13 +1,20 @@ # Object Attribute Reference -## List all preset object attributes +## List all **USABLE** preset object attributes | Attribute | Type | Value | Description | |-------------------|-----------|-------|-------------| | `xp` | function | `exerciceExpCalculation`, `examExpCalculation` or `raidExpCalculation` | Amount of exeperience points that an object will give. | | `correctionPrice` | function | `correctionPrice` | Amount of correction points needed to test an exercise. | +| `duration` | number | | | +| `time` | string | | | +| `info` | object | | | + +## List all **RESERVED** preset object attributes + +| Attribute | Type | Value | Description | +|-------------------|-----------|-------|-------------| | `scopeStart` | function | | | | `scopeEnd` | function | | | | `startDay` | function | | | | `status` | function | | | -| `time` | string | | | | `week` | function | | |