MeleeChemicalInjectorComponent (#2645)
* MeleeWeaponComponent OnHittingEntities event * MeleeChemicalInjectorComponent * Moves melee onhit action to EventBus * serialization fix * prototype fix * redid chem transfer logic * MeleeChemicalinjector uses ComponentMessages * divide by 0 fix * Update Resources/Prototypes/Entities/Objects/Weapons/Melee/spear.yml Co-authored-by: py01 <pyronetics01@gmail.com> Co-authored-by: Vera Aguilera Puerto <6766154+Zumorica@users.noreply.github.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
- type: entity
|
||||
- type: entity
|
||||
name: spear
|
||||
parent: BaseItem
|
||||
id: Spear
|
||||
@@ -7,22 +7,23 @@
|
||||
- type: Sprite
|
||||
sprite: Objects/Weapons/Melee/spear.rsi
|
||||
state: spear
|
||||
|
||||
- type: MeleeWeapon
|
||||
range: 1.5
|
||||
arcwidth: 0
|
||||
arc: spear
|
||||
|
||||
- type: Item
|
||||
size: 24
|
||||
sprite: Objects/Weapons/Melee/spear.rsi
|
||||
prefix: inhand
|
||||
|
||||
- type: Construction
|
||||
graph: spear
|
||||
node: spear
|
||||
|
||||
- type: ItemCooldown
|
||||
- type: MeleeChemicalInjector
|
||||
- type: SolutionContainer
|
||||
maxVol: 5
|
||||
caps: AddTo, RemoveFrom
|
||||
- type: Pourable
|
||||
|
||||
- type: MeleeWeaponAnimation
|
||||
id: spear
|
||||
|
||||
Reference in New Issue
Block a user