Revamps that weird dialog about hacking the nearest APC to actually work

This commit is contained in:
Crazylemon64
2016-02-09 00:59:49 -08:00
parent 5abc032317
commit 1ba299b289
3 changed files with 4 additions and 4 deletions
-1
View File
@@ -71,7 +71,6 @@ var/list/ai_verbs_default = list(
var/mob/living/silicon/ai/parent = null
var/apc_override = 0 //hack for letting the AI use its APC even when visionless
var/camera_light_on = 0 //Defines if the AI toggled the light on the camera it's looking through.
var/datum/trackable/track = null
var/last_paper_seen = null
+1 -3
View File
@@ -135,10 +135,8 @@
src << "Receiving control information from APC."
sleep(2)
//bring up APC dialog
apc_override = 1
theAPC.attack_ai(src)
apc_override = 0
aiRestorePowerRoutine = 3
theAPC.attack_ai(src)
src << "Here are your current laws:"
src.show_laws() //WHY THE FUCK IS THIS HERE
sleep(50)
+3
View File
@@ -32,6 +32,9 @@
/mob/living/silicon/ai/default_can_use_topic(var/src_object)
. = shared_nano_interaction()
// Fix the weird hacking blurb to actually let them restore power
if(aiRestorePowerRoutine == 3 && istype(src_object, /obj/machinery/power/apc))
return STATUS_INTERACTIVE
if(. != STATUS_INTERACTIVE)
return