mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-30 08:07:28 +00:00
* FISHING REAL * Update fishingspots.yml * Delete fishingspots.yml * Create fishingspots.yml Removed the component that was causing errors * Update Content.Client/_Goobstation/Fishing/Overlays/FishingOverlay.cs Co-authored-by: Tobias Berger <toby@tobot.dev> Signed-off-by: Apachito <ivanlopezlegos2004@gmail.com> * Update Resources/Prototypes/Entities/Structures/Furniture/toilet.yml Co-authored-by: Tobias Berger <toby@tobot.dev> Signed-off-by: Apachito <ivanlopezlegos2004@gmail.com> * Update Resources/Prototypes/Entities/Tiles/lava.yml Co-authored-by: Tobias Berger <toby@tobot.dev> Signed-off-by: Apachito <ivanlopezlegos2004@gmail.com> * Update Resources/Prototypes/Entities/Tiles/liquid_plasma.yml Co-authored-by: Tobias Berger <toby@tobot.dev> Signed-off-by: Apachito <ivanlopezlegos2004@gmail.com> * Update Resources/Prototypes/Entities/Tiles/liquid_plasma.yml Co-authored-by: Tobias Berger <toby@tobot.dev> Signed-off-by: Apachito <ivanlopezlegos2004@gmail.com> * Update Resources/Prototypes/Entities/Tiles/water.yml Co-authored-by: Tobias Berger <toby@tobot.dev> Signed-off-by: Apachito <ivanlopezlegos2004@gmail.com> * Update Resources/Prototypes/_Goobstation/Recipes/Construction/Graphs/misc/makeshift_rod.yml Co-authored-by: Tobias Berger <toby@tobot.dev> Signed-off-by: Apachito <ivanlopezlegos2004@gmail.com> * Update Resources/Prototypes/Entities/Tiles/water.yml Co-authored-by: Tobias Berger <toby@tobot.dev> Signed-off-by: Apachito <ivanlopezlegos2004@gmail.com> * Update Resources/Prototypes/_Goobstation/Actions/fishing.yml Co-authored-by: Tobias Berger <toby@tobot.dev> Signed-off-by: Apachito <ivanlopezlegos2004@gmail.com> * Update Resources/Prototypes/_Goobstation/Catalog/Fills/Crates/service.yml Co-authored-by: Tobias Berger <toby@tobot.dev> Signed-off-by: Apachito <ivanlopezlegos2004@gmail.com> * Changed the name spaces * Update SharedFishingSystem.cs * Revert "Update SharedFishingSystem.cs" This reverts commit78451cd5c2. * Update FishingOverlay.cs * Update FishingOverlay.cs * Revert "Changed the name spaces" This reverts commit50bac6c4be. * Revert "Changed the name spaces" * Fixed name spaces and the sprite system * Update makeshift_rod.yml * Update makeshift_rod.yml * Update Content.Client/_Goobstation/Fishing/Overlays/FishingOverlay.cs Signed-off-by: Tobias Berger <toby@tobot.dev> * Update Content.Client/_Goobstation/Fishing/Overlays/FishingOverlay.cs Signed-off-by: Tobias Berger <toby@tobot.dev> * Fixed Name Spaced Changed the names spaces and did the ones I forgot to do initially. * Changed name spaces again * Fixed name spaces real * Update SharedFishingSystem.cs * Update SharedFishingSystem.cs * Update SharedFishingSystem.cs * Update FishingSystem.cs * Update FishingSystem.cs --------- Signed-off-by: Apachito <ivanlopezlegos2004@gmail.com> Signed-off-by: Tobias Berger <toby@tobot.dev> Co-authored-by: Tobias Berger <toby@tobot.dev>
43 lines
1.7 KiB
C#
43 lines
1.7 KiB
C#
// SPDX-FileCopyrightText: 2025 Aidenkrz <aiden@djkraz.com>
|
|
// SPDX-FileCopyrightText: 2025 GoobBot <uristmchands@proton.me>
|
|
// SPDX-FileCopyrightText: 2025 Roudenn <romabond091@gmail.com>
|
|
//
|
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
using Content.Client._Goobstation.Fishing.Overlays;
|
|
using Content.Shared._Goobstation.Fishing.Components;
|
|
using Content.Shared._Goobstation.Fishing.Systems;
|
|
using Robust.Client.Graphics;
|
|
using Robust.Client.Player;
|
|
using Robust.Shared.Map;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Client._Goobstation.Fishing;
|
|
|
|
public sealed class FishingSystem : SharedFishingSystem
|
|
{
|
|
[Dependency] private readonly IOverlayManager _overlay = default!;
|
|
[Dependency] private readonly IPlayerManager _player = default!;
|
|
|
|
public override void Initialize()
|
|
{
|
|
base.Initialize();
|
|
_overlay.AddOverlay(new FishingOverlay(EntityManager, _player));
|
|
}
|
|
|
|
public override void Shutdown()
|
|
{
|
|
base.Shutdown();
|
|
_overlay.RemoveOverlay<FishingOverlay>();
|
|
}
|
|
|
|
// Does nothing on client, because can't spawn entities in prediction
|
|
protected override void SetupFishingFloat(Entity<FishingRodComponent> fishingRod, EntityUid player, EntityCoordinates target) {}
|
|
|
|
// Does nothing on client, because can't delete entities in prediction
|
|
protected override void ThrowFishReward(EntProtoId fishId, EntityUid fishSpot, EntityUid target) {}
|
|
|
|
// Does nothing on client, because NUKE ALL PREDICTION!!!! (UseInHands event sometimes gets declined on Server side, and it desyncs, so we can't predict that sadly.
|
|
protected override void CalculateFightingTimings(Entity<ActiveFisherComponent> fisher, ActiveFishingSpotComponent activeSpotComp) {}
|
|
}
|