mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
makes integrated circuits less window spammy (#39168)
putting a cell and other not intended actions dont open the circuit window
This commit is contained in:
committed by
Emmett Gaines
parent
6a2bc5fd77
commit
2f6f52a2a3
@@ -440,7 +440,6 @@
|
||||
if(!user.canUnEquip(I))
|
||||
return FALSE
|
||||
if(try_add_component(I, user))
|
||||
interact(user)
|
||||
return TRUE
|
||||
else
|
||||
for(var/obj/item/integrated_circuit/input/S in assembly_components)
|
||||
@@ -473,7 +472,6 @@
|
||||
diag_hud_set_circuitstat() //update diagnostic hud
|
||||
playsound(get_turf(src), 'sound/items/Deconstruct.ogg', 50, 1)
|
||||
to_chat(user, "<span class='notice'>You slot \the [cell] inside \the [src]'s power supplier.</span>")
|
||||
interact(user)
|
||||
return TRUE
|
||||
else if(istype(I, /obj/item/integrated_electronics/detailer))
|
||||
var/obj/item/integrated_electronics/detailer/D = I
|
||||
|
||||
@@ -53,7 +53,6 @@
|
||||
return TRUE
|
||||
to_chat(user, "<span class='notice'>You install [O] into [src]. </span>")
|
||||
upgraded = TRUE
|
||||
interact(user)
|
||||
return TRUE
|
||||
|
||||
if(istype(O, /obj/item/disk/integrated_circuit/upgrade/clone))
|
||||
@@ -62,7 +61,6 @@
|
||||
return TRUE
|
||||
to_chat(user, "<span class='notice'>You install [O] into [src]. Circuit cloning will now be instant. </span>")
|
||||
fast_clone = TRUE
|
||||
interact(user)
|
||||
return TRUE
|
||||
|
||||
if(istype(O, /obj/item/electronic_assembly))
|
||||
|
||||
Reference in New Issue
Block a user