Skip to content
Snippets Groups Projects
Commit a15fa336 authored by Fabian Heinrich's avatar Fabian Heinrich
Browse files

Added ([, ], {, }) and removed (_, +, $, €, /, (, )) characters from the counter fabric

parent e7888738
No related branches found
No related tags found
1 merge request!34Resolve "Counter Factory"
Pipeline #44943 passed
......@@ -34,33 +34,28 @@ def convert_words_to_chars(layout_chars_config: dict[str, str]) -> dict[str, str
dict[str, str]: A dictionary where the keys are the layout characters and the values are their corresponding words.
"""
word_refs = {
"underscore": "_",
"hash": "#",
"space": " ",
"dot": ".",
"comma": ",",
"semicolon": ";",
"colon": ":",
"plus": "+",
"minus": "-",
"exclamation": "!",
"question": "?",
"dquote": '"',
"squote": "'",
"star": "*",
"dollar": "$",
"euro": "",
"ampersand": "&",
"slash": "/",
"oparentheses": "(",
"cparentheses": ")",
"equal": "=",
"right": ">",
"left": "<",
"pipe": "|",
"at": "@",
"top": "^",
"tilde": "~",
"ocurlybracket": "{",
"ccurlybracket": "}",
"osquarebracket": "[",
"csquarebracket": "]",
}
return {word_refs.get(c, c): name for c, name in layout_chars_config.items()}
......
......@@ -17,7 +17,7 @@ meals:
- Salad
layout_chars:
underscore: Free
_: Free
hash: Counter
A: Agent
P: PlateDispenser
......@@ -25,7 +25,7 @@ layout_chars:
X: Trashcan
W: ServingWindow
S: Sink
plus: SinkAddon
+: SinkAddon
U: Pot # with Stove
Q: Pan # with Stove
O: Peel # with Oven
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment