summaryrefslogtreecommitdiff
path: root/content/encyclopediae/npcs.json
diff options
context:
space:
mode:
authortroido <troido@protonmail.com>2020-09-21 02:33:19 +0200
committertroido <troido@protonmail.com>2020-09-21 02:33:19 +0200
commit5ce9b012a7987f4085057f4f0b0af35e76810a7a (patch)
treea99418b5aec06d6be28e22150bce85d3c40b8ee7 /content/encyclopediae/npcs.json
parentb6a4c7b2d383755402e5e2c6f60d9a75a899b809 (diff)
parent455867294cc849bff2c0829a7464e71e79a0dcae (diff)
Merge branch 'interact' into master
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..00c45d6 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 '{}'?"]]}]
+ ["Interactable", {"typ": "say", "arg": "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"]]
- }]]]}]
+ ["Interactable", {"typ": "exchange", "arg": ["list", [
+ "buy ",
+ ["list", [
+ ["list", ["pebble", ["list", ["radish", "radish"]], ["list", ["pebble"]]]],
+ ["list", ["radishseed", ["list", ["radish"]], ["list", ["radishseed", "radishseed"]]]],
+ ["list", ["carrotseed", ["list", ["radish"]], ["list", ["carrotseed"]]]]
+ ]]
+ ]]}]
]
}
}