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>
13 lines
403 B
C#
13 lines
403 B
C#
using Content.Shared.GameObjects.Components.Inventory;
|
|
|
|
namespace Content.Server.AI.WorldState.States.Clothing
|
|
{
|
|
public sealed class ClothingSlotFlagConState : PlanningStateData<EquipmentSlotDefines.SlotFlags>
|
|
{
|
|
public override string Name => "ClothingSlotFlagCon";
|
|
public override void Reset()
|
|
{
|
|
Value = EquipmentSlotDefines.SlotFlags.NONE;
|
|
}
|
|
}
|
|
} |