mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-10 02:41:18 +03:00
* 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>
12 lines
325 B
C#
12 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;
|
|
}
|