AI and Borgs can Toggle Light Tiles #28545
Open
+6
−0
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.
What Does This PR Do
Allows AI and borgs to toggle light tiles on/off.
Why It's Good For The Game
Light tiles should be controllable like other lighting systems. This avoids requiring the jank workaround of crowbaring up a tile and putting it back down to turn it on as a borg and having to turn off the APC to turn the tiles off.
Testing
Spawned an AI and a borg in test tiny along with a normal and disco variant of the light tile.
I was able to turn the light tile on/off at will.
The disco light tile could be turned on if depowered, but not turned off.
Declaration
Changelog
🆑
tweak: AI and borgs can now toggle light tiles.
/:cl: