diff options
| author | troido <troido@protonmail.com> | 2020-09-26 00:05:03 +0200 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2020-09-26 00:05:03 +0200 |
| commit | 345251f20401a71f7e7e00f4810b92af39ad4395 (patch) | |
| tree | 4f1f64a4f09e81fb98bb786865d5164048440321 /content | |
| parent | 9e2aa0f98cb93ea79db023f1309e083e59192293 (diff) | |
use flags for the whole room instead of room permissions
the flags on a tile are the union of the flags from the entity on that tile and the room flags
Diffstat (limited to 'content')
| -rw-r--r-- | content/encyclopediae/default_encyclopedia.json | 2 | ||||
| -rw-r--r-- | content/maps/_home.json | 2 | ||||
| -rw-r--r-- | content/maps/begin.json | 2 | ||||
| -rw-r--r-- | content/maps/broom.json | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/content/encyclopediae/default_encyclopedia.json b/content/encyclopediae/default_encyclopedia.json index 9de0470..2c88f45 100644 --- a/content/encyclopediae/default_encyclopedia.json +++ b/content/encyclopediae/default_encyclopedia.json @@ -155,7 +155,7 @@ }, "items": { "pebble": {}, - "stone": {"action": {"build": ["builtwall", ["Floor"], ["Blocking"]]}}, + "stone": {"action": {"build": ["builtwall", ["Floor", "Build"], ["Blocking"]]}}, "sword": {"action": {"equip": { "slot": "hand", "stats": {"strength": 5} diff --git a/content/maps/_home.json b/content/maps/_home.json index 10a43b0..7d67c85 100644 --- a/content/maps/_home.json +++ b/content/maps/_home.json @@ -2,7 +2,7 @@ "width": 64, "height": 64, "spawn": [0,0], - "permissions": {"build": true}, + "flags": ["Build"], "places": {}, "field":[ "%,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,", diff --git a/content/maps/begin.json b/content/maps/begin.json index 0a7e236..e01e866 100644 --- a/content/maps/begin.json +++ b/content/maps/begin.json @@ -2,7 +2,7 @@ "width": 126, "height": 64, "spawn": [15, 30], - "permissions": {"build": true}, + "flags": ["Build"], "places": { "stairdown": [37, 33], "caveentrance": [31, 50], diff --git a/content/maps/broom.json b/content/maps/broom.json index ed7e7ca..6effa07 100644 --- a/content/maps/broom.json +++ b/content/maps/broom.json @@ -2,7 +2,7 @@ "width": 42, "height": 23, "spawn": [5, 15], - "permissions": {"build": true}, + "flags": ["Build"], "places": { "northentry": [6, 1] }, |
