The Big One #43
@@ -214,6 +214,9 @@ class AgentSpeakGenerator:
|
|||||||
body_actions.append(ActionLiteral(f"+achieved_{goal_slug}"))
|
body_actions.append(ActionLiteral(f"+achieved_{goal_slug}"))
|
||||||
|
|
||||||
asl.plans.append(Plan(trigger=GoalLiteral(goal_slug), context=context, body=body_actions))
|
asl.plans.append(Plan(trigger=GoalLiteral(goal_slug), context=context, body=body_actions))
|
||||||
|
asl.plans.append(
|
||||||
|
Plan(trigger=GoalLiteral(goal_slug), context=[], body=[ActionLiteral("true")])
|
||||||
|
)
|
||||||
|
|
||||||
prev_sub = None
|
prev_sub = None
|
||||||
for sub_goal in sub_goals_to_process:
|
for sub_goal in sub_goals_to_process:
|
||||||
|
|||||||
Reference in New Issue
Block a user