summaryrefslogtreecommitdiff
path: root/content/encyclopediae/base.json
diff options
context:
space:
mode:
authortroido <troido@protonmail.com>2020-05-16 12:03:49 +0200
committertroido <troido@protonmail.com>2020-05-16 12:03:49 +0200
commitdc25e66031fc0a1fbdb15579ad346bcb3903b3bb (patch)
tree5d1bb73ce84afec2683367e29a73968603fe1898 /content/encyclopediae/base.json
parent9c4e59b670d22fbfa23def1d66a10ea3af4c214d (diff)
encyclopedia can be split over different files
Diffstat (limited to 'content/encyclopediae/base.json')
-rw-r--r--content/encyclopediae/base.json91
1 files changed, 91 insertions, 0 deletions
diff --git a/content/encyclopediae/base.json b/content/encyclopediae/base.json
new file mode 100644
index 0000000..e6806b5
--- /dev/null
+++ b/content/encyclopediae/base.json
@@ -0,0 +1,91 @@
+{
+ "assemblages": {
+ "wall": {
+ "sprite": "wall",
+ "height": 2,
+ "flags": ["Blocking"]
+ },
+ "rock": {
+ "sprite": "rock",
+ "height": 10,
+ "flags": ["Blocking"]
+ },
+ "tree": {
+ "sprite": "tree",
+ "height": 3,
+ "flags": ["Blocking"]
+ },
+ "fence": {
+ "sprite": "fence",
+ "height": 1,
+ "flags": ["Blocking"]
+ },
+ "grass": {
+ "components": [
+ ["Visible", {
+ "sprite": ["random", [
+ "grass1",
+ "grass2",
+ "grass3",
+ "grass1",
+ "grass2",
+ "grass3",
+ "ground"
+ ]],
+ "height": 0.1,
+ "name": "grass"
+ }]
+ ],
+ "flags": ["Floor", "Soil"]
+ },
+ "greengrass": {
+ "components": [
+ ["Visible", {
+ "sprite": ["random", [
+ "grass1",
+ "grass2",
+ "grass3"
+ ]],
+ "height": 0.1,
+ "name": "grass"
+ }]
+ ],
+ "flags": ["Floor", "Soil"]
+ },
+ "ground": {
+ "sprite": "ground",
+ "height": 0.1,
+ "flags": ["Floor", "Soil"]
+ },
+ "floor": {
+ "sprite": "floor",
+ "height": 0.1,
+ "flags": ["Floor"]
+ },
+ "bridge": {
+ "sprite": "bridge",
+ "height": 0.1,
+ "flags": ["Floor"]
+ },
+ "water": {
+ "sprite": "water",
+ "height": 0.0
+ },
+ "house": {"height": 3.0, "sprite": "house"},
+ "freeland": {},
+ "img": {
+ "arguments": [["sprite", "string", ""], ["height", "float", 1.0]],
+ "components": [
+ ["Visible", {"name": ["arg", "sprite"], "sprite": ["arg", "sprite"], "height": ["arg", "height"]}]
+ ]
+ },
+ "letter": {
+ "arguments": [["char", "string"]],
+ "components": [["Visible", {
+ "name": ["concat", ["letter_", ["arg", "char"]]],
+ "sprite": ["concat", ["emptyletter-", ["arg", "char"]]],
+ "height": 1.0
+ }]]
+ }
+ }
+}