mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-27 10:31:22 +03:00
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>
9 lines
217 B
C#
9 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;
|
|
}
|
|
}
|