diff options
| author | troido <troido@protonmail.com> | 2020-02-20 23:18:44 +0100 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2020-02-20 23:18:44 +0100 |
| commit | d225dc6349670926a4adea932f0ea77b7af5acbc (patch) | |
| tree | c70d5c5b2f9d791cf3b9855733e171092497a2e0 /content | |
| parent | 933e831a82725e8bf22788d6a9f1fba2c596a975 (diff) | |
load room template from file
Diffstat (limited to 'content')
| -rw-r--r-- | content/maps/room.json | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/content/maps/room.json b/content/maps/room.json new file mode 100644 index 0000000..4025639 --- /dev/null +++ b/content/maps/room.json @@ -0,0 +1,43 @@ +{ + "width": 42, + "height": 22, + "spawn": [5, 15], + "field": [ + " XXXXXXXXXXXX~~~XXXXXXXXXXXXXXXXXXXXXX", + " ,,,,,,,,,,,,~~~,,,,,,,,,,,,,,,,,,,,,X", + " ,,,,,,,,,,,,,~~~,,,,,,,,,,,,,,,,,,,,,X", + " ,,,,,,,,,,,,,~~~~,,,,,,,,,,,,,,,,,,,,X", + " bbbb..,,,,,,,,,,,~~~,,,,,,,,,,,,,,,,,,,,X", + " ,,.,,,,,,,,,,,~~~,,,,,,,,,,,,,,,,,,,,X", + " ,,,.,,,,,,,,,,,~~~,,,,,,,,,,,,,,,,,,,,X", + " ,,,,.,,,,,,,,,,,~~~,,,,,,,,,,,,,,,,,,,,X", + "X,,,,,.,,,,,,,,,,,~~~~,,,,,,T,,,,,,,,,,,,X", + "X,,,,,.,,,,,,,,,,,,~~~,,,,,,,,,,,,,,,,,,,X", + "X,,,,,.,,,,,,,,,,,,~~~,,,,,T,,,,######,,,X", + "X,,,,,.,,,,,,,,,,,,bbb,,,,,,,,,,#++++#,,,X", + "X,,,,,.............bbb...........++++#,,,X", + "X,**,,.,,,,,,,,,,,,bbb,,,,,,,,,,#++++#,,,X", + "X,*,*,.,,,,,,,,,,,,~~~,,,T,,,T,,#++++#,,,X", + "X,,*,,.,,,,,,,,,,,,~~~,,,,,,,,,,######,,,X", + "X,**,,.,,,,,,,,,,,~~~~,,,,,,,,,,f,,,,f,,,X", + "X,,*,,.,,,,,,,,,,,~~~''''''''''''''''f'''X", + "X*,,,,.,,,,,,,,,,,~~~'''''''''''f''''f'''X", + "X,,,,,.,,,,,,,,,,,~~~'''''''''''ffffff'''X", + "X,,,,,.,,,,,,,,,,,~~~''''''''''''''''''''X", + "XXXXX,.,XXXXXXXXXX~~~XXXXXXXXXXXXXXXXXXXXX" + ], + "mapping": { + "#": "wall", + ",": "grass", + ".": "ground", + "~": "water", + "b": "bridge", + "+": "floor", + "'": "greengrass", + "T": ["grass", "tree"], + "f": ["grass", "fence"], + "X": "rock", + "*": ["grass", "pebble"], + " ": [] + } +} |
