Considerations are now instantiated under a manager and re-used between entities where they pass in their blackboard to get a score back. Also makes the API a bit nicer to use. Also some random cleanup. Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
10 lines
217 B
C#
10 lines
217 B
C#
using Content.Server.AI.WorldState;
|
|
|
|
namespace Content.Server.AI.Utility.Considerations
|
|
{
|
|
public class DummyCon : Consideration
|
|
{
|
|
protected override float GetScore(Blackboard context) => 1.0f;
|
|
}
|
|
}
|