Skip to content

Commit

Permalink
ConsumedCorpseGoal make sure !Pulled, !Danger, !inCombat
Browse files Browse the repository at this point in the history
  • Loading branch information
lionaneesh authored Dec 2, 2024
1 parent 3acdd7d commit 4e50e45
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Core/Goals/ConsumeCorpseGoal.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ public ConsumeCorpseGoal(ILogger<ConsumeCorpseGoal> logger,
{
AddPrecondition(GoapKey.consumablecorpsenearby, true);
}
AddPrecondition(GoapKey.damagedone, false);
AddPrecondition(GoapKey.damagetaken, false);
AddPrecondition(GoapKey.pulled, false);
AddPrecondition(GoapKey.dangercombat, false);
AddPrecondition(GoapKey.incombat, false);

AddPrecondition(GoapKey.producedcorpse, true);
AddPrecondition(GoapKey.consumecorpse, false);
Expand Down

0 comments on commit 4e50e45

Please sign in to comment.