Skip to content

Commit

Permalink
added new bolt-action crate texture and changed RSC gun mechanic (#209)
Browse files Browse the repository at this point in the history
  • Loading branch information
Unisol authored Nov 25, 2024
1 parent f304025 commit ad2d6d6
Show file tree
Hide file tree
Showing 16 changed files with 86 additions and 1 deletion.
Binary file not shown.
4 changes: 4 additions & 0 deletions Resources/Audio/_Harmony/Weapons/Guns/MagIn/attributions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- files: ["Clip Insertion.wav"]
license: "CC-BY-SA-3.0"
copyright: "Created by Nonagon44 for Space Station 14"
source: "https://github.com/Nonagon44"
Binary file not shown.
4 changes: 4 additions & 0 deletions Resources/Audio/_Harmony/Weapons/Guns/MagOut/attributions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- files: ["M1_Garand_Ping.wav", "garand-ping-rattle.wav", "garand-ping-short.wav"]
license: "CC-BY-SA-3.0"
copyright: "Created by Nonagon44 for Space Station 14"
source: "https://github.com/Nonagon44"
Binary file not shown.
Binary file not shown.
4 changes: 4 additions & 0 deletions Resources/Prototypes/_Harmony/Catalog/Fills/Crates/armory.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
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: Icon
sprite: _Harmony/Structures/Storage/Crates/old_wooden_crate.rsi
- type: Sprite
sprite: _Harmony/Structures/Storage/Crates/old_wooden_crate.rsi
- type: EntityStorage
capacity: 50
- type: AccessReader
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,57 @@
- type: entity
name: RSC Modèle 1917
parent: [BaseWeaponSniper, BaseGunWieldable, BaseMajorContraband]
parent: [BaseItem, 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.
abstract: false
components:
- type: Item
size: Huge
- type: Sprite
sprite: _Harmony/Objects/Weapons/Guns/Snipers/rsc-m1917.rsi
layers:
- state: base
map: ["enum.GunVisualLayers.Base"]
- type: Clothing
sprite: _Harmony/Objects/Weapons/Guns/Snipers/rsc-m1917.rsi
quickEquip: false
slots:
- Back
- suitStorage
- type: AmmoCounter
- type: Gun
fireRate: 0.75
selectedMode: SemiAuto
availableModes:
- SemiAuto
soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/sniper.ogg
- type: ChamberMagazineAmmoProvider
autoEject: true
soundAutoEject: /Audio/_Harmony/Weapons/Guns/MagOut/garand-ping-rattle.wav
soundRack:
path: /Audio/Weapons/Guns/Cock/ltrifle_cock.ogg
- type: ItemSlots
slots:
gun_magazine:
name: Magazine
insertSound: /Audio/_Harmony/Weapons/Guns/MagIn/Clip Insertion.wav
ejectSound: /Audio/_Harmony/Weapons/Guns/MagOut/garand-ping-short.wav
priority: 2
whitelist:
tags:
- SpeedLoaderRifle
whitelistFailPopup: gun-magazine-whitelist-fail
gun_chamber:
name: Chamber
priority: 1
whitelist:
tags:
- CartridgeLightRifle
- type: ContainerContainer
containers:
gun_magazine: !type:ContainerSlot
gun_chamber: !type:ContainerSlot
- type: Appearance
- type: StaticPrice
price: 400
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,32 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "made by thesaladmancer on Discord / Twitter",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "base"
},
{
"name": "closed"
},
{
"name": "open"
},
{
"name": "welded"
},
{
"name": "locked"
},
{
"name": "unlocked"
}
]
}
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.

0 comments on commit ad2d6d6

Please sign in to comment.