# SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Aidenkrz <aiden@djkraz.com>
# SPDX-FileCopyrightText: 2025 Aineias1 <dmitri.s.kiselev@gmail.com>
# SPDX-FileCopyrightText: 2025 FaDeOkno <143940725+FaDeOkno@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 GoobBot <uristmchands@proton.me>
# SPDX-FileCopyrightText: 2025 McBosserson <148172569+McBosserson@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Milon <plmilonpl@gmail.com>
# SPDX-FileCopyrightText: 2025 Piras314 <p1r4s@proton.me>
# SPDX-FileCopyrightText: 2025 Rouden <149893554+Roudenn@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 TheBorzoiMustConsume <197824988+TheBorzoiMustConsume@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 Unlumination <144041835+Unlumy@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 deltanedas <39013340+deltanedas@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 deltanedas <@deltanedas:kde.org>
# SPDX-FileCopyrightText: 2025 gluesniffler <159397573+gluesniffler@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 gluesniffler <linebarrelerenthusiast@gmail.com>
# SPDX-FileCopyrightText: 2025 username <113782077+whateverusername0@users.noreply.github.com>
# SPDX-FileCopyrightText: 2025 whateverusername0 <whateveremail>
#
# SPDX-License-Identifier: AGPL-3.0-or-later

- type: entity
  id: LavalandHierophantClub
  parent: BaseItem
  name: hierophant club
  description: Get item'ed lol
  components:
  - type: Sprite
    sprite: _Lavaland/Objects/Weapons/hierophant_club.rsi
    state: icon
  - type: Clothing
    sprite: _Lavaland/Objects/Weapons/hierophant_club.rsi
    slots:
    - back
    - suitStorage
  - type: Item
    size: Normal
    sprite: _Lavaland/Objects/Weapons/hierophant_club-inhands.rsi
  - type: StaticPrice
    price: 5000
  - type: MeleeWeapon
    wideAnimationRotation: 90
    attackRate: 0.75
    damage:
      types:
        Blunt: 15
        Heat: 5
  - type: ActionGrant
    actions:
    - ActionHierophantClubTileMovement
    - ActionHierophantClubBlink
  - type: ItemActionGrant
    actions:
    - ActionHierophantClubTileMovement
    - ActionHierophantClubBlink
  - type: HeldGrantComponent
    components:
    - type: MegafaunaBlink
      spawnOnTarget: HierophantShapeBlinkSafe
      spawnOnUsed: HierophantShapeBlinkSafe

- type: entity
  id: LavalandHierophantMarker
  name: mysterious marker
  description: What even is this?
  placement:
    mode: AlignTileAny
  components:
  - type: Transform
    anchored: true
  - type: Physics
    bodyType: Static
  - type: Fixtures
    fixtures:
      fix1:
        hard: false
        shape:
          !type:PhysShapeCircle
          radius: 0.35
  - type: Clickable
  - type: InteractionOutline
  - type: Sprite
    sprite: _Lavaland/Structures/Specific/hierophant_telepad.rsi
    state: hierophant_tele_on # TODO hierophant visuals
  - type: SyncSprite
  - type: PointLight
    radius: 5.0
    energy: 1.5
    softness: 1
    castShadows: false
