mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-24 09:02:27 +00:00
- Ion storms now ask you if you want to send a report to the crew or not
- Added JMP and CA actions to adminhelps and prayers. - - JMP is an "observe and jump to mob" command - - CA is a shortcut to the "check antagonists" page, only appears with adminhelps, not prayers. Screenshot: http://www.kamletos.si/adminhelps%20and%20prayers.PNG - Jump to mob will no longer teleport you into the abyss if the mob's been destroyed between the link being sent and you clicking it. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2240 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -773,6 +773,22 @@
|
||||
var/client/cl = MO.client
|
||||
cl.cmd_admin_subtle_message(M)
|
||||
|
||||
if (href_list["adminplayerobservejump"])
|
||||
var/mob/M = locate(href_list["adminplayerobservejump"])
|
||||
if(src && src.owner)
|
||||
if(istype(src.owner,/client))
|
||||
var/client/cl = src.owner
|
||||
cl.admin_observe()
|
||||
sleep(2)
|
||||
cl.jumptomob(M)
|
||||
else if(ismob(src.owner))
|
||||
var/mob/MO = src.owner
|
||||
if(MO.client)
|
||||
var/client/cl = MO.client
|
||||
cl.admin_observe()
|
||||
sleep(2)
|
||||
cl.jumptomob(M)
|
||||
|
||||
|
||||
if (href_list["jumpto"])
|
||||
if(rank in list("Badmin", "Game Admin", "Game Master"))
|
||||
@@ -1367,6 +1383,10 @@
|
||||
if (src.rank in list("Badmin","Game Admin", "Game Master"))
|
||||
IonStorm()
|
||||
message_admins("[key_name_admin(usr)] triggered an ion storm")
|
||||
var/show_log = alert(usr, "Show ion message?", "Message", "Yes", "No")
|
||||
if(show_log == "Yes")
|
||||
command_alert("Ion storm detected near the station. Please check all AI-controlled equipment for errors.", "Anomaly Alert")
|
||||
world << sound('ionstorm.ogg')
|
||||
else
|
||||
alert("You cannot perform this action. You must be of a higher administrative rank!")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user