# 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

- type: entity
  parent: BaseAction
  id: ActionStartFishing
  name: Throw fishing lure
  description: Throw lure from the fishing rod to catch something!
  components:
  - type: Action
    icon:
      sprite: _Goobstation/Objects/Specific/Fishing/fishing_lure.rsi
      state: icon
    sound:
      path: /Audio/_Goobstation/Items/Fishing/fishing_rod_cast.ogg
    itemIconStyle: BigAction
    useDelay: 2.5
  - type: TargetAction
    range: 15
    checkCanAccess: false
  - type: WorldTargetAction
    event: !type:ThrowFishingLureActionEvent  

- type: entity
  parent: BaseAction
  id: ActionStopFishing
  name: Reel fishing rod
  description: Reel your fishing rod to pull an object that it attached to, or stop fishing.
  components:
  - type: Action
    icon:
      sprite: _Goobstation/Objects/Specific/Fishing/goon_rod.rsi
      state: icon
    sound:
      path: /Audio/_Goobstation/Items/Fishing/fishing_rod_reel.ogg
    itemIconStyle: NoItem
  - type: InstantAction
    event: !type:PullFishingLureActionEvent
