mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Merge pull request #7897 from Rykka-Stormheart/shep-dev-ai-open-this-door
Port over AI Opening Doors from Paradise
This commit is contained in:
@@ -152,11 +152,11 @@
|
||||
cameraFollow = null
|
||||
|
||||
/mob/living/silicon/ai/proc/ai_actual_track(mob/living/target as mob)
|
||||
if(!istype(target)) return
|
||||
if(!istype(target)) return FALSE
|
||||
var/mob/living/silicon/ai/U = usr
|
||||
|
||||
if(target == U.cameraFollow)
|
||||
return
|
||||
return TRUE
|
||||
|
||||
if(U.cameraFollow)
|
||||
U.ai_cancel_tracking()
|
||||
@@ -185,6 +185,8 @@
|
||||
return
|
||||
sleep(10)
|
||||
|
||||
return TRUE
|
||||
|
||||
/obj/machinery/camera/attack_ai(var/mob/living/silicon/ai/user as mob)
|
||||
if (!istype(user))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user