summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
Diffstat (limited to 'content')
-rw-r--r--content/encyclopediae/default_encyclopedia.json11
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": {