namespace Content.Server.NPC.HTN.Preconditions; /// /// Checks if there is no value at the specified in the . /// Returns true if there is no value. /// public sealed partial class KeyNotExistsPrecondition : HTNPrecondition { [DataField(required: true), ViewVariables] public string Key = string.Empty; public override bool IsMet(NPCBlackboard blackboard) { return !blackboard.ContainsKey(Key); } }