diff options
| author | troido <troido@protonmail.com> | 2020-04-05 20:04:33 +0200 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2020-04-05 20:04:33 +0200 |
| commit | 48c24ec8b011d081550dc78329cbe61de67b30e9 (patch) | |
| tree | d2d700897dc5ba3d0f52e8a1cd57c0f4880272fd /content/encyclopediae/default_encyclopedia.json | |
| parent | 84c70cee089b72720a85d285ee0437b65be298b9 (diff) | |
items are now mostly replaced by itemids, with a mapping to the item in the encyclopedia
Diffstat (limited to 'content/encyclopediae/default_encyclopedia.json')
| -rw-r--r-- | content/encyclopediae/default_encyclopedia.json | 65 |
1 files changed, 12 insertions, 53 deletions
diff --git a/content/encyclopediae/default_encyclopedia.json b/content/encyclopediae/default_encyclopedia.json index a7196d8..1c48a6b 100644 --- a/content/encyclopediae/default_encyclopedia.json +++ b/content/encyclopediae/default_encyclopedia.json @@ -72,37 +72,6 @@ "sprite": "water", "height": 0.1 }, - "pebble": { - "components": [ - ["Item", { - "ent": ["self", null], - "name": ["string", "pebble"], - "action": ["action", ["none", null]] - }] - ], - "sprite": "pebble", - "height": 0.3 - }, - "stone": { - "item": ["build", ["builtwall", ["Floor"], ["Blocking"]]], - "sprite": "stone", - "height": 0.4 - }, - "player": { - "arguments": [["name", "string"]], - "components": [ - ["Visible", { - "sprite": ["string", "player"], - "height": ["float", 1.0], - "name": ["arg", "name"] - }], - ["Player", { - "name": ["arg", "name"] - }], - ["Inventory", {"capacity": ["int", 3]}], - ["Health", {"health": ["int", 9], "maxhealth": ["int", 10]}] - ] - }, "portal": { "arguments": [["destination", "string"], ["dest_pos", "string", ""]], "components": [ @@ -187,18 +156,12 @@ ["Loot", {"loot": ["list", [ ["list", [{"type": "radishseed"}, 0.92]], ["list", [{"type": "radishseed"}, 0.20]], - ["list", [{"type": "radishes"}, 0.8]], - ["list", [{"type": "radishes"}, 0.4]] + ["list", [{"type": "radish"}, 0.8]], + ["list", [{"type": "radish"}, 0.4]] ]]}] ], "flags": ["Occupied"] }, - "radishseed": { - "sprite": "seed", - "height": 0.2, - "name": "radishseed", - "item": ["build", ["plantedradishseed", ["Floor", "Soil"], ["Occupied", "Blocking"]]] - }, "plantedradishseed": { "arguments": [["target_time", "int", 0]], "sprite": "seed", @@ -233,20 +196,6 @@ }, "flags": ["Occupied"] }, - "radishes": { - "sprite": "food", - "height": 0.3, - "name": "radishes", - "item": ["eat", 3] - }, - "sword": { - "sprite": "sword", - "height": 0.5, - "item": ["equip", { - "slot": "hand", - "stats": {"strength": 50} - }] - }, "closeddoor": { "sprite": "closeddoor", "height": 2, @@ -279,5 +228,15 @@ ["Interactable", {"action": ["interaction", ["reply", "did you say '{}'?"]]}] ] } + }, + "items": { + "pebble": {}, + "stone": {"action": ["build", ["builtwall", ["Floor"], ["Blocking"]]]}, + "radishseed": {"action": ["build", ["plantedradishseed", ["Floor", "Soil"], ["Occupied", "Blocking"]]]}, + "radish": {"action": ["eat", 3]}, + "sword": {"action": ["equip", { + "slot": "hand", + "stats": {"strength": 50} + }]} } } |
