Skip to content

Releases: crashkonijn/GOAP

Version 3.1.2

06 Mar 07:52
b9409d7

Choose a tag to compare

Changes

🐛 Bug Fixes

Version 3.1.1

11 Dec 14:15
af19172

Choose a tag to compare

Changes

🐛 Bug Fixes

Version 3.1.0

11 Dec 13:46
85bcf71

Choose a tag to compare

Changes

❗Breaking

  • Two new methods are added to IGoapInjector

🚀 Features

builder.AddAction<EatAction>()
    .AddCondition<Hunger, LowHunger>(Comparison.GreaterThanOrEqual);
// Disable automatic updates
agentBehaviour.RunInUnityUpdate = false;

// Call Run with a custom deltatime
agentBehaviour.Run(1f);

// In actions
public override IActionRunState Perform(IMonoAgent agent, Data data, IActionContext context)
{
    // Make sure to use the deltaTime provided in the context!
    var deltaTime = context.DeltaTime;
}
  • Feature: Made AgentTypeFactory and CapabilityFactory injectable @crashkonijn (#373)
public interface IGoapInjector
{
    void Inject(IAction action);
    void Inject(IGoal goal);
    void Inject(ISensor sensor);
    // New methods
    void Inject(IAgentTypeFactory factory);
    void Inject(ICapabilityFactory factory);
}

🐛 Bug Fixes

🧰 Maintenance

Version 3.0.34

04 Jun 18:47
601802d

Choose a tag to compare

Changes

🚀 Features

🐛 Bug Fixes

Version 3.0.33

27 May 16:40
7db1191

Choose a tag to compare

Changes

🐛 Bug Fixes

Version 3.0.32

13 May 19:15
45b88ba

Choose a tag to compare

Changes

🐛 Bug Fixes

  • Fixed GoapActionBase subclasses not rendering ActionProperties in Capabilities @Wully616 (#352)
  • Fixed missing distance multiplier field in GoapActionProviderEditor @Wully616 (#351)

Version 3.0.31

19 Mar 10:40
130a00f

Choose a tag to compare

🚀 Features

📖 Docs

Version 3.0.30

12 Mar 16:47
adc6c24

Choose a tag to compare

Changes

🚀 Features

  • Enhancement: GoapActionBehaviour IsInRange overriding @Wully616 (#343)
  • Enhancement: Allow AgentTypeBehaviour to be more easily subclassed @Wully616 (#342)

🐛 Bug Fixes

  • Fix: Creating an agent outside of IdleTargetSensor bounds would result in an endless loop @crashkonijn (#341)

Version 3.0.29

07 Mar 13:50
5b40b90

Choose a tag to compare

Changes

🚀 Features

🐛 Bug Fixes

Version 3.0.28

20 Feb 10:53
39c1a20

Choose a tag to compare

Changes

🐛 Bug Fixes

📖 Docs

🧰 Maintenance