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

@@ -8,7 +8,14 @@
copyright: "User tosha73 on freesound.org"
source: "https://freesound.org/people/tosha73/sounds/509902/"
- files: ["chainsaw.ogg, chainsawidle.ogg, chainsawwield.ogg"]
license: "Custom"
copyright: "https://www.soundjay.com/tos.html"
source: "https://www.soundjay.com/chainsaw-sound-effect.html"
- files: ["guitarsmash.ogg"]
license: "CC0-1.0"
copyright: "User Mystovski on freesound.org. Modified by LankLTE on github."
source: "https://freesound.org/people/Mystovski/sounds/201111/"

Binary file not shown.

Binary file not shown.

Binary file not shown.

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -0,0 +1,111 @@
{
"version": 1,
"license": "CC-BY-NC-SA-3.0",
"copyright": "Made by Jesse for ss14",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon",
"delays": [
[
0.05,
0.05,
0.05,
0.05
]
]
},
{
"name": "inhand-left",
"directions": 4,
"delays": [
[
0.03,
0.03
],
[
0.03,
0.03
],
[
0.03,
0.03
],
[
0.03,
0.03
]
]
},
{
"name": "inhand-right",
"directions": 4,
"delays": [
[
0.03,
0.03
],
[
0.03,
0.03
],
[
0.03,
0.03
],
[
0.03,
0.03
]
]
},
{
"name": "wielded-inhand-left",
"directions": 4,
"delays": [
[
0.03,
0.03
],
[
0.03,
0.03
],
[
0.03,
0.03
],
[
0.03,
0.03
]
]
},
{
"name": "wielded-inhand-right",
"directions": 4,
"delays": [
[
0.03,
0.03
],
[
0.03,
0.03
],
[
0.03,
0.03
],
[
0.03,
0.03
]
]
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB