summaryrefslogtreecommitdiff
path: root/content/encyclopediae
diff options
context:
space:
mode:
Diffstat (limited to 'content/encyclopediae')
-rw-r--r--content/encyclopediae/default_encyclopedia.json14
1 files changed, 12 insertions, 2 deletions
diff --git a/content/encyclopediae/default_encyclopedia.json b/content/encyclopediae/default_encyclopedia.json
index 1c48a6b..b7364d5 100644
--- a/content/encyclopediae/default_encyclopedia.json
+++ b/content/encyclopediae/default_encyclopedia.json
@@ -227,13 +227,23 @@
"components": [
["Interactable", {"action": ["interaction", ["reply", "did you say '{}'?"]]}]
]
+ },
+ "trader": {
+ "sprite": "human",
+ "height": 1.5,
+ "components": [
+ ["Interactable", {"action": ["interaction", ["exchange", ["buy ", {
+ "pebble": [["radish", "radish"], ["pebble"]],
+ "radishseed": [["radish"], ["radishseed", "radishseed"]]
+ }]]]}]
+ ]
}
},
"items": {
"pebble": {},
"stone": {"action": ["build", ["builtwall", ["Floor"], ["Blocking"]]]},
- "radishseed": {"action": ["build", ["plantedradishseed", ["Floor", "Soil"], ["Occupied", "Blocking"]]]},
- "radish": {"action": ["eat", 3]},
+ "radishseed": {"sprite": "seed", "action": ["build", ["plantedradishseed", ["Floor", "Soil"], ["Occupied", "Blocking"]]]},
+ "radish": {"sprite": "food", "action": ["eat", 3]},
"sword": {"action": ["equip", {
"slot": "hand",
"stats": {"strength": 50}