Merge pull request #1742 from Markolie/ghosties

Ghost/admin ghost machinery interaction
This commit is contained in:
Fox-McCloud
2015-08-15 15:16:10 -04:00
36 changed files with 545 additions and 423 deletions
@@ -129,7 +129,10 @@
if(!computer.radio.subspace)
return
if(authenticated)
call_shuttle_proc(usr)
var/input = stripped_input(usr, "Please enter the reason for calling the shuttle.", "Shuttle Call Reason.","") as text|null
if(!input || ..(href, href_list) || !authenticated)
return
call_shuttle_proc(usr, input)
if(emergency_shuttle.online())
post_status("shuttle")
state = STATE_DEFAULT
@@ -236,7 +239,10 @@
if("ai-callshuttle2" in href_list)
if(!computer.radio.subspace)
return
call_shuttle_proc(usr)
var/input = stripped_input(usr, "Please enter the reason for calling the shuttle.", "Shuttle Call Reason.","") as text|null
if(!input || ..(href, href_list))
return
call_shuttle_proc(usr, input)
aistate = STATE_DEFAULT
if("ai-messagelist" in href_list)
aicurrmsg = 0