From 69ac6eb6153b016c39bbe55c85f15e3478032182 Mon Sep 17 00:00:00 2001 From: troido Date: Mon, 9 Mar 2020 16:54:26 +0100 Subject: can now include variables (like health) in serialisation --- content/encyclopediae/default_encyclopedia.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'content') 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]}]], -- cgit