[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

@@ -257,7 +257,6 @@
S.use(1)
count++
user.visible_message("\The [user] inserts [S.name] into \the [src].", span_notice("You insert [count] [S.name] into \the [src]."))
updateUsrDialog(user)
else
to_chat(user, span_warning("\The [src] cannot hold more [S.name]."))
return 1

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")

View File

@@ -134,7 +134,6 @@
isopen = 0
update_icon()
add_fingerprint(M)
updateUsrDialog(M)
M.stop_flying()
/obj/machinery/vending/stumble_into(mob/living/M)

View File

@@ -341,8 +341,6 @@
else
continue
console.updateUsrDialog()
#undef PROCESS_NONE
#undef PROCESS_SMELT
#undef PROCESS_COMPRESS

View File

@@ -129,7 +129,4 @@
var/stacktype = stack_paths[sheet]
new stacktype (get_turf(output), stack_amt)
stack_storage[sheet] -= stack_amt
if(console)
console.updateUsrDialog()
return

View File

@@ -278,7 +278,6 @@
to_chat(user, span_notice("You add [amount] sheet\s to the [src.name]."))
sheets += amount
addstack.use(amount)
updateUsrDialog(user)
return
else if(!active)
if(O.has_tool_quality(TOOL_WRENCH))

View File

@@ -44,7 +44,6 @@
O.loc = src
update_icon()
to_chat(user, span_notice("You place the [O] in the alembic."))
src.updateUsrDialog(user)
return
else if(istype(O,/obj/item/potion_base))
if(base_reagent != 0 )
@@ -56,7 +55,6 @@
O.loc = src
update_icon()
to_chat(user, span_notice("You place the [O] in the alembic."))
src.updateUsrDialog(user)
return
else
to_chat(user, span_warning("This item is no use in the alembic."))

View File

@@ -75,7 +75,6 @@
user.drop_item()
O.loc = src
update_icon()
updateUsrDialog(user)
return 0
if(holdingitems && holdingitems.len >= limit)
@@ -106,7 +105,6 @@
else
to_chat(user, "You fill \the [src] from \the [O].")
src.updateUsrDialog(user)
return 0
if(istype(O,/obj/item/gripper))

View File

@@ -68,7 +68,6 @@
user.drop_item()
O.loc = src
update_icon()
src.updateUsrDialog(user)
return 0

View File

@@ -273,7 +273,6 @@
else
to_chat(user, "\the [src] cannot hold more [S.name].")
updateUsrDialog(user)
return
/obj/machinery/transhuman/synthprinter/update_icon()
@@ -379,7 +378,6 @@
var/mob/M = G.affecting
if(put_mob(M))
qdel(G)
src.updateUsrDialog(user)
return //Don't call up else we'll get attack messsages
if(istype(W, /obj/item/paicard/sleevecard))
var/obj/item/paicard/sleevecard/C = W
@@ -415,10 +413,8 @@
if(put_mob(O))
if(O == user)
updateUsrDialog(user)
visible_message("[user] climbs into \the [src].")
else
updateUsrDialog(user)
visible_message("[user] puts [O] into \the [src].")
add_fingerprint(user)