From 5baa21f79f3a2fbee8470a54e81ab2aa99770936 Mon Sep 17 00:00:00 2001 From: troido Date: Tue, 22 Sep 2020 14:07:43 +0200 Subject: charmap with character_width 2 will automatically convert halfwidth to fullwidth --- charmaps/fullwidth.json | 60 ++++--------------------------------------------- charmaps/halfwidth.json | 2 +- 2 files changed, 5 insertions(+), 57 deletions(-) (limited to 'charmaps') diff --git a/charmaps/fullwidth.json b/charmaps/fullwidth.json index 37ad20e..191b1bb 100644 --- a/charmaps/fullwidth.json +++ b/charmaps/fullwidth.json @@ -1,60 +1,8 @@ { "templates": ["halfwidth"], - "mapping":{ - "tree": ["T",0,2], - "wall": ["#",7,8], - "builtwall": ["+",7,8], - "quarry": ["Q",7,8], - "rock": ["#",8,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], - "plantedseed": [".",10], - "seedling": [",",10], - "youngplant": ["v",10], - "smallplant": ["v",2], - "plant": ["Y",2], - "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], - "raindrop": [":",12], - "snowflake": ["*",15], - "human": ["U", 7], - "sign": ["?", 3], - "spinningwheel": ["5", 3], - "loom": ["4", 3], - "cotton": ["8", 15], - "cottonyarn": ["0", 15], - "cottoncloth": ["H", 15], - " ": [" ", 7] - }, - "default": ["?", 7], "charwidth": 2, - "alphabet": - "!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~" + "mapping": { + "house": ["^^", 3, 1], + "spikes": ["^^",7] + } } diff --git a/charmaps/halfwidth.json b/charmaps/halfwidth.json index a17b925..74d067c 100644 --- a/charmaps/halfwidth.json +++ b/charmaps/halfwidth.json @@ -49,7 +49,7 @@ "loom": ["4", 3], "cotton": ["8", 15], "cottonyarn": ["0", 15], - "cottoncloth": ["H", 15], + "cottoncloth": ["H", 7], " ": [" ", 7] }, "writable": { -- cgit