Allow upgrading windows by adding materials halfway through deconstruction #34268
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
About the PR
You can now upgrade windows similarly to #31978, which was removed by #33160, however now there are constructions steps involved so it's not just magically applying materials for stronger window. These steps are the same for all windows:
Start the regular deconstructions steps, but halfway through add the material for upgrading. Upon completing the deconstruction steps the window will now upgrade instead of deconstructing.
The time needed to complete the latter half of the steps after adding the material is decreased (except for the shuttle window upgrade) only if the material was added, so it is significantly more convenient than fully deconstructing and building the new window in place of the old one.
I was thinking of adding a tip for this since it's a pretty hard feature to come across on your own, but I'm not sure how to word it well. I'm open to suggestions.
(Also adds directly building directional uranium windows since uhh that wasn't a thing for some reason. Also directly building frosted windows but they don't function yet.)
Why / Balance
Quote from my original PR for window upgrading:
With the original pr, upgrading windows wasn't just convenient, it was pathetically easy. You could just walk right up to a window, apply rods/plasma/plasteel, and suddenly in just 5 seconds or less you have a SIGNIFICANTLY stronger window for a fraction of the time investment.
With this, it's still much faster and much easier (the entire point of having this, so engineers don't have to struggle as much trying to pre-emptively guard against station damage such as meteors.), but you still need to use welding tools for upgrading reinforced windows and can't just slap some plasteel onto the permabrig, cell windows, or sec front door as hos or warden and make it effectively immune to escape attempts, riots, or break-ins.
Media
2025-01-07.04-52-43.mp4
Requirements
Changelog
🆑