update action space
This commit is contained in:
@@ -16,7 +16,7 @@ ALL_ACTUAL_ACTION_NAMES = [cls.__name__ for cls in ALL_ACTUAL_ACTION_CLASSES]
|
||||
ACTION_INFOS = {
|
||||
action.__name__: {
|
||||
"comment": getattr(action, "COMMENT", ""),
|
||||
"doable_requirements": getattr(action, "DOABLES_REQUIREMENTS", ""),
|
||||
"requirements": getattr(action, "DOABLES_REQUIREMENTS", ""),
|
||||
"params": getattr(action, "PARAMS", {}),
|
||||
"cd_months": int(getattr(action, "ACTION_CD_MONTHS", 0) or 0),
|
||||
}
|
||||
|
||||
@@ -495,9 +495,6 @@ class Avatar:
|
||||
else:
|
||||
history_list = []
|
||||
|
||||
action_space = self.get_action_space()
|
||||
|
||||
info["动作空间"] = action_space
|
||||
info["观察到的角色"] = observed
|
||||
info["历史事件"] = history_list
|
||||
return info
|
||||
|
||||
Reference in New Issue
Block a user