Skip to content

Commit

Permalink
Merge pull request #49 from Fansana/Suacy_Sauces
Browse files Browse the repository at this point in the history
The CUM Update - First Iteration.
  • Loading branch information
FoxxoTrystan authored Aug 5, 2024
2 parents 1671ab7 + a9733ef commit a9cb0ad
Show file tree
Hide file tree
Showing 10 changed files with 504 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
using Content.Shared.FixedPoint;
using Content.Shared.Chemistry.Components;
using Content.Shared.Chemistry.Reagent;
using Content.Shared.FloofStation.Traits;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.List;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
using Robust.Shared.GameStates;

namespace Content.Server.FloofStation.Traits;

[RegisterComponent, Access(typeof(LewdTraitSystem))]
public sealed partial class CumProducerComponent : Component
{
[DataField("solutionname"), ViewVariables(VVAccess.ReadWrite)]
public string SolutionName;

[DataField, ViewVariables(VVAccess.ReadWrite)]
public ProtoId<ReagentPrototype> ReagentId = "Cum";

[DataField]
public FixedPoint2 MaxVolume = FixedPoint2.New(25);

[DataField]
public Entity<SolutionComponent>? Solution = null;

[DataField, ViewVariables(VVAccess.ReadOnly)]
public FixedPoint2 QuantityPerUpdate = 25;

[DataField]
public float HungerUsage = 10f;

[DataField]
public TimeSpan GrowthDelay = TimeSpan.FromMinutes(1);

[DataField(customTypeSerializer: typeof(TimeOffsetSerializer))]
public TimeSpan NextGrowth = TimeSpan.FromSeconds(0);
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
using Content.Shared.FixedPoint;
using Content.Shared.Chemistry.Components;
using Content.Shared.Chemistry.Reagent;
using Content.Shared.FloofStation.Traits;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.List;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
using Robust.Shared.GameStates;

namespace Content.Server.FloofStation.Traits;

[RegisterComponent, Access(typeof(LewdTraitSystem))]
public sealed partial class MilkProducerComponent : Component
{
[DataField("solutionname"), ViewVariables(VVAccess.ReadWrite)]
public string SolutionName;

[DataField, ViewVariables(VVAccess.ReadWrite)]
public ProtoId<ReagentPrototype> ReagentId = "Milk";

[DataField]
public FixedPoint2 MaxVolume = FixedPoint2.New(25);

[DataField]
public Entity<SolutionComponent>? Solution = null;

[DataField, ViewVariables(VVAccess.ReadOnly)]
public FixedPoint2 QuantityPerUpdate = 25;

[DataField]
public float HungerUsage = 10f;

[DataField]
public TimeSpan GrowthDelay = TimeSpan.FromMinutes(1);

[DataField(customTypeSerializer: typeof(TimeOffsetSerializer))]
public TimeSpan NextGrowth = TimeSpan.FromSeconds(0);
}
Loading

0 comments on commit a9cb0ad

Please sign in to comment.