Skip to content

Commit

Permalink
Merge pull request #1699 from Sha-Seng/PRIbar+
Browse files Browse the repository at this point in the history
PRIbar+ (with wrench) from Special Means
  • Loading branch information
Darkmajia authored Mar 6, 2025
2 parents f10610c + 7cb0555 commit b49382e
Show file tree
Hide file tree
Showing 16 changed files with 118 additions and 8 deletions.
Binary file added Resources/Audio/_Impstation/Items/toolslap.ogg
Binary file not shown.
2 changes: 2 additions & 0 deletions Resources/Prototypes/Entities/Structures/Machines/lathe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,7 @@
- PowerCageHigh
- PowerCageMedium
- PowerCageSmall
- PRIbarPlusConversionKit #imp
- SpeedLoaderMagnumIncendiary
- SpeedLoaderMagnumUranium
- TelescopicShield
Expand Down Expand Up @@ -813,6 +814,7 @@
- PowerCageHigh
- PowerCageMedium
- PowerCageSmall
- PRIbarPlusConversionKit #imp
- ShuttleGunDusterCircuitboard
- ShuttleGunFriendshipCircuitboard
- ShuttleGunPerforatorCircuitboard
Expand Down
3 changes: 2 additions & 1 deletion Resources/Prototypes/Research/arsenal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,13 @@
id: SpecialMeans
name: research-technology-special-means
icon:
sprite: Clothing/Back/Backpacks/electropack.rsi
sprite: _Impstation/Objects/Tools/pribarplus.rsi #imp, changed so people won't gloss over it (nobody wants electropacks)
state: icon
discipline: Arsenal
tier: 1
cost: 5000
recipeUnlocks:
- PRIbarPlusConversionKit #imp
- ClothingBackpackElectropack

# Tier 2
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
- type: entity
name: PRIbar+ conversion kit
parent: [ BaseItem, BaseRestrictedContraband ]
id: PRIbarPlusConversionKit
description: A package of parts and tools for adding a ratchet to a PRIbar.
components:
- type: Sprite
sprite: _Impstation/Objects/Misc/conversionkit.rsi
state: iconpb
- type: Item
size: Normal
- type: Tag
tags:
- ConversionKitPB

- type: entity
name: full-auto conversion kit
parent: [ BaseItem, BaseRestrictedContraband ]
Expand All @@ -21,9 +36,9 @@
components:
- type: Sprite
sprite: _Impstation/Objects/Misc/conversionkit.rsi
state: iconhb
state: iconhb
- type: Item
size: Normal
- type: Tag
tags:
- ConversionKitHB
- ConversionKitHB
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: PRIbar
parent: BaseCrowbar
id: Pribar
description: A purpose built crowbar for prying open firelocks. Collapses to fit in a pocket.
description: A purpose-built crowbar for prying open firelocks. Collapses to fit in a pocket.
components:
- type: Sprite
sprite: _Impstation/Objects/Tools/pribar.rsi
Expand All @@ -25,3 +25,40 @@
Piercing: 8
soundHit:
path: "/Audio/Weapons/bladeslice.ogg"
- type: Construction
graph: UpgradeToolPRIbarConversion
node: start

- type: entity
name: PRIbar+
parent: Pribar
id: PRIbarPlus
description: A purpose-built crowbar for prying open firelocks, upgraded with a wrench on the back side. Collapses to fit in a pocket.
components:
- type: Sprite
sprite: _Impstation/Objects/Tools/pribarplus.rsi
state: icon
- type: Item
sprite: _Impstation/Objects/Tools/pribarplus.rsi
size: Small
storedSprite:
sprite: _Impstation/Objects/Tools/pribarplus.rsi
state: storage
- type: MultipleTool
statusShowBehavior: true
entries:
- behavior: Prying
sprite:
sprite: _Impstation/Objects/Tools/pribarplus.rsi
state: icon
useSound: /Audio/Items/crowbar.ogg
changeSound: /Audio/_Impstation/Items/toolslap.ogg
- behavior: Anchoring
sprite:
sprite: _Impstation/Objects/Tools/pribarplus.rsi
state: wrench
useSound: /Audio/Items/ratchet.ogg
changeSound: /Audio/_Impstation/Items/toolslap.ogg
- type: Construction
graph: UpgradeToolPRIbarConversion
node: convert-pribarplus
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
- type: constructionGraph
id: UpgradeToolPRIbarConversion
start: start
graph:
- node: start
edges:
- to: convert-pribarplus
steps:
- tag: ConversionKitPB
doAfter: 2

- node: convert-pribarplus
entity: PRIbarPlus
16 changes: 12 additions & 4 deletions Resources/Prototypes/_Impstation/Recipes/Lathes/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
Steel: 1000
Glass: 500
Plastic: 500

- type: latheRecipe
parent: BaseWeaponRecipe
id: FullAutoConversionKit
Expand All @@ -24,7 +24,7 @@
Steel: 500
Glass: 200
Plastic: 500

- type: latheRecipe
parent: BaseWeaponRecipe
id: HyperBurstConversionKit
Expand All @@ -33,7 +33,15 @@
Steel: 500
Glass: 200
Plastic: 500


- type: latheRecipe
parent: BaseToolRecipe
id: PRIbarPlusConversionKit
result: PRIbarPlusConversionKit
materials:
Steel: 500
Plastic: 500

- type: latheRecipe
parent: BaseEmptyAmmoRecipe
id: MagazineLPistolEmpty
Expand Down Expand Up @@ -78,7 +86,7 @@
result: MagazineBoxLPistol
materials:
Steel: 1000

- type: latheRecipe
parent: BaseAmmoRecipe
id: MagazineBoxLPistolIncendiary
Expand Down
3 changes: 3 additions & 0 deletions Resources/Prototypes/_Impstation/tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
- type: Tag
id: ConversionKitHB

- type: Tag
id: ConversionKitPB

- type: Tag
id: DecapoidClaw

Expand Down
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
Expand Up @@ -12,6 +12,9 @@
},
{
"name": "iconhb"
},
{
"name": "iconpb"
}
]
}
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,28 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Made by Kazne and Pivotbash",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
},
{
"name": "icon"
},
{
"name": "storage"
},
{
"name": "wrench"
}
]
}
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.

0 comments on commit b49382e

Please sign in to comment.