diff options
| author | troido <troido@protonmail.com> | 2020-04-17 11:15:02 +0200 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2020-04-17 11:15:02 +0200 |
| commit | 13e9ab2c859b9a6a1935acbb93d34a7f10b7e122 (patch) | |
| tree | e28b2e0d944dc6fad62d6407a411598cedc935cf /content/encyclopediae | |
| parent | 608918af8174e9afb761cdd2ad46e489b21c5f4e (diff) | |
added Mine interaction
Diffstat (limited to 'content/encyclopediae')
| -rw-r--r-- | content/encyclopediae/default_encyclopedia.json | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/content/encyclopediae/default_encyclopedia.json b/content/encyclopediae/default_encyclopedia.json index b4007d5..5f127cd 100644 --- a/content/encyclopediae/default_encyclopedia.json +++ b/content/encyclopediae/default_encyclopedia.json @@ -413,6 +413,17 @@ ]]}] ], "flags": ["Occupied"] + }, + "quarry": { + "sprite": "quarry", + "height": 2, + "components": [ + ["Interactable", {"action": ["interaction", ["mine", "mining"]]}], + ["Minable", {"total": 20, "trigger": "loot"}], + ["Loot", {"spread": true, "loot": ["list", [ + ["list", [{"type": "stone"}, 1.0]] + ]]}] + ] } }, "items": { @@ -442,7 +453,14 @@ "armour": {"action": ["equip", { "slot": "body", "stats": {"defence": 3} - }]} + }]}, + "pickaxe": { + "sprite": "sword", + "action": ["equip", { + "slot": "hand", + "stats": {"mining": 5} + }] + } }, "templates":{ "plantedcarrotseed": ["plantedseed", {"delay": 60, "next": "carrotseedling"}], |
