using Robust.Shared.Prototypes; using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype; namespace Content.Server.RatKing { [RegisterComponent] public sealed partial class RatKingComponent : Component { [DataField("actionRaiseArmy", customTypeSerializer: typeof(PrototypeIdSerializer))] public string ActionRaiseArmy = "ActionRatKingRaiseArmy"; /// /// The action for the Raise Army ability /// [DataField("actionRaiseArmyEntity")] public EntityUid? ActionRaiseArmyEntity; /// /// The amount of hunger one use of Raise Army consumes /// [ViewVariables(VVAccess.ReadWrite), DataField("hungerPerArmyUse", required: true)] public float HungerPerArmyUse = 25f; /// /// The entity prototype of the mob that Raise Army summons /// [ViewVariables(VVAccess.ReadWrite), DataField("armyMobSpawnId", customTypeSerializer: typeof(PrototypeIdSerializer))] public string ArmyMobSpawnId = "MobRatServant"; [DataField("actionDomain", customTypeSerializer: typeof(PrototypeIdSerializer))] public string ActionDomain = "ActionRatKingDomain"; /// /// The action for the Domain ability /// [DataField("actionDomainEntity")] public EntityUid? ActionDomainEntity; /// /// The amount of hunger one use of Domain consumes /// [ViewVariables(VVAccess.ReadWrite), DataField("hungerPerDomainUse", required: true)] public float HungerPerDomainUse = 50f; /// /// How many moles of Miasma are released after one us of Domain /// [DataField("molesMiasmaPerDomain")] public float MolesMiasmaPerDomain = 100f; } }