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

Data detector tweaks #6194

Merged
merged 4 commits into from
May 10, 2024
Merged

Data detector tweaks #6194

merged 4 commits into from
May 10, 2024

Conversation

Tyranicranger4
Copy link
Contributor

@Tyranicranger4 Tyranicranger4 commented Apr 26, 2024

About the pull request

Makes it so that empty vial boxes don't trigger a data detector ping.
Also makes it so that empty randomchem vials don't trigger a data detector ping.

The former is a bugfix as there is already (non-functional) code in place to try and achieve this result (see: #3595).
The latter is not a bugfix, but I believe fits nicely into this PR.

Note that this will still ping vial boxes containing empty vials. However, I believe this is a fine outcome since there is a low chance for a vial box to spawn with only empty vials, and I do believe those should still be pinged until someone checks and empties them.

Explain why it's good for the game

There's no reason for empty vial boxes or emptied vials to show up on the data detector.
Fixing non-functional code is good.

Testing Photographs and Procedure

Testing Evidence

Shows that both the intended result of this PR has been achieved and that nothing else regarding the detector has regressed in the process.

https://streamable.com/c7hyn6

Changelog

🆑
qol: Emptied randomchem vials no longer show up on the data detector
fix: Fixes empty vial storage boxes showing up on the data detector
/:cl:

@github-actions github-actions bot added Quality of Life Make the game harder to play Fix Fix one bug, make ten more labels Apr 26, 2024
@Drulikar Drulikar marked this pull request as draft April 26, 2024 23:51
@Tyranicranger4 Tyranicranger4 marked this pull request as ready for review April 27, 2024 09:15
code/game/objects/items/devices/data_detector.dm Outdated Show resolved Hide resolved
code/game/objects/items/devices/data_detector.dm Outdated Show resolved Hide resolved
code/game/objects/items/devices/data_detector.dm Outdated Show resolved Hide resolved
code/game/objects/items/devices/data_detector.dm Outdated Show resolved Hide resolved
code/game/objects/items/devices/data_detector.dm Outdated Show resolved Hide resolved
code/game/objects/items/devices/data_detector.dm Outdated Show resolved Hide resolved
@Drulikar Drulikar marked this pull request as draft May 3, 2024 05:33
@Drulikar Drulikar added the Good First PR From small acorns label May 3, 2024
@Tyranicranger4 Tyranicranger4 marked this pull request as ready for review May 7, 2024 03:34
code/game/objects/items/devices/data_detector.dm Outdated Show resolved Hide resolved
code/game/objects/items/devices/data_detector.dm Outdated Show resolved Hide resolved
code/game/objects/items/devices/data_detector.dm Outdated Show resolved Hide resolved
@Drulikar Drulikar enabled auto-merge May 10, 2024 09:17
@Drulikar Drulikar added this pull request to the merge queue May 10, 2024
Merged via the queue into cmss13-devs:master with commit 2e93534 May 10, 2024
26 checks passed
cm13-github added a commit that referenced this pull request May 10, 2024
@Tyranicranger4 Tyranicranger4 deleted the IO branch May 20, 2024 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fix Fix one bug, make ten more Good First PR From small acorns Quality of Life Make the game harder to play
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants