summaryrefslogtreecommitdiff
path: root/content/encyclopediae/npcs.json
diff options
context:
space:
mode:
Diffstat (limited to 'content/encyclopediae/npcs.json')
-rw-r--r--content/encyclopediae/npcs.json15
1 files changed, 9 insertions, 6 deletions
diff --git a/content/encyclopediae/npcs.json b/content/encyclopediae/npcs.json
index bfaa6fe..78dda29 100644
--- a/content/encyclopediae/npcs.json
+++ b/content/encyclopediae/npcs.json
@@ -79,18 +79,21 @@
"height": 1.5,
"flags": ["Occupied"],
"components": [
- ["Interactable", {"action": ["interaction", ["reply", "did you say '{}'?"]]}]
+ ["Talkable", {"text": "Hey there, welcome to Asciifarm"}]
]
},
"trader": {
"sprite": "human",
"height": 1.5,
"components": [
- ["Interactable", {"action": ["interaction", ["exchange", ["buy ", {
- "pebble": [["radish", "radish"], ["pebble"]],
- "radishseed": [["radish"], ["radishseed", "radishseed"]],
- "carrotseed": [["radish"], ["carrotseed"]]
- }]]]}]
+ ["Exchanger", {
+ "prefix": "buy",
+ "exchanges": ["list", [
+ ["list", ["pebble", ["list", ["radish", "radish"]], ["list", ["pebble"]]]],
+ ["list", ["radishseed", ["list", ["radish"]], ["list", ["radishseed", "radishseed"]]]],
+ ["list", ["carrotseed", ["list", ["radish"]], ["list", ["carrotseed"]]]]
+ ]]
+ }]
]
}
}