[MIRROR] Removes Bombgers, by vibe checking your TTV bomb in the deep frying process [MDB IGNORE] (#17865)

* Removes Bombgers, by vibe checking your TTV bomb in the deep frying process (#71550)

<!-- 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

TTVs now open their valve when deep fried. This either KERBLOOEYS the
kitchen, or proves the TTV is inert, and as such we don't care if it
goes in custom food or whatever. But that's a separate problem, letting
larger items enter smaller foods, or rather letting smaller foods stay
small when large items enter them

Fixes #71547
Closes #71548

## Why It's Good For The Game

God never intended for TTVs to be turned into easily concealed,
explosively delicious food. But I like my solution more than a
blacklist~

## 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 it's 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. -->

🆑
fix: TTVs can have an explosive reaction from deepfrying.
/🆑

<!-- 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. -->

Co-authored-by: Time-Green <timkoster1@ hotmail.com>

* Removes Bombgers, by vibe checking your TTV bomb in the deep frying process

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
Co-authored-by: Time-Green <timkoster1@ hotmail.com>
This commit is contained in:
SkyratBot
2022-12-02 00:01:42 +00:00
committed by GitHub
co-authored by Time-Green tralezab
parent cd1be3e523
commit f4d302d5e5
2 changed files with 10 additions and 1 deletions
@@ -16,6 +16,10 @@
var/valve_open = FALSE
var/toggle = TRUE
/obj/item/transfer_valve/Initialize(mapload)
. = ..()
RegisterSignal(src, COMSIG_ITEM_FRIED, PROC_REF(on_fried))
/obj/item/transfer_valve/Destroy()
attached_device = null
return ..()
@@ -225,6 +229,12 @@
/obj/item/transfer_valve/proc/c_state()
return
///Signal when deep fried, so it can have an explosive reaction!
/obj/item/transfer_valve/proc/on_fried(datum/source, fry_time)
SIGNAL_HANDLER
log_bomber(null, "TTV valve opened via deepfrying", src, "last fingerprints = [fingerprintslast]")
toggle_valve()
/obj/item/transfer_valve/ui_state(mob/user)
return GLOB.hands_state
@@ -10,7 +10,6 @@ GLOBAL_LIST_INIT(oilfry_blacklisted_items, typecacheof(list(
/obj/item/reagent_containers/condiment,
/obj/item/delivery,
/obj/item/his_grace,
/obj/item/transfer_valve,
)))
/obj/machinery/deepfryer//SKYRAT EDIT - ICON OVERRIDEN BY AESTHETICS - SEE MODULE