Skip to content

Shotgun icon fix (Take Two)#5303

Merged
MistakeNot4892 merged 1 commit intoNebulaSS13:stablefrom
l3lb0t:shotgun-stable
Feb 17, 2026
Merged

Shotgun icon fix (Take Two)#5303
MistakeNot4892 merged 1 commit intoNebulaSS13:stablefrom
l3lb0t:shotgun-stable

Conversation

@l3lb0t
Copy link
Contributor

@l3lb0t l3lb0t commented Feb 16, 2026

Description of changes

I noticed that pump action shotguns check for shells in the tube, not shells in the chamber when decided whether to display as empty. This doesn't reflect whether the shotgun is actually "loaded", as you can still have a shell in the chamber.

Why and what will this PR improve

You can now tell if a shotgun is loaded by looking at it, rather than guessing on whether or not there's a shell in the chamber. This is better from a gameplay standpoint, more immersive, and more realistic.

Authorship

It's me, Karl Johansson

Changelog

🆑 Karl Johansson
bugfix: Fixes pump-action shotgun icons incorrectly displaying the state of the weapon
/:cl:

@l3lb0t l3lb0t mentioned this pull request Feb 16, 2026
var/recentpump = 0 // to prevent spammage
load_sound = 'sound/weapons/guns/interaction/shotgun_instert.ogg'

/obj/item/gun/projectile/shotgun/update_base_icon_state()
Copy link
Member

Choose a reason for hiding this comment

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

you know, this is actually the only thing that directly references /obj/item/gun/projectile/shotgun. while it's a shared type used for both the pump shotgun and double-barreled shotgun, they don't actually share any behavior aside from this override, which isn't even correct for the pump shotgun. i should fix that

@MistakeNot4892 MistakeNot4892 merged commit 0b2567e into NebulaSS13:stable Feb 17, 2026
13 checks passed
@l3lb0t l3lb0t deleted the shotgun-stable branch February 19, 2026 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants