about summary refs log tree commit diff
path: root/src/entities/raws
diff options
context:
space:
mode:
authorGriffin Smith <root@gws.fyi>2019-07-20T01·55-0400
committerGriffin Smith <root@gws.fyi>2019-07-20T01·55-0400
commit29c80ac8ba0d733c6c452d8fd39e9561553495b0 (patch)
treef8384229d84b0d281c2fbbe976aeb5ebc21bdc24 /src/entities/raws
parent4e9138aa6ff72e34392e3467c40d5ddf095f0027 (diff)
Add the beginning of item entities
Add a new Item raw type and entity type, with preliminary, basic support
for food. There's a really frustrating toml-rs bug that prevents writing
these nicely as toml right now, so I also added support for mixing JSON
and TOML in a single config dir
Diffstat (limited to 'src/entities/raws')
-rw-r--r--src/entities/raws/noodles.json14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/entities/raws/noodles.json b/src/entities/raws/noodles.json
new file mode 100644
index 000000000000..d4b773cac533
--- /dev/null
+++ b/src/entities/raws/noodles.json
@@ -0,0 +1,14 @@
+{
+  "Item": {
+    "name": "noodles",
+    "char": {
+      "char": "🍜"
+    },
+    "description": "You know exactly what kind of noodles",
+    "edible_item": {
+      "eat_message": "You slurp up the noodles",
+      "hitpoints_healed": 2
+    },
+    "display_name": "big bowl o' noodles"
+  }
+}