diff options
| author | troido <troido@protonmail.com> | 2020-09-24 17:12:39 +0200 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2020-09-24 17:12:39 +0200 |
| commit | 5ae2f9040324baaeaed3f91a84662425cb6186dc (patch) | |
| tree | 6b76ecbe4961ef11bb48c56d752f7586a1b74212 /content/encyclopediae/default_encyclopedia.json | |
| parent | e6476e7afff0234d67ebce7c74e4c91c31d87755 (diff) | |
more serde (de)serialisation
Diffstat (limited to 'content/encyclopediae/default_encyclopedia.json')
| -rw-r--r-- | content/encyclopediae/default_encyclopedia.json | 39 |
1 files changed, 20 insertions, 19 deletions
diff --git a/content/encyclopediae/default_encyclopedia.json b/content/encyclopediae/default_encyclopedia.json index 8ea6bcc..573fbfa 100644 --- a/content/encyclopediae/default_encyclopedia.json +++ b/content/encyclopediae/default_encyclopedia.json @@ -155,70 +155,71 @@ }, "items": { "pebble": {}, - "stone": {"action": ["build", ["builtwall", ["Floor"], ["Blocking"]]]}, - "sword": {"action": ["equip", { + "stone": {"action": {"build": ["builtwall", ["Floor"], ["Blocking"]]}}, + "sword": {"action": {"equip": { "slot": "hand", "stats": {"strength": 5} - }]}, + }}}, "eldritch_sword": { "sprite": "sword", "name": "eldritch sword", - "action": ["equip", { + "action": {"equip": { "slot": "hand", "stats": {"strength": 500} - }] + }} }, - "club": {"action": ["equip", { + "club": {"action": {"equip": { "slot": "hand", "stats": {"strength": 3} - }]}, + }}}, "armour": { "sprite": "armour", - "action": ["equip", { + "action": {"equip": { "slot": "body", "stats": {"defence": 3} - }]}, + }} + }, "pickaxe": { "sprite": "sword", - "action": ["equip", { + "action": {"equip": { "slot": "hand", "stats": {"mining": 5} - }] + }} }, "reddye": {"sprite": "bag"}, "greendye": {"sprite": "bag"}, "bluedye": {"sprite": "bag"}, "cape": { "sprite": "armour", - "action": ["equip", { + "action": {"equip": { "slot": "back", "stats": {}, "sprite": "grayplayer" - }] + }} }, "redcape": { "sprite": "armour", - "action": ["equip", { + "action": {"equip": { "slot": "back", "stats": {}, "sprite": "redplayer" - }] + }} }, "greencape": { "sprite": "armour", - "action": ["equip", { + "action": {"equip": { "slot": "back", "stats": {}, "sprite": "greenplayer" - }] + }} }, "bluecape": { "sprite": "armour", - "action": ["equip", { + "action": {"equip": { "slot": "back", "stats": {}, "sprite": "blueplayer" - }] + }} } } } |
