mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
Revamps that weird dialog about hacking the nearest APC to actually work
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user