Wallening-style directional mirrors (#85818)

<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may
not be viewable. -->
<!-- You can view Contributing.MD for a detailed description of the pull
request process. -->

## About The Pull Request
Updates mirrors to fit wallening's style, sadly this does mean making
them smaller and only noticably reflective when facing south.

![dreamseeker_54OsLqrkU1](https://github.com/user-attachments/assets/5d34f87d-36d3-41db-bd06-4ae543ddfccf)

![dreamseeker_gUTS0N9Eah](https://github.com/user-attachments/assets/916edbc8-daa4-4ed3-81aa-9db8a24ad340)

Closes #85836
Closes #77476

<!-- Describe The Pull Request. Please be sure every change is
documented or this can delay review and even discourage maintainers from
merging your PR! -->

## Why It's Good For The Game

Currently they look like floating plates near walls instead of being
actual mirrors

## Changelog

<!-- If your PR modifies aspects of the game that can be concretely
observed by players or admins you should add a changelog. If your change
does NOT meet this description, remove this section. Be sure to properly
mark your PRs to prevent unnecessary GBP loss. You can read up on GBP
and its effects on PRs in the tgstation guides for contributors. Please
note that maintainers freely reserve the right to remove and add tags
should they deem it appropriate. You can attempt to finagle the system
all you want, but it's best to shoot for clear communication right off
the bat. -->

🆑
image: Mirrors have been successfully wallened
/🆑

<!-- Both 🆑's are required for the changelog to work! You can put
your name to the right of the first 🆑 if you want to overwrite your
GitHub username as author ingame. -->
<!-- You can use multiple of the same prefix (they're only used for the
icon ingame) and delete the unneeded ones. Despite some of the tags,
changelogs should generally represent how a player might be affected by
the changes rather than a summary of the PR's contents. -->
This commit is contained in:
SmArtKar
2024-08-15 19:40:02 +02:00
committed by GitHub
parent 07224d8607
commit acad706c1f
4 changed files with 12 additions and 15 deletions
+1 -3
View File
@@ -124,9 +124,7 @@
///The filter is added to the reflection holder; the matrix is not, otherwise that'd go affecting the filter.
if(reflection_matrix)
reflection.transform = reflection_matrix
if(reflected_dir == NORTH)
reflection.transform = reflection.transform.Scale(1, -1)
else if(reflected_dir != SOUTH)
if(reflected_dir != NORTH && reflected_dir != SOUTH)
reflection.transform = reflection.transform.Scale(-1, 1)
LAZYSET(reflected_movables, target, reflection)
reflection_holder.vis_contents += reflection