Files
crystall-punk-14/Content.Server/_CP14/Objectives/Components/CP14TownSendConditionComponent.cs
Ed 8e1d310a8e Guildmaster YML implementation + Clothing pack (#832)
* banker clothing resprite

* dinazewwr

* commandant cape resprite

* guildmaster cloak

* Guildmaster loadout

* guildmaster job icon

* key locks work

* map update

* guildmaster keys

* guildmaster stamp

* update guildmaster house

* track demiplanes

* player death track

* localization

* guildmaster objective

* Update empire_orders.yml

* fix

* fix map
2025-02-01 17:52:01 +03:00

43 lines
1.1 KiB
C#

using Content.Server._CP14.Objectives.Systems;
using Content.Shared.Objectives;
using Robust.Shared.Prototypes;
namespace Content.Server._CP14.Objectives.Components;
[RegisterComponent, Access(typeof(CP14TownSendConditionSystem))]
public sealed partial class CP14TownSendConditionComponent : Component
{
[DataField]
public ProtoId<StealTargetGroupPrototype> CollectGroup;
/// <summary>
/// The minimum number of items you need to steal to fulfill a objective
/// </summary>
[DataField]
public int MinCollectionSize = 1;
/// <summary>
/// The maximum number of items you need to steal to fulfill a objective
/// </summary>
[DataField]
public int MaxCollectionSize = 1;
/// <summary>
/// Target collection size after calculation
/// </summary>
[DataField]
public int CollectionSize;
/// <summary>
/// how many items have already been sent to the city
/// </summary>
[DataField]
public int CollectionSent = 0;
[DataField(required: true)]
public LocId ObjectiveText;
[DataField(required: true)]
public LocId ObjectiveDescription;
}