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

[MIRROR] Fixes ore vent descriptions stacking, fixes potential exploits with ore vent scanning #1765

Merged
merged 1 commit into from
Jan 31, 2024

Conversation

Steals-The-PRs
Copy link
Collaborator

Mirrored on Nova: NovaSector/NovaSector#690
Original PR: tgstation/tgstation#81174

About The Pull Request

  • Scanning ore vents did a do_after to do the actual scan, but if the do_after failed, it didn't cancel the scan proc, and rewarded you points anyways. So you could just keep cancelling the scan for free points?

  • Also there was nothing preventing someone from stacking scans on the same vent

  • Also, when generating the ore description, always override existing descriptions. Given generate_description can be called multiple times, prevents it from stacking on itself.

Changelog

🆑 Melbert
fix: Fixed ore vent descriptions looking weird sometimes
fix: Fixed being able to scan an ore vent multiple times at once
fix: Fixed gaining scan points from scannning an ore vent without finishing the scan
/:cl:

…ts with ore vent scanning (#690)

* Fixes ore vent descriptions stacking, fixes potential exploits with ore vent scanning (#81174)

## About The Pull Request

- Scanning ore vents did a do_after to do the actual scan, but if the
do_after failed, it didn't cancel the scan proc, and rewarded you points
anyways. So you could just keep cancelling the scan for free points?

- Also there was nothing preventing someone from stacking scans on the
same vent

- Also, when generating the ore description, always override existing
descriptions. Given `generate_description` can be called multiple times,
prevents it from stacking on itself.

## Changelog

:cl: Melbert
fix: Fixed ore vent descriptions looking weird sometimes
fix: Fixed being able to scan an ore vent multiple times at once
fix: Fixed gaining scan points from scannning an ore vent without
finishing the scan
/:cl:

* Fixes ore vent descriptions stacking, fixes potential exploits with ore vent scanning

---------

Co-authored-by: MrMelbert <[email protected]>
@ReezeBL ReezeBL merged commit c0e5e14 into master Jan 31, 2024
23 checks passed
@ReezeBL ReezeBL deleted the upstream-mirror-690 branch January 31, 2024 07:17
AnywayFarus added a commit that referenced this pull request Jan 31, 2024
Iajret pushed a commit that referenced this pull request Apr 2, 2024
* Improved lathe error message (#82260)

## About The Pull Request

Improves the auto/protolathe low charge error message. Instead of simply
saying low power, it will tell you how long until it has enough charge
to print.


![image](https://github.com/tgstation/tgstation/assets/83487515/a2aebd3e-b7bf-4a13-ae7a-6c1cc14c9057)

## Why It's Good For The Game

Less mashing the lathe over and over with no idea how much APC charge it
needs to start printing again

## Changelog

:cl: LT3
code: APCs can now calculate time-to-charge
qol: Overloaded lathes will now tell you the wait time until they're
ready to print again
/:cl:

---------

Co-authored-by: san7890 <[email protected]>

* Improved lathe error message

---------

Co-authored-by: lessthanthree <[email protected]>
Co-authored-by: san7890 <[email protected]>
ReezeBL pushed a commit that referenced this pull request Apr 3, 2024
* Improved lathe error message (#82260)

## About The Pull Request

Improves the auto/protolathe low charge error message. Instead of simply
saying low power, it will tell you how long until it has enough charge
to print.


![image](https://github.com/tgstation/tgstation/assets/83487515/a2aebd3e-b7bf-4a13-ae7a-6c1cc14c9057)

## Why It's Good For The Game

Less mashing the lathe over and over with no idea how much APC charge it
needs to start printing again

## Changelog

:cl: LT3
code: APCs can now calculate time-to-charge
qol: Overloaded lathes will now tell you the wait time until they're
ready to print again
/:cl:

---------



* Improved lathe error message

---------

Co-authored-by: NovaBot <[email protected]>
Co-authored-by: lessthanthree <[email protected]>
Co-authored-by: san7890 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants