-
Notifications
You must be signed in to change notification settings - Fork 565
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
Componentizes power cells #4855
Conversation
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Conflicts have been resolved. A maintainer will review the pull request shortly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me codewise, will probably test it later
Tested it, looks good to me, might just need a way to modify the examine text behavior in the future to fit objects depending on where we stick it |
About the pull request
Creates a new, flexible component for power cells. Eventually, anything powered will use a cell component instead of holding a ref to a
/obj/item/cell
or having acharge
variable.Converts NVGs over to the new system as an example, the rest will come in time.
Minor rework of how
emp_act()
worksExplain why it's good for the game
Cells are one of the most obvious things to be componentized, and componentizing them allows cells to be added to new objects in a very easy manner.
Testing Photographs and Procedure
Screenshots & Videos
Works