From a15fa33620072428f532fefa79f37b37dce15fbd Mon Sep 17 00:00:00 2001 From: fheinrich <fheinrich@techfak.uni-bielefeld.de> Date: Mon, 29 Jan 2024 13:56:51 +0100 Subject: [PATCH] =?UTF-8?q?Added=20([,=20],=20{,=20})=20and=20removed=20(?= =?UTF-8?q?=5F,=20+,=20$,=20=E2=82=AC,=20/,=20(,=20))=20characters=20from?= =?UTF-8?q?=20the=20counter=20fabric?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- overcooked_simulator/counter_factory.py | 13 ++++--------- .../game_content/environment_config.yaml | 4 ++-- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/overcooked_simulator/counter_factory.py b/overcooked_simulator/counter_factory.py index 46a96a17..9802d579 100644 --- a/overcooked_simulator/counter_factory.py +++ b/overcooked_simulator/counter_factory.py @@ -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()} diff --git a/overcooked_simulator/game_content/environment_config.yaml b/overcooked_simulator/game_content/environment_config.yaml index d8d2d5f6..88c0ff81 100644 --- a/overcooked_simulator/game_content/environment_config.yaml +++ b/overcooked_simulator/game_content/environment_config.yaml @@ -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 -- GitLab