-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Firmware keys #23097
Firmware keys #23097
Conversation
This one looks cool and would be so useful for so many things. |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
@Tornado-Technology It seems we were working on the same code by mistake, but at the same time I was working on the parts you are missing You can credit and use the DoorSystem and LockSystem code I made as it seems you are missing the 2 from your PR. |
Re-open if you come back to it. |
About the PR
Added new "Firmware keys" items that allow you to change the effect of Emag.
The keys can be found in the research director's closet, or made on the protolate when studying the corresponding technology.
To activate, you need to go to the hacked object and click on it with the key, after which DoAfter will start, after which the desired item will be repaired, and you will be happy with the work done. I would like to note that the key will be spent.
There is also an advanced version of the key, which is not spent when used, but for now it can only be spawned through the entity spawn panel.
Why / Balance
You can do this with most items, but it requires a long reset, and it doesn’t always help. But we may lose the items we need or the hacking device cannot be reassembled.
Therefore, keys have been added that need to be studied and created to cancel the effect.
There is also an advanced key, it could have been given to the scientific supervisor as a high-risk item, but this sounds very dishonest. Therefore, it is simply not used yet, and its difference is that it is not wasted.
Technical details
Some systems such as
Access
,Lock
, etc. They require direct intervention in the code, because to cancel an action it is not enough to simply remove theEmagged
component.As I refine it, I will describe below what I changed in each system:
Media
firmware.mp4
Breaking changes
No
Changelog
🆑