Adds AI Program Reset Disk (#28952)

* Adds AI Program Reset Disk

* Trailing newline for the linter gods

* Adds program reset alert
This commit is contained in:
PollardTheDragon
2025-04-15 14:55:32 +00:00
committed by GitHub
parent 01378d340d
commit 9219edb732
10 changed files with 40 additions and 7 deletions
@@ -47,3 +47,15 @@
to_chat(AI, "Via a combination of hidden microphones and lip reading software, you are able to use your cameras to listen in on conversations.")
to_chat(user, "<span class='notice'>You upgrade [AI]. [src] is consumed in the process.</span>")
qdel(src)
// AI program reset
/obj/item/ai_upgrade/ai_program_reset
name = "Program Reset Disk"
desc = "Insert this disk into the AI core to completely reset their programs."
w_class = WEIGHT_CLASS_TINY
/obj/item/ai_upgrade/ai_program_reset/ai_upgrade_action(mob/living/silicon/ai/AI, mob/user)
if(!istype(AI))
return
to_chat(user, "<span class='notice'>You reset [AI]'s program storage to factory settings.</span>")
AI.reset_programs()