summaryrefslogtreecommitdiff
path: root/API.md
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-12-12 22:48:43 +0100
committerWuzzy <almikes@aol.com>2016-12-12 22:48:43 +0100
commit1b4c684ee47ee776f97aad27f9068693f4f38088 (patch)
tree62f39b9a144e9675926ee7d01f08c521109f1758 /API.md
parenteb505cbf1e55f5fc4e872eef388c46ccfd814881 (diff)
Add a couple of factoid types
Diffstat (limited to 'API.md')
-rw-r--r--API.md14
1 files changed, 11 insertions, 3 deletions
diff --git a/API.md b/API.md
index 659011c..76bf969 100644
--- a/API.md
+++ b/API.md
@@ -188,9 +188,17 @@ Add a custom factoid (see above) for the specified category.
* `nil`: All of the above
* `factoid_type`: Rough categorization of the factoid's content. Controls
where in the text the factoid appears. Possible values:
- * `"groups"`: Factoid appears near groups
- * `"misc"`: Factoid of other type, appears near the end
- * **(more to come)**
+ * For all items:
+ * `"groups"`: Group-related factoid
+ * `"misc"`: Factoid doesn't fit anywhere else, is shown near the end
+ * For nodes only:
+ * `damage`: Related to player/mob damage or health
+ * `movement`: Related to player movement on, in or at node
+ * `sound`: Related to node sounds
+ * `gravity`: Related to gravity (e.g. falling node)
+ * `drop_detroy`: Related to node being destroyed or node dropping as an item
+ * `light`: Related to node light (luminance)
+ * `mining`: Related to mining
* `factoid_generator`: A function which turns item definition into a string
(see blow)