summaryrefslogtreecommitdiff |
diff options
author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2018-07-12 21:09:37 +0200 |
---|---|---|
committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2018-07-12 21:09:37 +0200 |
commit | eb7c4865b5311ca559b12fe649ea3f865d1f66b5 (patch) | |
tree | 8165f1c587e7e8843a4712febf8136a05d105f60 /src/asset/www | |
parent | 559f46102c656ace81a262f0edff28b617a7ec88 (diff) |
The map editor now displays it correctly.
Diffstat (limited to 'src/asset/www')
-rw-r--r-- | src/asset/www/data/tiles.json | 38 | ||||
-rw-r--r-- | src/asset/www/data/tiles.json.m4 | 8 |
2 files changed, 46 insertions, 0 deletions
diff --git a/src/asset/www/data/tiles.json b/src/asset/www/data/tiles.json new file mode 100644 index 0000000..0c8f9fc --- /dev/null +++ b/src/asset/www/data/tiles.json @@ -0,0 +1,38 @@ +[ + + { + "msg": "add_tile", + "id": 0, + "nam": "[Grassland] Grass", + "ct": 6, + "rmi": 0, + "rma": 0 + }, + { + "msg": "add_tile", + "id": 1, + "nam": "[Grassland] Mushroom Infestation", + "ct": 12, + "rmi": 1, + "rma": 1 + }, + { + "msg": "add_tile", + "id": 2, + "nam": "[Grassland] Tree Remains", + "ct": 24, + "rmi": 2, + "rma": 2 + }, + { + "msg": "add_tile", + "id": 3, + "nam": "[Grassland] Clear Water", + "ct": 201, + "rmi": 3, + "rma": 17 + }, + { + "msg": "okay" + } +] diff --git a/src/asset/www/data/tiles.json.m4 b/src/asset/www/data/tiles.json.m4 new file mode 100644 index 0000000..fcbbd39 --- /dev/null +++ b/src/asset/www/data/tiles.json.m4 @@ -0,0 +1,8 @@ +[ +m4_include(__MAKEFILE_DATA_DIR/tile/global.m4.conf)m4_dnl +__TILE_CLASS_USE_JSON_STYLE +m4_include(__MAKEFILE_DATA_DIR/tile/grassland.m4d)m4_dnl + { + "msg": "okay" + } +] |