summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortroido <troido@protonmail.com>2019-01-18 18:18:25 +0100
committertroido <troido@protonmail.com>2019-01-18 18:18:25 +0100
commitec1836bb4725252298b589e885250934fa2f77f8 (patch)
tree20ee94e6864ea79cb9b306dadcab596cc4a75307
parentc9744caa15350f07626676d0dc48e38be317494a (diff)
simplified fullwidth and emoji charmaps now templates are available
-rw-r--r--asciifarm/charmaps/emoji.json47
-rw-r--r--asciifarm/charmaps/fullwidth.json7
2 files changed, 4 insertions, 50 deletions
diff --git a/asciifarm/charmaps/emoji.json b/asciifarm/charmaps/emoji.json
index 2c53494..3ab3828 100644
--- a/asciifarm/charmaps/emoji.json
+++ b/asciifarm/charmaps/emoji.json
@@ -1,47 +1,6 @@
{
+ "templates": ["fullwidth"],
"mapping":{
- "tree": ["🌳",0,2],
- "wall": ["#",7,8],
- "rock": ["X",7,8],
- "stone": ["o",7],
- "pebble": ["*",7],
- "player": ["@",15],
- "ground": [".",3],
- "grass1": [",",2],
- "grass2": ["'",2],
- "grass3": ["`",10],
- "rabbit": ["b",15],
- "water": ["~",4,4],
- "floor": [".",8],
- "portal": ["$", 5],
- "stairdown": [">",7],
- "stairup": ["<",7],
- "dummy": ["d",3],
- "spikes": ["^",7],
- "goblin": ["g",2],
- "seed": [":",10],
- "plant": ["Y",10],
- "youngplant": ["v",10],
- "food": ["8",13],
- "troll": ["T",1],
- "sword": ["/", 7],
- "club": ["!", 3],
- "house": ["^", 3, 1],
- "bridge": ["=", 9,3],
- "smallbridge": ["=", 3,4],
- "entry": ["%", 7],
- "fence": ["#", 3],
- "armour": ["[", 7],
- "wound": [" ", 7, 1],
- "rat": ["r",7],
- "closeddoor": ["+",1 ,3],
- "opendoor": [""",3],
- " ": [" ", 7]
- },
- "default": ["?", 7],
- "charwidth": 2,
- "healthfull": ["#", 7, 2],
- "healthemtpy": ["_", 7, 1],
- "alphabet":
- "!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~"
+ "tree": ["🌳",0,2]
+ }
}
diff --git a/asciifarm/charmaps/fullwidth.json b/asciifarm/charmaps/fullwidth.json
index cd9aca7..8a7b8e5 100644
--- a/asciifarm/charmaps/fullwidth.json
+++ b/asciifarm/charmaps/fullwidth.json
@@ -1,4 +1,5 @@
{
+ "templates": ["halfwidth"],
"mapping":{
"tree": ["T",0,2],
"wall": ["#",7,8],
@@ -41,14 +42,8 @@
"opendoor": [""",3],
" ": [" ", 7]
},
- "writable": {
- "engravedwall": [15, 8],
- "emptyletter": [7, 0]
- },
"default": ["?", 7],
"charwidth": 2,
- "healthfull": ["#", 7, 2],
- "healthemtpy": ["_", 7, 1],
"alphabet":
"!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~"
}