TG: Applied Carn's Holopad requests patch. Basically allows for people to request

the presence of an AI at a holopad.

Some work on porta turrets.
Revision: r3270
Author: 	 vageyenaman
This commit is contained in:
Ren Erthilo
2012-04-26 22:36:50 +01:00
parent 29f60c55c6
commit f1c5937cb2
3 changed files with 34 additions and 6 deletions
+8
View File
@@ -301,6 +301,14 @@
if (href_list["showalerts"])
ai_alerts()
//Carn: holopad requests
if (href_list["jumptoholopad"])
var/obj/machinery/hologram/holopad/H = locate(href_list["jumptoholopad"])
if(stat == CONSCIOUS)
if(H)
H.attack_ai(src) //may as well recycle
else
src << "<span class='notice'>Unable to locate the holopad.</span>"
if (href_list["lawc"]) // Toggling whether or not a law gets stated by the State Laws verb --NeoFite
var/L = text2num(href_list["lawc"])