Files
ss14-wl/Content.Server/Objectives/Components/CounterConditionComponent.cs
c32d52502b Mail Fraud [Traitor Objective] (#43560)
* save

* cutting open your own letter check

* typo

* update and use API method

* tweak text

* generic counter system

* update requires

* review comments

* api method

* Update Content.Server/Objectives/Systems/ConditionCounterSystem.cs

Co-authored-by: Princess Cheeseballs <66055347+Princess-Cheeseballs@users.noreply.github.com>

* Update Content.Server/Objectives/Systems/ConditionCounterSystem.cs

Co-authored-by: Princess Cheeseballs <66055347+Princess-Cheeseballs@users.noreply.github.com>

* Update Content.Server/Objectives/Systems/ConditionCounterSystem.cs

Co-authored-by: Princess Cheeseballs <66055347+Princess-Cheeseballs@users.noreply.github.com>

* remove break

---------

Co-authored-by: Princess Cheeseballs <66055347+Princess-Cheeseballs@users.noreply.github.com>
2026-04-22 00:44:10 +00:00

13 lines
325 B
C#

namespace Content.Server.Objectives.Components;
/// <summary>
/// This is used as a generic counter for objectives.
/// Requires <see cref="NumberObjectiveComponent"/> to function.
/// </summary>
[RegisterComponent]
public sealed partial class CounterConditionComponent : Component
{
[DataField]
public int Count;
}