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] Pipe painting, spraycan preset colors #605

Merged
merged 1 commit into from
Nov 13, 2023
Merged

Conversation

Steals-The-PRs
Copy link
Collaborator

Mirrored on Skyrat: Skyrat-SS13/Skyrat-tg#24974
Original PR: tgstation/tgstation#79521

dreamseeker_AZs0erdnrs

About The Pull Request

Made pipe painter properly paint pipe colors, work on pipe items, and added the same functionality to regular spraycans.

Spraycans now have the color presets in UI for easier selection of the valid pipe colors.

Why It's Good For The Game

Bug fixing is good.
It was weird that spraycans couldn't paint pipes, but some other device could.
Also custom spraycan color is too clunky, presets are nice for quick spraycan color selection.

Changelog

🆑 MTandi
fix: fixed pipe painter not applying pipe color properly
qol: made spraycans work also as pipe painters
qol: spraycans now have basic color presets for quick selection
/:cl:

* Pipe painting, spraycan preset colors (#79521)

![dreamseeker_AZs0erdnrs](https://github.com/tgstation/tgstation/assets/3625094/06a12d22-387b-4a33-8b61-59bbe3495c82)

## About The Pull Request

Made pipe painter properly paint pipe colors, work on pipe items, and
added the same functionality to regular spraycans.

Spraycans now have the color presets in UI for easier selection of the
valid pipe colors.

## Why It's Good For The Game

Bug fixing is good.
It was weird that spraycans couldn't paint pipes, but some other device
could.
Also custom spraycan color is too clunky, presets are nice for quick
spraycan color selection.

## Changelog

:cl:
fix: fixed pipe painter not applying pipe color properly
qol: made spraycans work also as pipe painters
qol: spraycans now have basic color presets for quick selection
/:cl:

* Pipe painting, spraycan preset colors

---------

Co-authored-by: Andrew <[email protected]>
@Iajret Iajret merged commit 6ba3438 into master Nov 13, 2023
24 checks passed
@Iajret Iajret deleted the upstream-mirror-24974 branch November 13, 2023 18:43
AnywayFarus added a commit that referenced this pull request Nov 13, 2023
Iajret pushed a commit that referenced this pull request Jan 25, 2024
* Kidnapping traitor objective properly returns victim (#81081)

## About The Pull Request
Fixes #81022 
The original idea was for kidnapping victims to be returned to the same
area they were kidnapped from (dropoff_area), but this was always a
typepath to an area and not a datum reference (and was set to null
immediately after kidnapping with ungenerate_objective()) and it always
fell back to the get_safe_random_station_turf() method. This worked fine
until #80644 attempted to optimize it, causing a runtime and returning
early.

This removes the code to return them to the same area and instead just
uses get_safe_random_station_turf(), runtime-free.
## Why It's Good For The Game
Kidnapping victims now actually return to the station after 3 minutes
with their stuff. I think returning to a random area is cooler than the
same area they were sent from anyways, I can imagine a traitor just
waiting it out if they wanted them dead and unable to snitch.
## Changelog
:cl:
fix: Kidnapping traitor objective now properly returns the victim to the
station with their items
/:cl:

* Kidnapping traitor objective properly returns victim

---------

Co-authored-by: Isratosh <[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