# SPDX-FileCopyrightText: 2024 Plykiya <58439124+Plykiya@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 chromiumboy <50505512+chromiumboy@users.noreply.github.com>
# SPDX-FileCopyrightText: 2024 plykiya <plykiya@protonmail.com>
# SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
#
# SPDX-License-Identifier: AGPL-3.0-or-later

- type: entity
  id: EffectRCDBase
  abstract: true
  categories: [ HideSpawnMenu ]
  components:
  - type: Transform
    anchored: True
  - type: Sprite
    snapCardinals: true
    noRot: true
    drawdepth: Effects
    sprite: /Textures/Effects/rcd.rsi
    state: construct0
  - type: Tag
    tags:
    - HideContextMenu
  - type: AnimationPlayer
  
- type: entity
  parent: EffectRCDBase
  id: EffectRCDDeconstructPreview
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    state: deconstructPreview
  
- type: entity
  parent: EffectRCDBase
  id: EffectRCDConstruct0
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    state: construct0
  - type: TimedDespawn
    lifetime: 1.2
    
- type: entity
  parent: EffectRCDBase
  id: EffectRCDConstruct1
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    state: construct1
  - type: TimedDespawn
    lifetime: 2.2
    
- type: entity
  parent: EffectRCDBase
  id: EffectRCDConstruct2
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    state: construct2
  - type: TimedDespawn
    lifetime: 3.2
    
- type: entity
  parent: EffectRCDBase
  id: EffectRCDConstruct3
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    state: construct3
  - type: TimedDespawn
    lifetime: 4.2
    
- type: entity
  parent: EffectRCDBase
  id: EffectRCDConstruct4
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    state: construct4
  - type: TimedDespawn
    lifetime: 5.2

- type: entity
  parent: EffectRCDBase
  id: EffectRCDDeconstruct2
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    state: deconstruct2
  - type: TimedDespawn
    lifetime: 3.2
    
- type: entity
  parent: EffectRCDBase
  id: EffectRCDDeconstruct4
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    state: deconstruct4
  - type: TimedDespawn
    lifetime: 5.2

- type: entity
  parent: EffectRCDBase
  id: EffectRCDDeconstruct6
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    state: deconstruct6
  - type: TimedDespawn
    lifetime: 7.2

- type: entity
  parent: EffectRCDBase
  id: EffectRCDDeconstruct8
  categories: [ HideSpawnMenu ]
  components:
  - type: Sprite
    state: deconstruct8
  - type: TimedDespawn
    lifetime: 9.2