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] Infrared Emitters use beam datums (As God intended) #2486

Merged
merged 1 commit into from
Mar 20, 2024

Conversation

Steals-The-PRs
Copy link
Collaborator

Mirrored on Nova: NovaSector/NovaSector#1539
Original PR: tgstation/tgstation#82094

About The Pull Request

Fixes #64459
Fixes #82052 , probably
Fixes #79747 , probably
Fixes #81443

Infrared emitters now use beam datums instead of making their own effects and trying to Move it out until it hits something

This means

  1. Infrared emitters are (probably) more responsive
  2. Infrared emitters (probably) react to less things they shouldn't react to (such as projectiles)

This also means

  • Infrared emitters (when visible) are emissive (and glow in the dark slightly). Kinda neat? If you don't want it you can obviously just make it invisible
  • You can limbo under beams? Maybe you can do that already? IDK

Other notes

  • Beams no longer set their beam component's x, y directly, now using forceMove

image

image

2024-03-18.19-46-34.mp4

Changelog

🆑 Melbert
refactor: Infrared emitters now function better (or at least more how you would expect them) (hopefully). Report any oddities
/:cl:

* Infrared Emitters use beam datums (As God intended)  (#82094)

## About The Pull Request

Fixes #64459 
Fixes #82052  , probably
Fixes #79747 , probably
Fixes #81443 

Infrared emitters now use beam datums instead of making their own
effects and trying to `Move` it out until it hits something

This means 

1. Infrared emitters are (probably) more responsive
2. Infrared emitters (probably) react to less things they shouldn't
react to (such as projectiles)

This also means

- Infrared emitters (when visible) are emissive (and glow in the dark
slightly). Kinda neat? If you don't want it you can obviously just make
it invisible
- You can limbo under beams? Maybe you can do that already? IDK

Other notes

- Beams no longer set their beam component's `x`, `y` directly, now
using `forceMove`


![image](https://github.com/tgstation/tgstation/assets/51863163/1d516703-1f95-4c8e-a83b-89acaf20e5af)


![image](https://github.com/tgstation/tgstation/assets/51863163/ddb8eb51-f787-4def-82bd-8c2b878327f6)


https://github.com/tgstation/tgstation/assets/51863163/29b76b58-ef36-4c4a-a3b2-017b625389dd

## Changelog

:cl: Melbert
refactor: Infrared emitters now function better (or at least more how
you would expect them) (hopefully). Report any oddities
/:cl:

* Infrared Emitters use beam datums (As God intended)

---------

Co-authored-by: MrMelbert <[email protected]>
@ReezeBL ReezeBL merged commit 2075afa into master Mar 20, 2024
24 checks passed
@ReezeBL ReezeBL deleted the upstream-mirror-1539 branch March 20, 2024 07:31
AnywayFarus added a commit that referenced this pull request Mar 20, 2024
Iajret pushed a commit that referenced this pull request May 15, 2024
… it stops spamming logs (#2486)

* Moves the departmental delivery area check to a unit test so it stops spamming logs (#83215)

## About The Pull Request

So, thanks to the map not being loaded yet when jobs are initialized,
the logs are needlessly spammed by a check that can never pass.

![image](https://github.com/tgstation/tgstation/assets/49160555/add92847-9d41-49b0-a951-4f40fdfd283f)

Also adds some possible locations to engineering and science

As such, I just moved all this logging stuff and screaming at
mappers/coders into a unit test. I honestly only have very vague
understanding of how these work so someone with more knowledge please
check if I did everything right.

* Moves the departmental delivery area check to a unit test so it stops spamming logs

---------

Co-authored-by: Waterpig <[email protected]>
Co-authored-by: NovaBot13 <[email protected]>
ReezeBL pushed a commit that referenced this pull request May 16, 2024
… it stops spamming logs (#2486) (#3323)

* Moves the departmental delivery area check to a unit test so it stops spamming logs (#83215)

## About The Pull Request

So, thanks to the map not being loaded yet when jobs are initialized,
the logs are needlessly spammed by a check that can never pass.

![image](https://github.com/tgstation/tgstation/assets/49160555/add92847-9d41-49b0-a951-4f40fdfd283f)

Also adds some possible locations to engineering and science

As such, I just moved all this logging stuff and screaming at
mappers/coders into a unit test. I honestly only have very vague
understanding of how these work so someone with more knowledge please
check if I did everything right.

* Moves the departmental delivery area check to a unit test so it stops spamming logs

---------

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