Skip to content

Medbay chemical dispenser energy scaling 2: Energy Boogaloo#12270

Open
JackieEstegado wants to merge 4 commits into
cmss13-devs:masterfrom
JackieEstegado:chem_energy
Open

Medbay chemical dispenser energy scaling 2: Energy Boogaloo#12270
JackieEstegado wants to merge 4 commits into
cmss13-devs:masterfrom
JackieEstegado:chem_energy

Conversation

@JackieEstegado
Copy link
Copy Markdown
Contributor

@JackieEstegado JackieEstegado commented May 21, 2026

About the pull request

#11073 was a broken implementation. Whenever a new marine joined it would completely refill the energy. Also it caused a different scaling, which was provided for each dispenser on the same energy network, to not affect the medbay's dispensers.

I tested it locally, with current settings, at 50 !marine! pop medbay chem can service about 6-8 moderately hungry medics before XX:20.
I highly advise further testing via TM though.

Also I changed the weird bitwise?? calculation, no idea what that was about.

Explain why it's good for the game

Same as original PR, but hopefully not broken.

Testing Photographs and Procedure

Screenshots & Videos

Put screenshots and videos here with an empty line between the screenshots and the <details> tags.

Changelog

🆑
fix: Fixed medbay chemical dispensers energy fully refilling each time a marine latejoined.
balance: Properly implement medbay chemical dispenser energy scaling.
/:cl:

@github-project-automation github-project-automation Bot moved this to Awaiting Review in Review Backlog May 21, 2026
@cmss13-ci cmss13-ci Bot added Fix Fix one bug, make ten more Balance You need to be a professional veteran game maintainer to comprehend what is being done here. size/S Denotes a PR that changes 19-49 lines, ignoring generated files. labels May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Balance You need to be a professional veteran game maintainer to comprehend what is being done here. Fix Fix one bug, make ten more size/S Denotes a PR that changes 19-49 lines, ignoring generated files.

Projects

Status: Awaiting Review

Development

Successfully merging this pull request may close these issues.

1 participant