update action space

This commit is contained in:
bridge
2025-10-24 00:30:05 +08:00
parent 5e37b776c5
commit 9e0911dd6c
3 changed files with 10 additions and 13 deletions

View File

@@ -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),
}