diff options
| author | troido <troido@protonmail.com> | 2020-04-09 15:04:54 +0200 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2020-04-09 15:04:54 +0200 |
| commit | e7b4ed0f044c3ada82155f81d3b61c0c5ce36583 (patch) | |
| tree | ebdf7c9b712c07fcb89a1b50fb2a653fa749932d /content | |
| parent | 8dbe1f51ff1705f97a191197b3ee7cb66b682584 (diff) | |
change interaction is now a combination of harvest and loot
Diffstat (limited to 'content')
| -rw-r--r-- | content/encyclopediae/default_encyclopedia.json | 11 |
1 files changed, 8 insertions, 3 deletions
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": { |
