Tape removes AI inbuilt Camera while Carded (#21443)

* Tape remove AI inbuilt Camera while Carded

* Allows tape removal after a long resist
This commit is contained in:
Komrad822
2023-07-01 10:41:24 +02:00
committed by GitHub
parent 1ff4f151bc
commit 4990d6a6da
5 changed files with 43 additions and 1 deletions
+6
View File
@@ -871,3 +871,9 @@ GLOBAL_DATUM_INIT(welding_sparks, /mutable_appearance, mutable_appearance('icons
/obj/item/proc/GetID()
return null
/obj/item/proc/add_tape()
return
/obj/item/proc/remove_tape()
return
+14
View File
@@ -123,3 +123,17 @@
AI.adjustOxyLoss(2)
sleep(10)
flush = FALSE
/obj/item/aicard/add_tape()
var/mob/living/silicon/ai/AI = locate() in src
if(!AI)
return
QDEL_NULL(AI.builtInCamera)
/obj/item/aicard/remove_tape()
var/mob/living/silicon/ai/AI = locate() in src
if(!AI)
return
AI.builtInCamera = new /obj/machinery/camera/portable(AI)
AI.builtInCamera.c_tag = AI.name
AI.builtInCamera.network = list("SS13")