space-station-14
space-station-14 copied to clipboard
Guns as clothing PR (suit storage, back, belt)
About the PR
So this was on Sloths to do list but thought I'd liberate it since they're been focusing on more badass stuff I have nfi about, plus this was all easy yaml.
Once this is merged I'll work on making empty variants of all guns so we can give those to sec rather than them coming pre-loaded with lethals.
This PR also tries to fix some of the inconsistent indentation in meta.json files for guns, did this as I went since it made sense.
Changelog:
- Added suit storage and back storage to most guns. Anything larger than 50 in size will not fit in suit storage.
- Made all small guns (pistols and revolvers) fit on belt slot (waist band gun).
- Increased sniper size to 50, they do not fit in suit storage, only back.
- Mini jetpack now fits in suit storage too.
TO DO Possibly not in this PR depending on the knowledge required.
- [ ] Probably a visualiser for all guns on the belt slot too.
- [ ] Blacklist component: Gun from anything that isn't a hardsuit, such as lab coats etc. Apparently this is hard coded or something and adding a storage blacklist didn't do shit since it's not storage it's a UI slot element thingy.
Screenshots
Changelog
:cl:
- tweak: Mini Jetpack now fits in your suit storage slot.
- tweak: All big guns fit on your back and most fit in suit storage. LMGs, Snipers and Launchers are back only.
- tweak: All handguns now fit on your belt slot (waistband right?)
TO DO Possibly not in this PR depending on the knowledge required.
- [ ] Make all guns that are in the back slot show up on the character. (Do we need a visualiser for this or something? Could have sworn people wear shotguns and guitars on their back but I'm probably misremembering.
no, you just need an equipped-BACKPACK.png
sprite in the RSI for these, shouldn't be hard
TO DO Possibly not in this PR depending on the knowledge required.
- [ ] Make all guns that are in the back slot show up on the character. (Do we need a visualiser for this or something? Could have sworn people wear shotguns and guitars on their back but I'm probably misremembering.
no, you just need an
equipped-BACKPACK.png
sprite in the RSI for these, shouldn't be hard
Sweet, thought we had the means just wasn't sure how, I'll try get on it tomorrow :)
This pull request has conflicts, please resolve those before we can evaluate the pull request.
RSI Diff Bot; head commit ffb70b948a32250ef141b624ab88929f3e3e9224 merging into cf6e2fb9cd7bff5c63ac789b33b4cb99d6cf1056 This PR makes changes to 1 or more RSIs. Here is a summary of all changes:
Resources/Textures/Objects/Weapons/Guns/Battery/laser_cannon.rsi
State | Old | New | Status |
---|---|---|---|
equipped-BACKPACK | ![]() |
Added |
Resources/Textures/Objects/Weapons/Guns/Battery/laser_gun.rsi
State | Old | New | Status |
---|---|---|---|
equipped-BACKPACK | ![]() |
Added |
Resources/Textures/Objects/Weapons/Guns/Battery/makeshift.rsi
State | Old | New | Status |
---|---|---|---|
equipped-BACKPACK | ![]() |
Added |
Resources/Textures/Objects/Weapons/Guns/Battery/pulse_carbine.rsi
State | Old | New | Status |
---|---|---|---|
equipped-BACKPACK | ![]() |
Added |
Resources/Textures/Objects/Weapons/Guns/Battery/pulse_rifle.rsi
State | Old | New | Status |
---|---|---|---|
equipped-BACKPACK | ![]() |
Added |
Resources/Textures/Objects/Weapons/Guns/Battery/xray.rsi
State | Old | New | Status |
---|---|---|---|
equipped-BACKPACK | ![]() |
Added |
Resources/Textures/Objects/Weapons/Guns/Cannons/pie_cannon.rsi
State | Old | New | Status |
---|---|---|---|
equipped-BACKPACK | ![]() |
Added |
Resources/Textures/Objects/Weapons/Guns/Cannons/pneumatic_cannon.rsi
State | Old | New | Status |
---|---|---|---|
equipped-BACKPACK | ![]() |
Added |
Resources/Textures/Objects/Weapons/Guns/LMGs/l6.rsi
State | Old | New | Status |
---|---|---|---|
equipped-BACKPACK | ![]() |
Added |
Resources/Textures/Objects/Weapons/Guns/Launchers/china_lake.rsi
State | Old | New | Status |
---|---|---|---|
equipped-BACKPACK | ![]() |
Added |
Resources/Textures/Objects/Weapons/Guns/Launchers/rocket.rsi
State | Old | New | Status |
---|---|---|---|
equipped-BACKPACK | ![]() |
Added |
Resources/Textures/Objects/Weapons/Guns/Rifles/ak.rsi
State | Old | New | Status |
---|---|---|---|
equipped-BACKPACK | ![]() |
Added |
Resources/Textures/Objects/Weapons/Guns/Rifles/carbine.rsi
State | Old | New | Status |
---|---|---|---|
equipped-BACKPACK | ![]() |
Added |
Resources/Textures/Objects/Weapons/Guns/Rifles/lecter.rsi
State | Old | New | Status |
---|---|---|---|
equipped-BACKPACK | ![]() |
Added |
Resources/Textures/Objects/Weapons/Guns/SMGs/atreides.rsi
State | Old | New | Status |
---|---|---|---|
equipped-BACKPACK | ![]() |
Added |
Resources/Textures/Objects/Weapons/Guns/SMGs/c20r.rsi
State | Old | New | Status |
---|---|---|---|
equipped-BACKPACK | ![]() |
Added |
Resources/Textures/Objects/Weapons/Guns/SMGs/vector.rsi
State | Old | New | Status |
---|---|---|---|
equipped-BACKPACK | ![]() |
Added |
Resources/Textures/Objects/Weapons/Guns/SMGs/wt550.rsi
State | Old | New | Status |
---|---|---|---|
equipped-BACKPACK | ![]() |
Added |
Resources/Textures/Objects/Weapons/Guns/Shotguns/bulldog.rsi
State | Old | New | Status |
---|---|---|---|
equipped-BACKPACK | ![]() |
Added |
Resources/Textures/Objects/Weapons/Guns/Shotguns/db_shotgun.rsi
State | Old | New | Status |
---|---|---|---|
equipped-BACKPACK | ![]() |
Added |
Resources/Textures/Objects/Weapons/Guns/Shotguns/enforcer.rsi
State | Old | New | Status |
---|---|---|---|
equipped-BACKPACK | ![]() |
Added |
Resources/Textures/Objects/Weapons/Guns/Shotguns/pump.rsi
State | Old | New | Status |
---|---|---|---|
equipped-BACKPACK | ![]() |
Added |
Resources/Textures/Objects/Weapons/Guns/Shotguns/sawn.rsi
State | Old | New | Status |
---|---|---|---|
equipped-BACKPACK | ![]() |
Added |
Resources/Textures/Objects/Weapons/Guns/Snipers/bolt_gun_wood.rsi
State | Old | New | Status |
---|---|---|---|
equipped-BACKPACK | ![]() |
Added |
Resources/Textures/Objects/Weapons/Guns/Snipers/heavy_sniper.rsi
State | Old | New | Status |
---|---|---|---|
equipped-BACKPACK | ![]() |
Added |
Painstakingly added back sprites for everything big. Attached screenshots to the original post.
This pull request has conflicts, please resolve those before we can evaluate the pull request.
After this is merged the minimum gun size should be made 30 tbh.
Review addressed.
Tests still failing
Tests still failing
Fixed, just bumped up the ERT backpack size.
This pull request has conflicts, please resolve those before we can evaluate the pull request.
Fixed conflicts, give me strength.
Up to ya'll maintainers now. Still has the issue with suit storage being hardcoded so you can't blacklist big guns from being put inside a lab coat for example but I feel that's a fairly minor issue...and it's out of my hands since I tried in yaml.