Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

Conversation

@vinylspiders
Copy link
Contributor

@vinylspiders vinylspiders commented Dec 22, 2025

About The Pull Request

image

Simple rotation components number in the 8-9k range per round, and each contains a needless callback datum as well.

These do not need to hold any state and can be bespoke elements, and the proc to do things post_rotation can just be a normal atom proc.

Still works as you'd expect, including items that have flag requirements like the wrench

dreamseeker_UhvaohsIYK

dreamseeker_fEwUfNQben

Why It's Good For The Game

Makes a heavily used element much more lightweight, saves a few mb of memory.

Changelog

🆑
refactor: simple rotation component has been refactored into an element Please report any bugs to github.
/:cl:

@vinylspiders vinylspiders added the Refactor Makes the code harder to read label Dec 22, 2025
@Ghommie Ghommie merged commit 0190e64 into tgstation:master Dec 25, 2025
26 checks passed
github-actions bot added a commit that referenced this pull request Dec 25, 2025
tgstation-ci bot added a commit that referenced this pull request Dec 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Refactor Makes the code harder to read

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants