summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
Diffstat (limited to 'content')
-rw-r--r--content/encyclopediae/default_encyclopedia.json2
-rw-r--r--content/encyclopediae/npcs.json15
-rw-r--r--content/maps/room.json2
3 files changed, 11 insertions, 8 deletions
diff --git a/content/encyclopediae/default_encyclopedia.json b/content/encyclopediae/default_encyclopedia.json
index f6a3e48..fdaa42f 100644
--- a/content/encyclopediae/default_encyclopedia.json
+++ b/content/encyclopediae/default_encyclopedia.json
@@ -87,7 +87,7 @@
"height": 1,
"flags": ["Occupied"],
"components": [
- ["Interactable", {"action": ["interaction", ["say", "Good morning there, World"]]}]
+ ["Talkable", {"text": "Good morning there, World"}]
]
},
"quarry": {
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"]]]]
+ ]]
+ }]
]
}
}
diff --git a/content/maps/room.json b/content/maps/room.json
index b923986..84201a0 100644
--- a/content/maps/room.json
+++ b/content/maps/room.json
@@ -13,7 +13,7 @@
" ~~,,,,.,,,,,,,,,,,~~~,,,,,,,,,,,,,,,,,,,,X",
" X,,,,,.,,,,,,,,,,,~~~~,,,,,,T,,,,,,,,,,,,X",
" X,,,,,.,,,,,,,,,,,,~~~,,,,,,,,,,,,,,,,,,,X",
- " X,,,,,.,,,,,,,,,,,,~~~,,,,,T,,,,######,,,X",
+ " X,,,,,.,u,,,,,,,,,,~~~,,,,,T,,,,######,,,X",
" X,,,,,.,,,,,,,,,,,,bbb,,,,,,,,,,#++++#,,,X",
" X,,,t..............bbb..........D++++#,,,X",
" X,,,,,.,,,,,,,,,,,,bbb,,,,,,,,,,#++++#,,,X",