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:
@@ -8,7 +8,14 @@
|
|||||||
copyright: "User tosha73 on freesound.org"
|
copyright: "User tosha73 on freesound.org"
|
||||||
source: "https://freesound.org/people/tosha73/sounds/509902/"
|
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"]
|
- files: ["guitarsmash.ogg"]
|
||||||
license: "CC0-1.0"
|
license: "CC0-1.0"
|
||||||
copyright: "User Mystovski on freesound.org. Modified by LankLTE on github."
|
copyright: "User Mystovski on freesound.org. Modified by LankLTE on github."
|
||||||
source: "https://freesound.org/people/Mystovski/sounds/201111/"
|
source: "https://freesound.org/people/Mystovski/sounds/201111/"
|
||||||
|
|
||||||
|
|||||||
BIN
Resources/Audio/Weapons/chainsaw.ogg
Normal file
BIN
Resources/Audio/Weapons/chainsaw.ogg
Normal file
Binary file not shown.
BIN
Resources/Audio/Weapons/chainsawidle.ogg
Normal file
BIN
Resources/Audio/Weapons/chainsawidle.ogg
Normal file
Binary file not shown.
BIN
Resources/Audio/Weapons/chainsawwield.ogg
Normal file
BIN
Resources/Audio/Weapons/chainsawwield.ogg
Normal file
Binary file not shown.
@@ -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
|
||||||
BIN
Resources/Textures/Objects/Weapons/Melee/chainsaw.rsi/icon.png
Normal file
BIN
Resources/Textures/Objects/Weapons/Melee/chainsaw.rsi/icon.png
Normal file
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 |
111
Resources/Textures/Objects/Weapons/Melee/chainsaw.rsi/meta.json
Normal file
111
Resources/Textures/Objects/Weapons/Melee/chainsaw.rsi/meta.json
Normal 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 |
Reference in New Issue
Block a user