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.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3270 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
vageyenaman@gmail.com
2012-03-11 20:33:11 +00:00
parent d4eb845626
commit eadf904ff1
4 changed files with 39 additions and 9 deletions
+8
View File
@@ -233,6 +233,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"])