Merge pull request #911 from Zumorica/2020-05-13-stuns
Adds StunnableComponent, Stunbaton...
This commit is contained in:
25
Resources/Prototypes/Entities/Items/Weapons/security.yml
Normal file
25
Resources/Prototypes/Entities/Items/Weapons/security.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
- type: entity
|
||||
name: Stun baton
|
||||
parent: BaseItem
|
||||
id: Stunbaton
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Melee/stunbaton.rsi
|
||||
state: stunbaton_off
|
||||
|
||||
- type: Icon
|
||||
sprite: Objects/Melee/stunbaton.rsi
|
||||
state: stunbaton_off
|
||||
|
||||
- type: Stunbaton
|
||||
damage: 1
|
||||
range: 0.75
|
||||
arcwidth: 0
|
||||
arc: default
|
||||
|
||||
- type: Item
|
||||
Size: 10
|
||||
sprite: Objects/Melee/stunbaton.rsi
|
||||
HeldPrefix: off
|
||||
|
||||
- type: ItemCooldown
|
||||
@@ -131,6 +131,8 @@
|
||||
- type: FootstepSound
|
||||
- type: HumanoidAppearance
|
||||
- type: HumanInventoryController
|
||||
- type: Stunnable
|
||||
- type: AnimationPlayer
|
||||
|
||||
- type: entity
|
||||
save: false
|
||||
|
||||
7
Resources/Prototypes/SoundCollections/body_fall.yml
Normal file
7
Resources/Prototypes/SoundCollections/body_fall.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
- type: sound_collection
|
||||
id: bodyfall
|
||||
files:
|
||||
- /Audio/effects/bodyfall1.ogg
|
||||
- /Audio/effects/bodyfall2.ogg
|
||||
- /Audio/effects/bodyfall3.ogg
|
||||
- /Audio/effects/bodyfall4.ogg
|
||||
7
Resources/Prototypes/SoundCollections/sparks.yml
Normal file
7
Resources/Prototypes/SoundCollections/sparks.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
- type: sound_collection
|
||||
id: sparks
|
||||
files:
|
||||
- /Audio/effects/sparks1.ogg
|
||||
- /Audio/effects/sparks2.ogg
|
||||
- /Audio/effects/sparks3.ogg
|
||||
- /Audio/effects/sparks4.ogg
|
||||
Reference in New Issue
Block a user