luxkun / ReGoap

Generic C# GOAP (Goal Oriented Action Planning) library with Unity3d examples
Apache License 2.0
1.02k stars 149 forks source link

Can only carry out a goal if it's goal isn't in the world state #43

Open TimCoraxAudio opened 2 years ago

TimCoraxAudio commented 2 years ago

I'm creating a colony sim where agents should be able to repeatedly do a certain goal if it's possible regardless of whether it has been done before. I'm not using Unity but I'm using modified versions of the unity example scripts. Is there any way to make this work? The library is pretty complicated with a lot of moving parts and took me a few hours to figure out what was going on here. Is there a planner setting somewhere to allow an action to take place where its effects are already in the world state?