summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
authortroido <troido@protonmail.com>2020-03-09 16:54:26 +0100
committertroido <troido@protonmail.com>2020-03-09 16:54:26 +0100
commit69ac6eb6153b016c39bbe55c85f15e3478032182 (patch)
tree31a0a5cf3d768688c7600902364446d55e3f4395 /content
parenta1f45d1b40b23cb7e9f0b277f24ad66880b0bc56 (diff)
can now include variables (like health) in serialisation
Diffstat (limited to 'content')
-rw-r--r--content/encyclopediae/default_encyclopedia.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/content/encyclopediae/default_encyclopedia.json b/content/encyclopediae/default_encyclopedia.json
index bf5a1b2..ea1684b 100644
--- a/content/encyclopediae/default_encyclopedia.json
+++ b/content/encyclopediae/default_encyclopedia.json
@@ -120,7 +120,8 @@
"Mortal"
],
"sprite": "wall",
- "height": 2
+ "height": 2,
+ "extract": {"health": ["Health", "health"]}
},
"spiketrap": {
"components": [["Trap", {"damage": ["int", 8]}]],