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] Add smooth transition between hidden and visible pipes #2304

Merged
merged 1 commit into from
Mar 8, 2024

Conversation

Steals-The-PRs
Copy link
Collaborator

Mirrored on Nova: NovaSector/NovaSector#1293
Original PR: tgstation/tgstation#81800

About The Pull Request

  • Adds smooth transition between hidden and visible pipes, AKA “caps” and updates automated pipe icon generator to account mentioned changes.
  • Adds centering to missed atmos machinery, for example, unary vent is almost identical to passive, but the second one wasn't centered while hidden.
  • Fixes visual bug with extra and unremovable by normal means pixel offset on pipes constructed from /obj/item/pipe.
  • Fixes visual bug with visible cap on a hidden connector.

I'm really sorry for this mess, but one-line fixes are okay, or are they?

Why It's Good For The Game

We're playing atmospherics simulator and pipes play an essential role in our rounds, people see them all the time and that's why pipes deserve to look a bit better. This project aims to resolve said issue by adding transition states, in current implementation they're just cut off when connected to a hidden segment.

Screenshots

Before:
dreamseeker_N9kXd8k5a9

After:
dreamseeker_qxQepWXHwh

Extra:
dreamseeker_Lz0a55VoCE

Changelog

🆑 intercepti0n
fix: Pipe connector no longer appears on a hidden connector.
fix: Re-wrenched atmospherics pipes no longer get extra offset.
fix: All unary devices like injectors, passive vents etc. are centered while hidden.
image: Added smooth transition between hidden and visible pipes.
/:cl:

* Add smooth transition between hidden and visible pipes (#81800)

## About The Pull Request

- Adds smooth transition between hidden and visible pipes, AKA “caps”
and updates automated pipe icon generator to account mentioned changes.
- Adds centering to missed atmos machinery, for example, unary vent is
almost identical to passive, but the second one wasn't centered while
hidden.
- Fixes visual bug with extra and unremovable by normal means pixel
offset on pipes constructed from `/obj/item/pipe`.
- Fixes visual bug with visible cap on a hidden connector. 

I'm really sorry for this mess, but one-line fixes are okay, or are
they?

## Why It's Good For The Game

We're playing atmospherics simulator and pipes play an essential role in
our rounds, people see them all the time and that's why pipes deserve to
look a bit better. This project aims to resolve said issue by adding
transition states, in current implementation they're just cut off when
connected to a hidden segment.

<details>
<summary>Screenshots</summary>

Before:

![dreamseeker_N9kXd8k5a9](https://github.com/tgstation/tgstation/assets/137328283/1e9915fc-53e6-4411-baa8-22ed67c0708e)

After:

![dreamseeker_qxQepWXHwh](https://github.com/tgstation/tgstation/assets/137328283/72778646-46f5-4ebf-9988-10a87ead9768)

Extra:

![dreamseeker_Lz0a55VoCE](https://github.com/tgstation/tgstation/assets/137328283/2b198ba9-74b1-4e54-901e-a72ab3af0a6a)


</details>

## Changelog

:cl:
fix: Pipe connector no longer appears on a hidden connector.
fix: Re-wrenched atmospherics pipes no longer get extra offset.
fix: All unary devices like injectors, passive vents etc. are centered
while hidden.
image: Added smooth transition between hidden and visible pipes.
/:cl:

---------

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

* Add smooth transition between hidden and visible pipes

---------

Co-authored-by: Interception&? <[email protected]>
Co-authored-by: san7890 <[email protected]>
@ReezeBL ReezeBL merged commit 340a736 into master Mar 8, 2024
28 checks passed
@ReezeBL ReezeBL deleted the upstream-mirror-1293 branch March 8, 2024 09:32
AnywayFarus added a commit that referenced this pull request Mar 8, 2024
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