From dd07ff4d686f07cdc9736627dd0ef099ef5e4e4f Mon Sep 17 00:00:00 2001 From: troido Date: Fri, 6 Mar 2020 11:26:59 +0100 Subject: new directory structure for the separate client repo --- charmaps/__init__.py | 0 charmaps/emoji.json | 10 ++++++++ charmaps/fullwidth.json | 52 ++++++++++++++++++++++++++++++++++++++++ charmaps/halfwidth.json | 64 +++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 126 insertions(+) create mode 100644 charmaps/__init__.py create mode 100644 charmaps/emoji.json create mode 100644 charmaps/fullwidth.json create mode 100644 charmaps/halfwidth.json (limited to 'charmaps') diff --git a/charmaps/__init__.py b/charmaps/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/charmaps/emoji.json b/charmaps/emoji.json new file mode 100644 index 0000000..3049816 --- /dev/null +++ b/charmaps/emoji.json @@ -0,0 +1,10 @@ +{ + "templates": ["fullwidth"], + "mapping":{ + "tree": ["🌳",0,2], + "stairdown": ["↘",7], + "stairup": ["↖",7], + "player": ["🙂",15], + "sword": ["🗡️", 7] + } +} diff --git a/charmaps/fullwidth.json b/charmaps/fullwidth.json new file mode 100644 index 0000000..6d912fe --- /dev/null +++ b/charmaps/fullwidth.json @@ -0,0 +1,52 @@ +{ + "templates": ["halfwidth"], + "mapping":{ + "tree": ["T",0,2], + "wall": ["#",7,8], + "builtwall": ["+",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], + " ": [" ", 7] + }, + "default": ["?", 7], + "charwidth": 2, + "alphabet": + "!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~" +} diff --git a/charmaps/halfwidth.json b/charmaps/halfwidth.json new file mode 100644 index 0000000..d3e16f8 --- /dev/null +++ b/charmaps/halfwidth.json @@ -0,0 +1,64 @@ +{ + "mapping":{ + "tree": ["T", 0, 2], + "wall": ["#", 7, 8], + "builtwall": ["+", 7, 8], + "rock": ["#", 8, 8], + "stone": ["o", 7], + "pebble": ["*", 7], + "player": ["@", 15], + "ground": [".", 3], + "grass1": [",", 2], + "grass2": ["'", 2], + "grass3": ["`", 10], + "water": ["~", 4, 4], + "rabbit": ["b", 15], + "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], + " ": [" ", 7] + }, + "writable": { + "engravedwall": [15, 8], + "emptyletter": [7, 0] + }, + "default": ["?", 7], + "charwidth": 1, + "healthfull": ["#", 7, 2], + "healthempty": ["_", 7, 1], + "msgcolours": { + "chat": [15,0], + "attack": [12,0], + "damage": [9,0], + "heal": [10,0], + "connect": [3,0], + "server": [11,0] + }, + "alphabet": "!\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~" +} -- cgit