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

[MIRROR] Retools IS_SPINNING_1 into a trait #955

Merged
merged 2 commits into from
Dec 4, 2023
Merged

Conversation

Steals-The-PRs
Copy link
Collaborator

Mirrored on Skyrat: Skyrat-SS13/Skyrat-tg#25399
Original PR: tgstation/tgstation#80060

About The Pull Request

This did NOT need to be on the /atom level flags_1- when on earth is an area going to spin? Anyways, this was really only ever used on the /mob sublevel in spin() code, but I think this would work far better as a trait for source-management than moving it to a mob flag or something. So, let's do that.

Why It's Good For The Game

Frees up a slot on flags_1, which is neat, as well as makes the framework for managing "things that make you spin" potentially better for future expansion. It also properly scopes something that only works for mobs right now to mobs (kinda), so it's a bit better that way too.

Changelog

Nothing that concerns players.

* Retools `IS_SPINNING_1` into a trait

* Modular

---------

Co-authored-by: san7890 <[email protected]>
Co-authored-by: Bloop <[email protected]>
@Steals-The-PRs Steals-The-PRs added Mirroring conflict git cherry-pick во что-то уткнулся. Не ставить вручную, только для бота TG Mirror labels Dec 3, 2023
@ReezeBL ReezeBL merged commit d31093b into master Dec 4, 2023
21 of 22 checks passed
@ReezeBL ReezeBL deleted the upstream-mirror-25399 branch December 4, 2023 18:16
Iajret pushed a commit that referenced this pull request Feb 17, 2024
* Enable powercord implant to charge from any battery

* Simplify conditionals

* Fix grammar

* Reposition do_after delay argument

* Cleanup naive approach

* Swap direct array access for function call

* Rename static/global variable to be less generic

* Repathed apc_powercord to synth_powercord and renamed its parent implant to 'charging implant'

* Update comments

Co-authored-by: Bloop <[email protected]>

* Update comments

Co-authored-by: Bloop <[email protected]>

* Update comments

Co-authored-by: Bloop <[email protected]>

* Update comments

Co-authored-by: Bloop <[email protected]>

* Convert some chat messages to balloon alerts

Co-authored-by: Bloop <[email protected]>

* Fix bug preventing early return for maximum nutrition, convert chat message to balloon alert

* Change usage of contents to items_to_create

---------

Co-authored-by: Bloop <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mirroring conflict git cherry-pick во что-то уткнулся. Не ставить вручную, только для бота TG Mirror
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants