Retractable items system + Arm Blade action (#38150)
This commit is contained in:
22
Resources/Prototypes/Actions/changeling.yml
Normal file
22
Resources/Prototypes/Actions/changeling.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
- type: entity
|
||||
parent: BaseAction
|
||||
id: ActionRetractableItemArmBlade
|
||||
name: Arm Blade
|
||||
description: Shed your flesh and reform it into a fleshy blade.
|
||||
components:
|
||||
- type: Action
|
||||
useDelay: 2
|
||||
raiseOnAction: true
|
||||
itemIconStyle: BigAction
|
||||
icon:
|
||||
sprite: Interface/Actions/changeling.rsi
|
||||
state: armblade
|
||||
- type: InstantAction
|
||||
event: !type:OnRetractableItemActionEvent
|
||||
- type: RetractableItemAction
|
||||
spawnedPrototype: ArmBlade
|
||||
summonSounds:
|
||||
collection: gib # Placeholder
|
||||
retractSounds:
|
||||
collection: gib # Placeholder
|
||||
|
||||
@@ -12,12 +12,13 @@
|
||||
state: icon
|
||||
- type: MeleeWeapon
|
||||
wideAnimationRotation: 90
|
||||
attackRate: 0.75
|
||||
attackRate: 1
|
||||
damage:
|
||||
types:
|
||||
Slash: 25
|
||||
Piercing: 15
|
||||
Slash: 10
|
||||
Piercing: 10
|
||||
- type: Item
|
||||
size: Normal
|
||||
sprite: Objects/Weapons/Melee/armblade.rsi
|
||||
- type: Prying
|
||||
pryPowered: true
|
||||
|
||||
Reference in New Issue
Block a user