Retractable items system + Arm Blade action (#38150)

This commit is contained in:
ScarKy0
2025-06-14 20:29:06 +02:00
committed by GitHub
parent 635ea4b2b4
commit 208b245dcb
13 changed files with 243 additions and 6 deletions

View 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

View File

@@ -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