forked from space-wizards/space-station-14
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RSC rifle crate as cargo purchase (space-wizards#189)
* added RSC rifle crate as cargo purchase * replaced placeholder RSC texture with one supplied by thesaladmancer * added stripper clip recipe to relevant lathes * fixed test failures * clarified access requirements in description
- Loading branch information
Showing
14 changed files
with
117 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
- type: cargoProduct | ||
id: ArmoryRSC | ||
icon: | ||
sprite: _Harmony/Objects/Weapons/Guns/Snipers/rsc-m1917.rsi | ||
state: base | ||
product: CrateArmoryRSC | ||
cost: 1999 | ||
category: cargoproduct-category-name-armory | ||
group: market |
42 changes: 42 additions & 0 deletions
42
Resources/Prototypes/_Harmony/Catalog/Fills/Crates/armory.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
- type: entity | ||
id: CrateArmoryRSC | ||
parent: [ CrateWeaponSecure, BaseRestrictedContraband ] | ||
name: bolt-action rifle crate | ||
description: Contains several high-powered, bolt-action rifles with sufficient ammunition. Packaging is questionable, your mileage will vary. Requires Armory, Security or Supply access to open. | ||
components: | ||
- type: EntityStorage | ||
capacity: 50 | ||
- type: AccessReader | ||
access: [["Armory"], ["Security"], ["Cargo"]] | ||
- type: StorageFill | ||
contents: | ||
- id: WeaponSniperRSC | ||
orGroup: guns | ||
amount: 2 | ||
- id: WeaponSniperRSC | ||
orGroup: guns | ||
amount: 3 | ||
- id: WeaponSniperRSC | ||
orGroup: guns | ||
amount: 4 | ||
- id: WeaponSniperRSC | ||
orGroup: guns | ||
amount: 5 | ||
- id: SpeedLoaderLightRifle | ||
orGroup: ammo | ||
amount: 4 | ||
- id: SpeedLoaderLightRifle | ||
orGroup: ammo | ||
amount: 8 | ||
- id: SpeedLoaderLightRifle | ||
orGroup: ammo | ||
amount: 15 | ||
- id: SpeedLoaderLightRifle | ||
orGroup: ammo | ||
amount: 16 | ||
- id: SpeedLoaderLightRifle | ||
orGroup: ammo | ||
amount: 23 | ||
- id: SpeedLoaderLightRifle | ||
orGroup: ammo | ||
amount: 42 |
16 changes: 16 additions & 0 deletions
16
Resources/Prototypes/_Harmony/Entities/Objects/Weapons/Guns/Snipers/snipers.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
- type: entity | ||
name: RSC Modèle 1917 | ||
parent: [BaseWeaponSniper, BaseGunWieldable, BaseMajorContraband] | ||
id: WeaponSniperRSC | ||
description: Refurbished great war trophy. It used to bear a french name, now it bears Nanotrasen stamp of approval. Uses .30 rifle ammo. | ||
components: | ||
- type: Sprite | ||
sprite: _Harmony/Objects/Weapons/Guns/Snipers/rsc-m1917.rsi | ||
- type: Clothing | ||
sprite: _Harmony/Objects/Weapons/Guns/Snipers/rsc-m1917.rsi | ||
quickEquip: false | ||
slots: | ||
- Back | ||
- suitStorage | ||
- type: StaticPrice | ||
price: 400 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
- type: latheRecipe | ||
parent: BaseAmmoRecipe | ||
id: StripperClip | ||
result: SpeedLoaderLightRifle | ||
materials: | ||
Steel: 100 |
Binary file added
BIN
+589 Bytes
Resources/Textures/_Harmony/Objects/Weapons/Guns/Snipers/rsc-m1917.rsi/base.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+605 Bytes
...rces/Textures/_Harmony/Objects/Weapons/Guns/Snipers/rsc-m1917.rsi/bolt-open.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+862 Bytes
...tures/_Harmony/Objects/Weapons/Guns/Snipers/rsc-m1917.rsi/equipped-BACKPACK.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+652 Bytes
...es/_Harmony/Objects/Weapons/Guns/Snipers/rsc-m1917.rsi/equipped-SUITSTORAGE.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+707 Bytes
...es/Textures/_Harmony/Objects/Weapons/Guns/Snipers/rsc-m1917.rsi/inhand-left.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+734 Bytes
...s/Textures/_Harmony/Objects/Weapons/Guns/Snipers/rsc-m1917.rsi/inhand-right.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
41 changes: 41 additions & 0 deletions
41
Resources/Textures/_Harmony/Objects/Weapons/Guns/Snipers/rsc-m1917.rsi/meta.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"version": 1, | ||
"license": "CC-BY-SA-3.0", | ||
"copyright": "made by thesaladmancer on Discord / Twitter", | ||
"size": { | ||
"x": 32, | ||
"y": 32 | ||
}, | ||
"states": [ | ||
{ | ||
"name": "base" | ||
}, | ||
{ | ||
"name": "bolt-open" | ||
}, | ||
{ | ||
"name": "inhand-left", | ||
"directions": 4 | ||
}, | ||
{ | ||
"name": "inhand-right", | ||
"directions": 4 | ||
}, | ||
{ | ||
"name": "wielded-inhand-left", | ||
"directions": 4 | ||
}, | ||
{ | ||
"name": "wielded-inhand-right", | ||
"directions": 4 | ||
}, | ||
{ | ||
"name": "equipped-BACKPACK", | ||
"directions": 4 | ||
}, | ||
{ | ||
"name": "equipped-SUITSTORAGE", | ||
"directions": 4 | ||
} | ||
] | ||
} |
Binary file added
BIN
+750 Bytes
...res/_Harmony/Objects/Weapons/Guns/Snipers/rsc-m1917.rsi/wielded-inhand-left.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+764 Bytes
...es/_Harmony/Objects/Weapons/Guns/Snipers/rsc-m1917.rsi/wielded-inhand-right.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.