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 standard RPEDs not working on machines #2839

Merged
merged 1 commit into from
Apr 11, 2024

Conversation

Steals-The-PRs
Copy link
Collaborator

Mirrored on Nova: NovaSector/NovaSector#1919
Original PR: tgstation/tgstation#82528

About The Pull Request

Previously, exchange_parts(...) would cancel if both the NO_DECONSTRUCTION flag was set and you couldn't use your part replacer from a distance.
https://github.com/tgstation/tgstation/blob/1583cf0cc968cd9f5da2398035feb8d70d58bcf2/code/game/machinery/_machinery.dm#L958-L959
Our recent removal of NO_DECONSTRUCTION, however, has left this to only be the latter.
https://github.com/tgstation/tgstation/blob/f0ed4ba4ce6b114509c10ee2f36ab0af6d7c81d2/code/game/machinery/_machinery.dm#L956-L957
Buuuuut this makes it unconditionally cancel for normal RPEDs, instead of only blocking them if NO_DECONSTRUCTION was set.

As NO_DECONSTRUCTION is very much no longer relevant for this purpose, we simply remove the ranged RPED check altogether.
This fixes our issue.

Why It's Good For The Game

Fixes #82525.

Changelog

🆑 00-Steven
fix: Standard RPEDs work on machines again.
/:cl:

* Fixes standard RPEDs not working on machines (#82528)

## About The Pull Request

Previously, `exchange_parts(...)` would cancel if both the
`NO_DECONSTRUCTION` flag was set and you couldn't use your part replacer
from a distance.

https://github.com/tgstation/tgstation/blob/1583cf0cc968cd9f5da2398035feb8d70d58bcf2/code/game/machinery/_machinery.dm#L958-L959
Our recent removal of `NO_DECONSTRUCTION`, however, has left this to
_only_ be the latter.

https://github.com/tgstation/tgstation/blob/f0ed4ba4ce6b114509c10ee2f36ab0af6d7c81d2/code/game/machinery/_machinery.dm#L956-L957
Buuuuut this makes it unconditionally cancel for normal RPEDs, instead
of only blocking them if `NO_DECONSTRUCTION` was set.

As `NO_DECONSTRUCTION` is very much no longer relevant for this purpose,
we simply remove the ranged RPED check altogether.
This fixes our issue.
## Why It's Good For The Game

Fixes #82525.
## Changelog
:cl:
fix: Standard RPEDs work on machines again.
/:cl:

* Fixes standard RPEDs not working on machines

---------

Co-authored-by: _0Steven <[email protected]>
@ReezeBL ReezeBL merged commit d9195e9 into master Apr 11, 2024
26 checks passed
@ReezeBL ReezeBL deleted the upstream-mirror-1919 branch April 11, 2024 14:56
AnywayFarus added a commit that referenced this pull request Apr 11, 2024
Iajret pushed a commit that referenced this pull request Jun 5, 2024
…GNORE] (#2839)

* Updates wendigo, adamantine and berserker armor icons (#83677)

## About The Pull Request

Turns out people don't like DOOM or the armor packaged within, so here's
trying to resprite the berserker, adamsuit and wendigo armor on their
own, maybe the DOOM armor could be a armorless costume in the costume
vendor later on.

## Why It's Good For The Game
Better, newer icons, now excluding the unpopular DOOM armor.

![image](https://github.com/tgstation/tgstation/assets/61243846/6790f974-5127-4994-9904-ba21a74d74ce)

## Changelog

:cl:
image: New icons for berserker, godslayer and adamantine armor. Removes
the old icons.
/:cl:

* Updates wendigo, adamantine and berserker armor icons

---------

Co-authored-by: githubuser4141 <[email protected]>
Co-authored-by: NovaBot13 <[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