Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RSC rifle crate as cargo purchase #189

Merged
merged 5 commits into from
Nov 20, 2024

Conversation

Unisol
Copy link

@Unisol Unisol commented Nov 16, 2024

About the PR

Added RSC Model 1917, a Nanotrasen-approved Great War rifle. Available for purchase for supply department. Packed by senile veteran of six stellar wars who can't quite remember how many rifles and stripper clips should go in one crate; your mileage will vary.

Why / Balance

Syndicate has cheap mass infantry option, and now Nanotrasen does too. Meant to be a cheap way to arm large amounts of people with questionable quality guns. RSC 1917 is mechanically identical to Mosin Nagant.

Crates are can be unlocked using general security or cargo access.

Cost: one crate goes for 2000$, with one rifle costing $400 and one clip costing $5. Anywhere between 2 and 5 rifles per crate, with anywhere between 4 and 42 clips mean that total cost varies between $1020 and $2210. This ensures cargo can't reliably resell these at a profit.

Stripper clips in secfab go for one steel sheet per one clip with five rounds. This is in line with other .30 ammo options, which come out to 0.18 steel per round.

Technical details

Media

cargo console
crate closed
crate open
SS14 Loader_p2ye9SpGqD
SS14 Loader_HzVz1vMQCp
SS14 Loader_DWzTE8xW32
SS14 Loader_fpNUsGRQO4

Requirements

Breaking changes

Changelog

🆑

  • add: added RSC Model 1917 for purchase in supply dept
  • add: added stripper clips with .30 ammo to security and ammo techfabs, as well as emagged protolathe

Copy link

github-actions bot commented Nov 17, 2024

RSI Diff Bot; head commit 1e33821 merging into 3f9d14d
This PR makes changes to 1 or more RSIs. Here is a summary of all changes:

Resources/Textures/_Harmony/Objects/Weapons/Guns/Snipers/rsc-m1917.rsi

State Old New Status
base Added
bolt-open Added
equipped-BACKPACK Added
equipped-SUITSTORAGE Added
inhand-left Added
inhand-right Added
wielded-inhand-left Added
wielded-inhand-right Added

Edit: diff updated after 1e33821

@Unisol Unisol marked this pull request as ready for review November 17, 2024 01:00
@github-actions github-actions bot added the S: Needs Review Review is requested label Nov 17, 2024
DieselMohawk
DieselMohawk previously approved these changes Nov 17, 2024
Copy link
Collaborator

@DieselMohawk DieselMohawk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good sprites.

I have no idea if we should reference real world locations and events with this rifle, even the name is a bit too historically accurate for the SS14 vibe, if you get what I mean.

Anyways, good sprites.

@FluffMe
Copy link
Collaborator

FluffMe commented Nov 17, 2024

@Unisol test fail is real

TestSufficientSpaceForEntityStorageFill fails with CrateArmoryRSC storage fill is too large.

- id: WeaponSniperRSC
orGroup: guns
amount: 5
# Lost is a dogshit show
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

Copy link
Collaborator

@FluffMe FluffMe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Test fail should be addressed (if amount of rifles/ammo changes significantly price may need to be reduced).
  • Lost comment, while appreciated and agreed with, should be removed.
  • Cargo access on the crate will finally prevent slamming it with pickaxe like idiots. But it differs from other gun purchases. If that's an intended change, I agree with this, but please test if it overwrites access: [["Armory"]] of CrateWeaponSecure and if Armory access should be added (maybe instead of security even, who knows. No idea how it works without testing).

Thanks for this addition. Hail Cargonia!
I'll read and test this more thoroughly when changes are addressed.

@FluffMe FluffMe removed the S: Needs Review Review is requested label Nov 17, 2024
@FluffMe
Copy link
Collaborator

FluffMe commented Nov 17, 2024

I have no idea if we should reference real world locations and events with this rifle, even the name is a bit too historically accurate for the SS14 vibe, if you get what I mean.

There is a precedent with Mosin, and they have the same vibe IMO.
We also already discussed if the gun is in public domain or not, so this is also not a concern.

@FluffMe
Copy link
Collaborator

FluffMe commented Nov 17, 2024

PS: I especially dig the RNG factor of the crate XD

@Unisol
Copy link
Author

Unisol commented Nov 17, 2024

Increased CrateArmoryRSC capacity to 50; removed truthful comment; added Armory access to the crate in addition to Supply and Securty.

@FluffMe FluffMe self-requested a review November 17, 2024 19:14
@github-actions github-actions bot added the S: Needs Review Review is requested label Nov 17, 2024
@FluffMe FluffMe dismissed their stale review November 17, 2024 19:15

Changes adressed

@FluffMe FluffMe requested a review from DieselMohawk November 17, 2024 19:15
@FluffMe
Copy link
Collaborator

FluffMe commented Nov 17, 2024

Another test fail: NoStaticPriceAndStackPrice

@Unisol
Copy link
Author

Unisol commented Nov 17, 2024

No idea what this is about, I've checked crate, rifle and clip - all have only static price and not stack price.

@FluffMe
Copy link
Collaborator

FluffMe commented Nov 17, 2024

I'll debug when I get some time next week.

@FluffMe
Copy link
Collaborator

FluffMe commented Nov 17, 2024

Was a Heisentest XD

Copy link
Collaborator

@FluffMe FluffMe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code is good! great job, thank you.

I'll leave it hanging for a bit for admins and Keld to pitch in, since it's a new weapon and weapon source for the crew.

@liltenhead
Copy link

Considering there's an AK and a Mosin in game, I like the idea. Sprite is great looking too.

@FluffMe FluffMe added S: Awaiting Changes Reviewer requested changes S: Awaiting Admin Input Discussion by the admin team is required and removed S: Needs Review Review is requested S: Awaiting Changes Reviewer requested changes labels Nov 20, 2024
@FluffMe FluffMe merged commit c642ca5 into ss14-harmony:master Nov 20, 2024
15 checks passed
FluffMe added a commit that referenced this pull request Nov 20, 2024
@FluffMe FluffMe removed the S: Awaiting Admin Input Discussion by the admin team is required label Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants