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