diff --git a/robowaiter/behavior_lib/act/DealChat.py b/robowaiter/behavior_lib/act/DealChat.py index 4e87a1f..0bdcf70 100644 --- a/robowaiter/behavior_lib/act/DealChat.py +++ b/robowaiter/behavior_lib/act/DealChat.py @@ -47,7 +47,7 @@ class DealChat(Act): if len(w)>1: for x in w[1:]: if x != "": - goal_set.add(x[0] + ")") + goal_set.add(x[1:] + ")") self.function_success = True except: print("参数解析错误") diff --git a/robowaiter/scene/scene.py b/robowaiter/scene/scene.py index 6898cf0..a36ded3 100644 --- a/robowaiter/scene/scene.py +++ b/robowaiter/scene/scene.py @@ -458,6 +458,7 @@ class Scene: def customer_say(self,name,sentence,show_bubble=True): if isinstance(name,int): name = self.walker_index2mem(name) + print(f'{name} say: {sentence}') if show_bubble: self.walker_bubble(name,sentence)