Makes it clear when the BSH is dirty (#29084)

* Makes it clear when the BSH is dirty

* Update tgui.bundle.js

* Update tgui.bundle.js

* Update tgui.bundle.js
This commit is contained in:
Migratingcocofruit
2025-05-30 20:29:13 +00:00
committed by GitHub
parent 8e8efd8e10
commit c042c6d874
4 changed files with 104 additions and 83 deletions
@@ -176,6 +176,12 @@
radio.follow_target = src
radio.config(list("Engineering" = 0))
/obj/machinery/power/bluespace_tap/examine(mob/user)
. = ..()
. += "An alien looking device that gathers all manner of objects from different dimensions"
if(dirty)
. += "It's gummed up with filth!"
/obj/machinery/power/bluespace_tap/cleaning_act(mob/user, atom/cleaner, cleanspeed, text_verb, text_description, text_targetname)
. = ..()
dirty = FALSE
@@ -68,6 +68,7 @@
var/datum/reagents/R = new /datum/reagents(50)
R.my_atom = tap
R.add_reagent(pick(gunk), 50)
tap.update_icon()
var/datum/effect_system/smoke_spread/chem/smoke = new
smoke.set_up(R, tap, TRUE)
@@ -52,6 +52,7 @@ export const BluespaceTap = (props, context) => {
powerUse,
availablePower,
emagged,
dirty,
autoShutown,
stabilizers,
stabilizerPower,
@@ -160,6 +161,19 @@ export const BluespaceTap = (props, context) => {
</Section>
</Collapsible>
<Section fill title="Output">
{dirty ? (
<Dimmer backgroundColor="rgba(63, 39, 18, 0.85)">
<Stack mb="30px" fontsize="256px">
<Stack.Item bold color="brown" fontsize="256px" textAlign="center">
Blockage Detected
<br />
Cleanup Required
</Stack.Item>
</Stack>
</Dimmer>
) : (
''
)}
<Stack>
<Stack.Item>
<Box>
File diff suppressed because one or more lines are too long