summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
authortroido <troido@protonmail.com>2020-04-04 14:01:17 +0200
committertroido <troido@protonmail.com>2020-04-04 14:01:17 +0200
commit2cc5b468cfd4c28bf1ad17ef1b3600c3d42f8b83 (patch)
tree835e67143e56fafef795e320ce8fc5d50cb9cc6c /content
parent0b17829846adf9482b460e4cc616382ede1df6dd (diff)
listen to sounds in the world
Diffstat (limited to 'content')
-rw-r--r--content/encyclopediae/default_encyclopedia.json8
-rw-r--r--content/maps/room.json3
2 files changed, 10 insertions, 1 deletions
diff --git a/content/encyclopediae/default_encyclopedia.json b/content/encyclopediae/default_encyclopedia.json
index 0dc1f80..5fa6ebf 100644
--- a/content/encyclopediae/default_encyclopedia.json
+++ b/content/encyclopediae/default_encyclopedia.json
@@ -262,6 +262,14 @@
"components": [
["Interactable", {"action": ["interaction", ["change", {"type": "closeddoor", "save": false}]]}]
]
+ },
+ "sign": {
+ "sprite": "sign",
+ "height": 1,
+ "flags": ["Occupied"],
+ "components": [
+ ["Interactable", {"action": ["interaction", ["say", "Good morning there, World"]]}]
+ ]
}
}
}
diff --git a/content/maps/room.json b/content/maps/room.json
index 275100f..e1bf55e 100644
--- a/content/maps/room.json
+++ b/content/maps/room.json
@@ -19,7 +19,7 @@
"X,**,,.,,,,,,,,,,,,bbb,,,,,,,,,,#++++#,,,X",
"X,*,*,.,,,,,V,,V,,,~~~,,,T,,,T,,#++++#,,,X",
"X,,*,,.,,,,,,,,,,,,~~~,,,,,,,,,,######,,,X",
- "X,oo,,.,,,d,,,,,,,~~~~,,,,,,,,,,f,,,,f,,,X",
+ "X,oo,,.,s,d,,,,,,,~~~~,,,,,,,,,,f,,,,f,,,X",
"X,,*,,.,,,,,,,,,,,~~~''''''''''''''''f'''X",
"X*,,,,.,,,d,VVV,,,~~~'''''''''''f''''f'''X",
"1,,,,,.,,,,,VVV,,,~~~'''''''''''ffffff'''X",
@@ -48,6 +48,7 @@
"V": ["grass", "radishplant"],
"/": ["grass", "sword"],
"D": ["ground", "closeddoor"],
+ "s": ["ground", "sign"],
" ": []
}
}