mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 13:07:46 +01:00
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:
@@ -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
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user