The Big One #43
@@ -172,8 +172,9 @@ class AgentSpeakGenerator:
|
|||||||
)
|
)
|
||||||
|
|
||||||
context = [from_phase_ast]
|
context = [from_phase_ast]
|
||||||
if from_phase and from_phase.goals:
|
if from_phase:
|
||||||
context.append(self._astify(from_phase.goals[-1], achieved=True))
|
for goal in from_phase.goals:
|
||||||
|
context.append(self._astify(goal, achieved=True))
|
||||||
|
|
||||||
body = [
|
body = [
|
||||||
AstStatement(StatementType.REMOVE_BELIEF, from_phase_ast),
|
AstStatement(StatementType.REMOVE_BELIEF, from_phase_ast),
|
||||||
|
|||||||
Reference in New Issue
Block a user