[MIRROR] Strips byondUI procs not needed for TGUI interaction (#11740)

Co-authored-by: Will <7099514+Willburd@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-09-26 06:21:19 -07:00
committed by GitHub
parent 86ea1891f4
commit 1706d86e50
19 changed files with 0 additions and 45 deletions

View File

@@ -105,7 +105,6 @@
/obj/machinery/computer/area_atmos/proc/scanscrubbers_user(mob/user) //Used when the user is in the UI and scans for scrubbers.
scanscrubbers()
updateUsrDialog(user)
// The one that only works in the same map area
/obj/machinery/computer/area_atmos/area
@@ -125,7 +124,6 @@
/obj/machinery/computer/area_atmos/area/scanscrubbers_user(mob/user) //Used when the user is in the UI and scans for scrubbers.
scanscrubbers()
updateUsrDialog(user)
/obj/machinery/computer/area_atmos/area/validscrubber(var/obj/machinery/portable_atmospherics/powered/scrubber/huge/scrubber)
if(!istype(scrubber))

View File

@@ -247,7 +247,6 @@
user.remove_from_mob(O)
O.loc = src
beaker = O
updateUsrDialog(user)
else if(processing)
to_chat(user, span_notice("\The [src] is currently processing."))
else if(istype(O, /obj/item/storage/bag/plants))

View File

@@ -81,7 +81,6 @@
/obj/machinery/organ_printer/attackby(var/obj/item/O, var/mob/user)
if(default_deconstruction_screwdriver(user, O))
updateUsrDialog(user)
return
if(default_deconstruction_crowbar(user, O))
return

View File

@@ -279,7 +279,6 @@
return 0
connected.temp = "[name] : [message]"
connected.updateUsrDialog()
return 1
/obj/machinery/clonepod/RefreshParts()

View File

@@ -110,7 +110,6 @@
copy_board = O
O.forceMove(src)
user.visible_message("[user] inserts [O] into \the [src]'s circuit reader.", span_notice("You insert [O] into \the [src]'s circuit reader."))
updateUsrDialog(user)
return
if(try_load_materials(user, O))
return
@@ -136,7 +135,6 @@
count++
user.visible_message("[user] inserts [S.name] into \the [src].", span_notice("You insert [count] [S.name] into \the [src]."))
flick("partslathe-load-[S.material.name]", src)
updateUsrDialog(user)
else
to_chat(user, span_warning("\The [src] cannot hold more [S.name]."))
return 1

View File

@@ -536,7 +536,6 @@
if(allowed(user))
locked = !locked
to_chat(user, span_notice("Controls are now [locked ? "locked" : "unlocked"]."))
updateUsrDialog(user)
else
to_chat(user, span_notice("Access denied."))

View File

@@ -174,15 +174,12 @@ GLOBAL_LIST_EMPTY(suit_cycler_typecache)
add_fingerprint(user)
qdel(G)
updateUsrDialog(user)
return
else if(I.has_tool_quality(TOOL_SCREWDRIVER))
panel_open = !panel_open
playsound(src, I.usesound, 50, 1)
to_chat(user, "You [panel_open ? "open" : "close"] the maintenance panel.")
updateUsrDialog(user)
return
else if(istype(I,/obj/item/clothing/head/helmet/space/void) && !istype(I, /obj/item/clothing/head/helmet/space/rig))
@@ -220,7 +217,6 @@ GLOBAL_LIST_EMPTY(suit_cycler_typecache)
helmet = I
update_icon()
updateUsrDialog(user)
return
else if(istype(I,/obj/item/clothing/suit/space/void))
@@ -260,7 +256,6 @@ GLOBAL_LIST_EMPTY(suit_cycler_typecache)
suit = I
update_icon()
updateUsrDialog(user)
return
..()
@@ -276,7 +271,6 @@ GLOBAL_LIST_EMPTY(suit_cycler_typecache)
emagged = 1
safeties = 0
req_access = list()
updateUsrDialog(user)
return 1
/obj/machinery/suit_cycler/attack_hand(mob/user as mob)
@@ -479,7 +473,6 @@ GLOBAL_LIST_EMPTY(suit_cycler_typecache)
icon_state = initial(icon_state)
active = 0
playsound(src, 'sound/machines/boobeebeep.ogg', 50)
updateUsrDialog(user)
/obj/machinery/suit_cycler/proc/repair_suit()
if(!suit || !suit.damage || !suit.can_breach)
@@ -517,7 +510,6 @@ GLOBAL_LIST_EMPTY(suit_cycler_typecache)
occupant = null
add_fingerprint(user)
updateUsrDialog(user)
update_icon()
return

View File

@@ -263,7 +263,6 @@
if(OCCUPANT && !islocked)
islocked = 1 //Let's lock it for good measure
update_icon()
updateUsrDialog(user)
var/i //our counter
for(i=0,i<4,i++)
@@ -302,7 +301,6 @@
eject_occupant(OCCUPANT) //Mixing up these two lines causes bug. DO NOT DO IT.
isUV = 0 //Cycle ends
update_icon()
updateUsrDialog(user)
return
/obj/machinery/suit_storage_unit/proc/cycletimeleft()
@@ -343,7 +341,6 @@
return
eject_occupant(usr)
add_fingerprint(usr)
updateUsrDialog(usr)
update_icon()
return
@@ -375,7 +372,6 @@
update_icon()
add_fingerprint(usr)
updateUsrDialog(usr)
return
else
OCCUPANT = null //Testing this as a backup sanity test
@@ -389,7 +385,6 @@
panelopen = !panelopen
playsound(src, I.usesound, 100, 1)
to_chat(user, span_notice("You [panelopen ? "open up" : "close"] the unit's maintenance panel."))
updateUsrDialog(user)
return
if(istype(I, /obj/item/grab))
var/obj/item/grab/G = I
@@ -417,7 +412,6 @@
add_fingerprint(user)
qdel(G)
updateUsrDialog(user)
update_icon()
return
return
@@ -433,7 +427,6 @@
S.loc = src
SUIT = S
update_icon()
updateUsrDialog(user)
return
if(istype(I,/obj/item/clothing/head/helmet))
if(!isopen)
@@ -447,7 +440,6 @@
H.loc = src
HELMET = H
update_icon()
updateUsrDialog(user)
return
if(istype(I,/obj/item/clothing/mask))
if(!isopen)
@@ -461,10 +453,8 @@
M.loc = src
MASK = M
update_icon()
updateUsrDialog(user)
return
update_icon()
updateUsrDialog(user)
return

View File

@@ -149,7 +149,6 @@
playsound(src, 'sound/effects/sparks4.ogg', 75, 1)
emagged = 1
to_chat(user, span_notice("You you disable the security protocols"))
updateUsrDialog(user)
return 1
/obj/machinery/computer/telecomms/server/proc/set_temp(var/text, var/color = "average")

View File

@@ -121,7 +121,6 @@
playsound(src, 'sound/effects/sparks4.ogg', 75, 1)
emagged = 1
to_chat(user, span_notice("You you disable the security protocols"))
src.updateUsrDialog(user)
return 1
/obj/machinery/computer/telecomms/monitor/proc/set_temp(var/text, var/color = "average")