Skip to content

Commit

Permalink
Mucin now only speeds up snails
Browse files Browse the repository at this point in the history
  • Loading branch information
TGRCdev committed Sep 9, 2024
1 parent e1061bc commit 98803e8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
8 changes: 2 additions & 6 deletions Content.Shared/Fluids/Components/PropulsedByComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@ namespace Content.Shared.Fluids.Components
[RegisterComponent, NetworkedComponent]
public sealed partial class PropulsedByComponent : Component
{
public HashSet<Entity<PropulsionComponent>> Sources;

public PropulsedByComponent()
{
Sources = new HashSet<Entity<PropulsionComponent>>();
}
[ViewVariables(VVAccess.ReadOnly)]
public HashSet<Entity<PropulsionComponent>> Sources = new();
}
}
2 changes: 0 additions & 2 deletions Content.Shared/Fluids/EntitySystems/PropulsionSystem.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System.Linq;
using Content.Shared.Chemistry.EntitySystems;
using Content.Shared.Clothing;
using Content.Shared.Fluids.Components;
using Content.Shared.Movement.Components;
using Content.Shared.Movement.Systems;
Expand Down
9 changes: 8 additions & 1 deletion Resources/Prototypes/Reagents/biological.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,14 @@
params:
volume: 6
tileReactions:
- !type:SpillTileReaction
- !type:EnsureTileReaction
components:
- type: Propulsion
walkSpeedModifier: 2.0
sprintSpeedModifier: 2.0
whitelist:
components:
- SnailSpeed

- type: reagent
id: Sap
Expand Down

0 comments on commit 98803e8

Please sign in to comment.