mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-22 19:47:47 +01:00
Strips byondUI procs not needed for TGUI interaction (#18563)
* all of these are moved to tgui * still uses topic * uses topic * uses topic * not needed
This commit is contained in:
@@ -341,8 +341,6 @@
|
||||
else
|
||||
continue
|
||||
|
||||
console.updateUsrDialog()
|
||||
|
||||
#undef PROCESS_NONE
|
||||
#undef PROCESS_SMELT
|
||||
#undef PROCESS_COMPRESS
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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))
|
||||
|
||||
@@ -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."))
|
||||
|
||||
@@ -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))
|
||||
|
||||
@@ -68,7 +68,6 @@
|
||||
user.drop_item()
|
||||
O.loc = src
|
||||
update_icon()
|
||||
src.updateUsrDialog(user)
|
||||
return 0
|
||||
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user