diff --git a/Resources/Prototypes/Entities/Objects/Weapons/Guns/Basic/base_pka.yml b/Resources/Prototypes/Entities/Objects/Weapons/Guns/Basic/base_pka.yml index f85e93b893f..86d90169c3e 100644 --- a/Resources/Prototypes/Entities/Objects/Weapons/Guns/Basic/base_pka.yml +++ b/Resources/Prototypes/Entities/Objects/Weapons/Guns/Basic/base_pka.yml @@ -11,7 +11,7 @@ - type: GunWieldBonus minAngle: -43 maxAngle: -43 - - type: Wieldable +# - type: Wieldable # Frontier - type: Gun fireRate: 0.5 selectedMode: SemiAuto diff --git a/Resources/Prototypes/Entities/Objects/Weapons/Guns/Basic/pka.yml b/Resources/Prototypes/Entities/Objects/Weapons/Guns/Basic/pka.yml index d0ee19c67da..dd3dc7665f9 100644 --- a/Resources/Prototypes/Entities/Objects/Weapons/Guns/Basic/pka.yml +++ b/Resources/Prototypes/Entities/Objects/Weapons/Guns/Basic/pka.yml @@ -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 \ No newline at end of file diff --git a/Resources/Prototypes/_NF/Entities/Objects/Weapons/Basic/sawn_pka.yml b/Resources/Prototypes/_NF/Entities/Objects/Weapons/Basic/sawn_pka.yml new file mode 100644 index 00000000000..0757c4f9985 --- /dev/null +++ b/Resources/Prototypes/_NF/Entities/Objects/Weapons/Basic/sawn_pka.yml @@ -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 diff --git a/Resources/Prototypes/_NF/Recipes/Construction/Graphs/weapons/pkasawn.yml b/Resources/Prototypes/_NF/Recipes/Construction/Graphs/weapons/pkasawn.yml new file mode 100644 index 00000000000..4f9b9a0257e --- /dev/null +++ b/Resources/Prototypes/_NF/Recipes/Construction/Graphs/weapons/pkasawn.yml @@ -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. \ No newline at end of file diff --git a/Resources/Textures/_NF/Objects/Weapons/Guns/Basic/sawn_kinetic_accelerator.rsi/equipped-BELT.png b/Resources/Textures/_NF/Objects/Weapons/Guns/Basic/sawn_kinetic_accelerator.rsi/equipped-BELT.png new file mode 100644 index 00000000000..28077085547 Binary files /dev/null and b/Resources/Textures/_NF/Objects/Weapons/Guns/Basic/sawn_kinetic_accelerator.rsi/equipped-BELT.png differ diff --git a/Resources/Textures/_NF/Objects/Weapons/Guns/Basic/sawn_kinetic_accelerator.rsi/icon.png b/Resources/Textures/_NF/Objects/Weapons/Guns/Basic/sawn_kinetic_accelerator.rsi/icon.png new file mode 100644 index 00000000000..acd074e877c Binary files /dev/null and b/Resources/Textures/_NF/Objects/Weapons/Guns/Basic/sawn_kinetic_accelerator.rsi/icon.png differ diff --git a/Resources/Textures/_NF/Objects/Weapons/Guns/Basic/sawn_kinetic_accelerator.rsi/inhand-left.png b/Resources/Textures/_NF/Objects/Weapons/Guns/Basic/sawn_kinetic_accelerator.rsi/inhand-left.png new file mode 100644 index 00000000000..e54e8fa2cc8 Binary files /dev/null and b/Resources/Textures/_NF/Objects/Weapons/Guns/Basic/sawn_kinetic_accelerator.rsi/inhand-left.png differ diff --git a/Resources/Textures/_NF/Objects/Weapons/Guns/Basic/sawn_kinetic_accelerator.rsi/inhand-right.png b/Resources/Textures/_NF/Objects/Weapons/Guns/Basic/sawn_kinetic_accelerator.rsi/inhand-right.png new file mode 100644 index 00000000000..767ed5b8e49 Binary files /dev/null and b/Resources/Textures/_NF/Objects/Weapons/Guns/Basic/sawn_kinetic_accelerator.rsi/inhand-right.png differ diff --git a/Resources/Textures/_NF/Objects/Weapons/Guns/Basic/sawn_kinetic_accelerator.rsi/meta.json b/Resources/Textures/_NF/Objects/Weapons/Guns/Basic/sawn_kinetic_accelerator.rsi/meta.json new file mode 100644 index 00000000000..98181d3ead3 --- /dev/null +++ b/Resources/Textures/_NF/Objects/Weapons/Guns/Basic/sawn_kinetic_accelerator.rsi/meta.json @@ -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 + } + ] +}