mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-25 17:46:41 +03:00
# Description Continuation of this [PR](https://github.com/Simple-Station/Einstein-Engines/pull/2398) Port fishing from [Goob-Station](https://github.com/Goob-Station/Goob-Station). Some PRs from [Wizards](https://github.com/space-wizards/space-station-14) and sprites from [TG](https://github.com/tgstation/tgstation). Prs: https://github.com/space-wizards/space-station-14/pull/30921 https://github.com/Goob-Station/Goob-Station/pull/1970 https://github.com/Goob-Station/Goob-Station/pull/2416 --- # TODO - [x] Port fishing - [x] Add more fish --- <details><summary><h1>Media</h1></summary> <p>   </p> </details> --- # Changelog 🆑 Rouden, Aidenkrz, Aviu, Will-Oliver-Br - add: Added fishing. --------- Co-authored-by: Rouden <149893554+Roudenn@users.noreply.github.com> Co-authored-by: Aidenkrz <aiden@djkraz.com> Co-authored-by: GoobBot <uristmchands@proton.me> Co-authored-by: Aiden <28298836+Aidenkrz@users.noreply.github.com> Co-authored-by: Aviu00 <93730715+Aviu00@users.noreply.github.com> Co-authored-by: Nemanja <98561806+EmoGarbage404@users.noreply.github.com> (cherry picked from commit e61def844e5d116d28c4a5ee4e88b1c5a2186937)
23 lines
604 B
C#
23 lines
604 B
C#
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared._Goobstation.Fishing.Components;
|
|
|
|
/// <summary>
|
|
/// Applied to players that are pulling fish out from water
|
|
/// </summary>
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
|
public sealed partial class ActiveFisherComponent : Component
|
|
{
|
|
[DataField, AutoNetworkedField]
|
|
public TimeSpan? NextStruggle;
|
|
|
|
[DataField, AutoNetworkedField]
|
|
public float? TotalProgress;
|
|
|
|
[DataField, AutoNetworkedField]
|
|
public float ProgressPerUse = 0.05f;
|
|
|
|
[DataField, AutoNetworkedField]
|
|
public EntityUid FishingRod;
|
|
}
|