mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 04:57:12 +01:00
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:
@@ -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"])
|
||||
|
||||
Reference in New Issue
Block a user