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

[BUG] Box of Shotgun shell missing an empty state layer #2302

Closed
amo020 opened this issue Jun 5, 2024 · 0 comments · Fixed by #2323
Closed

[BUG] Box of Shotgun shell missing an empty state layer #2302

amo020 opened this issue Jun 5, 2024 · 0 comments · Fixed by #2323
Labels
Issue: Bug Something is not working correctly Medium Priority Issues that need to be done but may not be as important as higher issues

Comments

@amo020
Copy link
Contributor

amo020 commented Jun 5, 2024

Description

Shotgun ammo Box state layer missing an empty state

Environment

Affected entries:

name id
box of shotgun shells CMBoxShotgunBuckshot
box of shotgun slugs CMBoxShotgunSlugs
box of incendiary slugs CMBoxShotgunIncendiary
box of beanbag slugs CMBoxShotgunBeanbag
box of flechette shells CMBoxShotgunFlechette
box of incendiary buckshots CMBoxShotgunIncendiaryBuckshot

Step to reproduce

  • Equip a CMBoxShotgun
  • Cycle ammo until empty (25 times)

Expected behaviour

Sprite *_e shows

Observed behaviour

State does not change. ZeroOnlyOnEmpty is not detected.

Screenshots

None remaining
image

Only one remaining
image

Additional context

Affected resources :
CM-14\Resources\Prototypes\_CM14\Entities\Objects\Weapons\Guns\Ammunition\Boxes\shotgun.yml

Partially empty state would be a nice to have but can be considered a new feature.

@Tunguso4ka Tunguso4ka added Issue: Bug Something is not working correctly Medium Priority Issues that need to be done but may not be as important as higher issues and removed Status: Untriaged labels Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue: Bug Something is not working correctly Medium Priority Issues that need to be done but may not be as important as higher issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants