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] Cups end their attack chain early when attacked with specific items #1030

Merged
merged 1 commit into from
Dec 9, 2023

Conversation

Steals-The-PRs
Copy link
Collaborator

Mirrored on Skyrat: Skyrat-SS13/Skyrat-tg#25495
Original PR: tgstation/tgstation#80140

About The Pull Request

  • Fixes #80132

The problem lies in /obj/item/reagent_containers/cup/attackby() proc. We want this to return TRUE when dealing with specific items(like eggs, fire extinguishers) so that the attack chain ends early and subtypes like the soup pot has the correct behaviour

Changelog

🆑 SyncIt21
fix: Eggs don't leave behind their shells when cracked into a soup pot. Cups end their attack chain early when dealing with specific items
/:cl:

…c items [MDB IGNORE] (#25495)

* Cups end their attack chain early when attacked with specific items (#80140)

## About The Pull Request
- Fixes #80132

The problem lies in `/obj/item/reagent_containers/cup/attackby()` proc.
We want this to return TRUE when dealing with specific items(like eggs,
fire extinguishers) so that the attack chain ends early and subtypes
like the soup pot has the correct behaviour

## Changelog
:cl:
fix: Eggs don't leave behind their shells when cracked into a soup pot.
Cups end their attack chain early when dealing with specific items
/:cl:

* Cups end their attack chain early when attacked with specific items

---------

Co-authored-by: SyncIt21 <[email protected]>
@Iajret Iajret merged commit 2f792cf into master Dec 9, 2023
23 checks passed
@Iajret Iajret deleted the upstream-mirror-25495 branch December 9, 2023 13:22
AnywayFarus added a commit that referenced this pull request Dec 9, 2023
Iajret pushed a commit that referenced this pull request Feb 18, 2024
* BBQ ribs can be grilled & adds qdel checks for grills (#81536)

## About The Pull Request
- Fixes #81511. BBQ ribs can be grilled again and takes anywhere between
30 to 40 seconds to get proper grilled ribs or turn into a mouldy mess.
20 seconds would only yield lightly grilled ribs and that's not good.
- Grill checks if the item got deleted to avoid runtimes. Also cook time
is set based on the individual items type & not a constant of 20 seconds

## Changelog
:cl:
fix: Grill checks if the item got deleted to avoid runtimes. Also cook
time is set based on the individual items type & not a constant of 20
seconds
fix: BBQ ribs can be grilled on a grill but now takes anywhere between
30 to 40 seconds to get proper smoked ribs and not lightly smoked ribs
or turn into a mouldy mess on a girddle. Delicious.
/:cl:

---------

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

* BBQ ribs can be grilled & adds qdel checks for grills

---------

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