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

Makes computer console circuits more consistent #83412

Merged
merged 8 commits into from
May 27, 2024

Conversation

Echriser
Copy link
Contributor

@Echriser Echriser commented May 22, 2024

About The Pull Request

This PR makes the computer console's print feature work on a signal instead of wasting paper every string update, changes the flashlight color change to do the same, fixes the on/off signal not turning the console on, and fixes the signal for the console turning off not functioning.

Why It's Good For The Game

Besides the bug fixes, this makes the console components more consistent with every other circuit component. The refactor is to prevent worrying about nulls for colors or errors because of early returns.

Changelog

🆑
fix: computers with no lights can now turn on using the on/off signal
fix: RGB lights on PDA circuits now use a signal
fix: the is_off signal now works on consoles
fix: printing text on a console component now uses a signal
refactor: each input signal in console circuits now have their own proc
/:cl:

@tgstation-server tgstation-server added Fix Rewrites a bug so it appears in different circumstances Refactor Makes the code harder to read labels May 22, 2024
@ShizCalev ShizCalev merged commit a7ca4b8 into tgstation:master May 27, 2024
19 checks passed
comfyorange added a commit that referenced this pull request May 27, 2024
github-actions bot added a commit that referenced this pull request May 27, 2024
@Echriser Echriser deleted the consolecircuitfix branch May 27, 2024 16:49
Chowder-McArthor pushed a commit to Chowder-McArthor/desertbus13 that referenced this pull request Jun 6, 2024
## About The Pull Request
This PR makes the computer console's print feature work on a signal
instead of wasting paper every string update, changes the flashlight
color change to do the same, fixes the on/off signal not turning the
console on, and fixes the signal for the console turning off not
functioning.

## Why It's Good For The Game
Besides the bug fixes, this makes the console components more consistent
with every other circuit component. The refactor is to prevent worrying
about nulls for colors or errors because of early returns.

## Changelog
:cl:
fix: computers with no lights can now turn on using the on/off signal
fix: RGB lights on PDA circuits now use a signal
fix: the is_off signal now works on consoles
fix: printing text on a console component now uses a signal
refactor: each input signal in console circuits now have their own proc
/:cl:
Chowder-McArthor pushed a commit to Chowder-McArthor/desertbus13 that referenced this pull request Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fix Rewrites a bug so it appears in different circumstances Refactor Makes the code harder to read
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants