Skip to content

Commit

Permalink
Sawn-off PKA (#1055)
Browse files Browse the repository at this point in the history
* sawn-off pka

* tweaked size and fire mode, bug fix

* buffed fire rate for maximum gunslinging fun

* YML Fix

---------

Co-authored-by: Dvir <[email protected]>
  • Loading branch information
ErhardSteinhauer and dvir001 authored Mar 8, 2024
1 parent 4427270 commit f4c5a7d
Show file tree
Hide file tree
Showing 9 changed files with 69 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
- type: GunWieldBonus
minAngle: -43
maxAngle: -43
- type: Wieldable
# - type: Wieldable # Frontier
- type: Gun
fireRate: 0.5
selectedMode: SemiAuto
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,8 @@
# todo: add clothingcomponent with clothingVisuals states using unused texture and animations assets in kinetic_accelerator.rsi
- type: StaticPrice
price: 270
- type: Construction #Frontier
graph: PKASawn #Frontier
node: start #Frontier
deconstructionTarget: null #Frontier
- type: Wieldable # Frontier
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
- type: entity
id: WeaponProtoKineticAcceleratorSawn
parent: WeaponProtoKineticAcceleratorBase
name: sawn-off proto-kinetic accelerator
description: boundaries and rules are ment to be broken otherwise there will be no progress, but this thing here is a good argumant against that statement.
components:
- type: Sprite
sprite: _NF/Objects/Weapons/Guns/Basic/sawn_kinetic_accelerator.rsi
state: icon
- type: Item
sprite: _NF/Objects/Weapons/Guns/Basic/sawn_kinetic_accelerator.rsi
size: Small
shape:
- 0,0,1,0
- type: Gun
fireRate: 8
selectedMode: FullAuto
minAngle: 41
maxAngle: 55
- type: Clothing
sprite: _NF/Objects/Weapons/Guns/Basic/sawn_kinetic_accelerator.rsi
- type: Construction
graph: PKASawn
node: pkasawn
deconstructionTarget: null
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
- type: constructionGraph
id: PKASawn
start: start
graph:
- node: start
edges:
- to: pkasawn
steps:
- tool: Sawing
doAfter: 2
- node: pkasawn
entity: WeaponProtoKineticAcceleratorSawn # Makes the sawn-off spawn empty. At max they're losing 2 shells.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "icon by RiceMar1244 based on tgstation at https://github.com/tgstation/tgstation/commit/8b7f8ba6a3327c7381967c550f185dffafd11a57; inhand, and belt equip sprites by RiceMar1244 | edited for sawn-off version by erhardsteinhauer",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "inhand-right",
"directions": 4
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "equipped-BELT",
"directions": 4
}
]
}

0 comments on commit f4c5a7d

Please sign in to comment.