From e7b4ed0f044c3ada82155f81d3b61c0c5ce36583 Mon Sep 17 00:00:00 2001 From: troido Date: Thu, 9 Apr 2020 15:04:54 +0200 Subject: change interaction is now a combination of harvest and loot --- content/encyclopediae/default_encyclopedia.json | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'content/encyclopediae') diff --git a/content/encyclopediae/default_encyclopedia.json b/content/encyclopediae/default_encyclopedia.json index 0d54304..80d84cb 100644 --- a/content/encyclopediae/default_encyclopedia.json +++ b/content/encyclopediae/default_encyclopedia.json @@ -90,7 +90,8 @@ "arguments": [["health", "int", 100]], "components": [ ["Health", {"health": ["arg", "health"], "maxhealth": 100}], - "Mortal" + "Mortal", + ["Loot", {"loot": ["list", [{"type": "stone"}]]}] ], "sprite": "wall", "height": 2, @@ -286,7 +287,9 @@ "height": 2, "flags": ["Blocking"], "components": [ - ["Interactable", {"action": ["interaction", ["change", {"type": "opendoor", "save": false}]]}] + ["Interactable", {"action": ["interaction", "harvest"]}], + ["Loot", {"loot": ["list", [{"type": "opendoor", "save": false}]]}], + "Mortal" ] }, "opendoor": { @@ -294,7 +297,9 @@ "height": 0.8, "flags": ["Occupied"], "components": [ - ["Interactable", {"action": ["interaction", ["change", {"type": "closeddoor", "save": false}]]}] + ["Interactable", {"action": ["interaction", "harvest"]}], + ["Loot", {"loot": ["list", [{"type": "closeddoor", "save": false}]]}], + "Mortal" ] }, "sign": { -- cgit