mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 06:57:42 +01:00
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:
@@ -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>
|
||||
|
||||
+83
-83
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user