mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 02:16:05 +00:00
Fixed #6638
This commit is contained in:
@@ -201,9 +201,14 @@ var/list/camera_names=list()
|
||||
/*if (!wires.CanDeconstruct())
|
||||
user << "You can't reach into the camera's circuitry with the wires on the way."
|
||||
return*/
|
||||
if (istype(W, /obj/item/stack))
|
||||
var/obj/item/stack/sheet/mineral/plasma/s = W
|
||||
s.use(1)
|
||||
assembly.upgrades += new /obj/item/stack/sheet/mineral/plasma
|
||||
else
|
||||
if(!user.drop_item(W, src)) return
|
||||
assembly.upgrades += W
|
||||
user << "You attach the [W] into the camera's inner circuits."
|
||||
assembly.upgrades += W
|
||||
user.drop_item(W, src)
|
||||
update_icon()
|
||||
update_hear()
|
||||
cameranet.updateVisibility(src, 0)
|
||||
|
||||
@@ -128,9 +128,14 @@
|
||||
if(is_type_in_list(W, upgrades))
|
||||
user << "The assembly already has \a [W] inside!"
|
||||
return
|
||||
if (istype(W, /obj/item/stack))
|
||||
var/obj/item/stack/sheet/mineral/plasma/s = W
|
||||
s.use(1)
|
||||
upgrades += new /obj/item/stack/sheet/mineral/plasma
|
||||
else
|
||||
if(!user.drop_item(W, src)) return
|
||||
upgrades += W
|
||||
user << "You attach the [W] into the assembly inner circuits."
|
||||
upgrades += W
|
||||
user.drop_item(W, src)
|
||||
return
|
||||
|
||||
// Taking out upgrades
|
||||
|
||||
Reference in New Issue
Block a user