Remove obsolete override code in /mob/living/silicon/Topic

This tracking code was merged into upstream, also fixes a case where switching between AI and shell and trying to answer door requests wouldnt work
This commit is contained in:
Roxy
2025-05-25 20:08:58 -04:00
parent 0e7ad58b4f
commit 8bfda9aa4d
2 changed files with 2 additions and 7 deletions
@@ -32,10 +32,10 @@
if(AI.deployed_shell)
if(!is_station_level(AI.deployed_shell.registered_z))
continue
to_chat(AI.deployed_shell, "<b><a href='byond://?src=[REF(AI)];track=[html_encode(user.name)]'>[user]</a></b> is requesting you to open the [src] [LINK_DENY][LINK_OPEN][LINK_BOLT][LINK_SHOCK]")
to_chat(AI.deployed_shell, "<b><a href='byond://?_src_=usr;track=[html_encode(user.name)]'>[user]</a></b> is requesting you to open the [src] [LINK_DENY][LINK_OPEN][LINK_BOLT][LINK_SHOCK]")
if(!is_station_level(AI.registered_z))
continue
to_chat(AI, "<b><a href='byond://?src=[REF(AI)];track=[html_encode(user.name)]'>[user]</a></b> is requesting you to open the [src] [LINK_DENY][LINK_OPEN][LINK_BOLT][LINK_SHOCK]")
to_chat(AI, "<b><a href='byond://?_src_=usr;track=[html_encode(user.name)]'>[user]</a></b> is requesting you to open the [src] [LINK_DENY][LINK_OPEN][LINK_BOLT][LINK_SHOCK]")
requesters[user.name] = world.time
return SECONDARY_ATTACK_CANCEL_ATTACK_CHAIN
@@ -9,11 +9,6 @@
if(!door)
return
fulfill_door_request(requester, door, href_list["action"])
if(href_list["track"])
var/mob/living/silicon/ai/AI = src
if(AI.deployed_shell)
AI.deployed_shell.undeploy()
AI.ai_tracking_tool.track_name(src, href_list["track"])
/// Allows the AI to interact somewhat with a door if the requester can be tracked by cameras and the AI can normally access it.
/mob/living/silicon/proc/fulfill_door_request(mob/living/requester, obj/machinery/door/airlock/door, action)