mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 23:58:07 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user