diff options
| author | troido <troido@protonmail.com> | 2020-04-02 16:07:32 +0200 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2020-04-02 16:07:32 +0200 |
| commit | b597d2279db7beb0d619fac472481b7f707609c8 (patch) | |
| tree | 3d45ea9f45a8897a3aec5c30b16bb0db12b162b2 /content/encyclopediae/default_encyclopedia.json | |
| parent | 1e8fe74740fc4fb11b660415b2db182c6a63a3c2 (diff) | |
built doors
Diffstat (limited to 'content/encyclopediae/default_encyclopedia.json')
| -rw-r--r-- | content/encyclopediae/default_encyclopedia.json | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/content/encyclopediae/default_encyclopedia.json b/content/encyclopediae/default_encyclopedia.json index 9b625b9..b3dc5d0 100644 --- a/content/encyclopediae/default_encyclopedia.json +++ b/content/encyclopediae/default_encyclopedia.json @@ -182,7 +182,7 @@ "name": "radishplant", "height": 0.5, "components": [ - ["Interactable", {"action": ["string", "harvest"]}], + ["Interactable", {"action": ["interaction", "harvest"]}], "Mortal", ["Loot", {"loot": ["lootlist", [["radishseed", 0.92], ["radishseed", 0.20], ["radishes", 0.8], ["radishes", 0.4]]]}] ], @@ -241,6 +241,22 @@ "slot": "hand", "stats": {"strength": 50} }] + }, + "closeddoor": { + "sprite": "closeddoor", + "height": 2, + "flags": ["Blocking"], + "components": [ + ["Interactable", {"action": ["interaction", ["change", {"type": "opendoor", "save": false}]]}] + ] + }, + "opendoor": { + "sprite": "opendoor", + "height": 0.8, + "flags": ["Occupied"], + "components": [ + ["Interactable", {"action": ["interaction", ["change", {"type": "closeddoor", "save": false}]]}] + ] } } } |
