Goonstation Forums
[MERGED PR] Potato pipeshot - Printable Version

+- Goonstation Forums (https://forum.ss13.co)
+-- Forum: Discussion (https://forum.ss13.co/forumdisplay.php?fid=6)
+--- Forum: Ideas & Suggestions (https://forum.ss13.co/forumdisplay.php?fid=8)
+--- Thread: [MERGED PR] Potato pipeshot (/showthread.php?tid=23714)



[MERGED PR] Potato pipeshot - github_bot - 03-15-2025

PULL REQUEST DETAILS




[GAME OBJECTS][FEATURE][INPUT WANTED][Add to Wiki][balance]
About the PR
This PR adds:
- potato pipeshot **ammo**: made by adding two potatoes to filled pipe hulls

- A potatoslug **projectile** datum: _~They're very weak (5 brute damage, 20 stamina damage, max throw range of 3 tiles) and therefore significantly less harmful than the already existing makeshift ammo types, as well as their real stun slug counterparts. I'm thinking about randomizing the damage between 1-5, or maybe have that depend on the potatoes stats.~_ **\***

- potatosplat **cleanable decals**: The cleanables are spawned manually in the `on_hit` and `on_max_range_die` procs, since bulletholes only spawn at higher damages _(which are handled in the wall code, leading to inconsistencies [potatoes should make splat regardless of how far you shoot them away from])._ Currently, they spawn in the center of the turf the projectile ends up on, instead of where the projectile actually impacts, though I'm not sure if that's an issue.

_**\*** The damage has been buffed to 15 BRUTE, throw range now depends more on projectile power, with the max still being 3. I'm open to changing the damage again, though I believe this to work fairly well._

Demo video (YT link because it's too big of a file): https://youtu.be/KorfhsqE37o?si=tNKNne-CynHnSanH

Since this is one of my first real feature PRs, I'd appreciate feedback on code, sprites, etc.. I'll create the required wiki info as soo as I find out this gets merged.



Why's this needed?
Firstly, this kind of ammo fills a spot in makeshift ammo that isn't filled yet: Slugs. They're now very similar to their brand-made counterparts, but, due to being pipeshot, can only be used in break-actions, putting them in a fairly good spot balance-wise. This PR is inspired by [this forum thread](https://forum.ss13.co/showthread.php?tid=23707) on potato ammo.

Todo:
- [x] projectile datum
- [x] ammo item
- [x] cleanable potato splat
- [x] proj sprite
- [x] cleanable sprite
- [x] ammo sprite
- [x] adjust damage according to feedback

Changelog



Code:
changelog
(u)Chasu
(*)Added potato pipeshot ammo, a makeshift slug equivalent for break-action shotguns.


PULL REQUEST DETAILS


RE: [PR] Potato pipeshot - Lord_earthfire - 03-15-2025

I wouldn't worry about the damage values you chosen too much. The damage is so laughable low that it's in a good place as a kind of prank ammunition. Any ranged prot will bump it down to something like 1 - 3 anyway.

Its funny, i like it.


RE: [PR] Potato pipeshot - freedo5 - 03-16-2025

Personally I'd rather have this be on the grenade launcher rather than pipe shot since they have a funnier sound. Also the range can be extended more for potato fighting.


RE: [PR] Potato pipeshot - Chasu - 03-16-2025

(03-16-2025, 02:16 AM)freedo5 Wrote: Personally I'd rather have this be on the grenade launcher rather than pipe shot since they have a funnier sound. Also the range can be extended more for potato fighting.

Oh, the shot sound can be changed in the ammo item itself. And I'll definitely tweak the range a bit.


RE: [PR] Potato pipeshot - freedo5 - 03-16-2025

(03-16-2025, 02:27 AM)Chasu Wrote:
(03-16-2025, 02:16 AM)freedo5 Wrote: Personally I'd rather have this be on the grenade launcher rather than pipe shot since they have a funnier sound. Also the range can be extended more for potato fighting.

Oh, the shot sound can be changed in the ammo item itself. And I'll definitely tweak the range a bit.

Poggers


RE: [PR] Potato pipeshot - Chasu - 03-16-2025

And it's as good as done, out of the draft stage and ready for review.


RE: [PR] Potato pipeshot - Taylorstar - 03-16-2025

Would it be too late to suggest having peeled potatos act like birdshot, minimal/0 damage but act like you got hit in the face by a plate of mash or cream pie?


RE: [PR] Potato pipeshot - Chasu - 03-16-2025

(03-16-2025, 09:54 AM)Taylorstar Wrote: Would it be too late to suggest having peeled potatos act like birdshot, minimal/0 damage but act like you got hit in the face by a plate of mash or cream pie?

It's not impossible for me to do, do you mean acting like birdshot as in doing minimal damage or as in fragmenting into tiny, near-harmless pieces?


RE: [PR] Potato pipeshot - Taylorstar - 03-16-2025

I like the appearance of the birdshot as it flies through the area and the minimal damage seems like a great idea keeping with the theme so I sort of mean both.


RE: [PR] Potato pipeshot - Chasu - 03-16-2025

(03-16-2025, 01:34 PM)Taylorstar Wrote: I like the appearance of the birdshot as it flies through the area and the minimal damage seems like a great idea keeping with the theme so I sort of mean both.

Sounds good, I might look into that.


RE: [PR] Potato pipeshot - RSOD - 03-16-2025

peeling a potato then frying it before putting it in for birdshot should make it shoot fries..