Skip to content

Commit

Permalink
раскидываем мимикрию по папкам
Browse files Browse the repository at this point in the history
  • Loading branch information
Ratyyy committed Nov 1, 2024
1 parent a768645 commit a75a8d1
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 37 deletions.
14 changes: 14 additions & 0 deletions Resources/Prototypes/ADT/Actions/mimicry.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
- type: entity
id: ADTActionTeatacles
name: tentacles
categories: [ HideSpawnMenu ]
components:
- type: InstantAction
useDelay: 10
itemIconStyle: BigAction
icon:
sprite: ADT/Objects/Weapons/Melee/mimicria_sword.rsi
state: icon
event: !type:InstantSpawnSpellEvent
prototype: ADTEffectiMicriaTentacleSpawn
posData: !type:TargetInFront
22 changes: 22 additions & 0 deletions Resources/Prototypes/ADT/Entities/Effects/mimicry.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
- type: entity
id: ADTEffectiMicriaTentacleRetract
parent: BaseEffectGoliathTentacleSpawn
categories: [ HideSpawnMenu ]
components:
- type: Sprite
sprite: ADT/Objects/Weapons/Melee/mimicria_sword.rsi
state: mimicria_tentacle_retract
- type: EffectVisuals
- type: AnimationPlayer

- type: entity
id: ADTEffectiMicriaTentacleSpawn
parent: BaseEffectGoliathTentacleSpawn
categories: [ HideSpawnMenu ]
name: tentacle
components:
- type: Sprite
sprite: ADT/Objects/Weapons/Melee/mimicria_sword.rsi
state: mimicria_tentacle_spawn
- type: SpawnOnDespawn
prototype: ADTMimicriaTentacle
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,6 @@
- type: Item
sprite: ADT/Objects/Weapons/Melee/mimicria_sword.rsi
size: Huge

- type: entity
id: ADTActionTeatacles
name: tentacles
categories: [ HideSpawnMenu ]
components:
- type: InstantAction
useDelay: 10
itemIconStyle: BigAction
icon:
sprite: ADT/Objects/Weapons/Melee/mimicria_sword.rsi
state: icon
event: !type:InstantSpawnSpellEvent
prototype: ADTEffectiMicriaTentacleSpawn
posData: !type:TargetInFront

- type: entity
id: ADTMimicriaTentacle
Expand Down Expand Up @@ -71,25 +56,3 @@
- type: SpawnOnDespawn
prototype: ADTEffectiMicriaTentacleRetract

- type: entity
id: ADTEffectiMicriaTentacleRetract
parent: BaseEffectGoliathTentacleSpawn
categories: [ HideSpawnMenu ]
components:
- type: Sprite
sprite: ADT/Objects/Weapons/Melee/mimicria_sword.rsi
state: mimicria_tentacle_retract
- type: EffectVisuals
- type: AnimationPlayer

- type: entity
id: ADTEffectiMicriaTentacleSpawn
parent: BaseEffectGoliathTentacleSpawn
categories: [ HideSpawnMenu ]
name: tentacle
components:
- type: Sprite
sprite: ADT/Objects/Weapons/Melee/mimicria_sword.rsi
state: mimicria_tentacle_spawn
- type: SpawnOnDespawn
prototype: ADTMimicriaTentacle

0 comments on commit a75a8d1

Please sign in to comment.