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
|
||||
|
||||
Reference in New Issue
Block a user