Merge pull request #911 from Zumorica/2020-05-13-stuns

Adds StunnableComponent, Stunbaton...
This commit is contained in:
Víctor Aguilera Puerto
2020-05-21 19:48:19 +02:00
committed by GitHub
41 changed files with 919 additions and 22 deletions

View 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

View File

@@ -131,6 +131,8 @@
- type: FootstepSound
- type: HumanoidAppearance
- type: HumanInventoryController
- type: Stunnable
- type: AnimationPlayer
- type: entity
save: false

View 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

View 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