Chainsaw weapon addition (#17743)

Co-authored-by: JessePretendstoCode <j14527998@gmail.com>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
Jessetriesagain
2023-08-05 00:49:55 -04:00
committed by GitHub
parent 918ad4d66d
commit 1034081bf5
11 changed files with 164 additions and 0 deletions

View File

@@ -0,0 +1,46 @@
- type: entity
name: chainsaw
parent: BaseItem
id: Chainsaw
description: A very large chainsaw. Usually you use this for cutting down trees... usually.
components:
- type: Wieldable
wieldTime: 1
wieldSound: !type:SoundPathSpecifier
path: /Audio/Weapons/chainsawwield.ogg
params:
volume: -3
- type: Sharp
- type: Sprite
sprite: Objects/Weapons/Melee/chainsaw.rsi
state: icon
- type: MeleeWeapon
damage:
types:
Slash: 5
Blunt: 5
Structural: 10
soundHit:
path: /Audio/Weapons/chainsaw.ogg
params:
volume: -3
- type: IncreaseDamageOnWield
damage:
types:
Slash: 5
Blunt: 5
Structural: 20
- type: Item
size: 50
sprite: Objects/Weapons/Melee/chainsaw.rsi
- type: DisarmMalus
- type: ItemStatus
- type: RefillableSolution
solution: Welder
- type: SolutionContainerManager
solutions:
Welder:
reagents:
- ReagentId: WeldingFuel
Quantity: 300
maxVol: 300