Adminhelp Dibs!

Adds a dibs feature for claiming adminhelps.
* admin.dm modified with a new get_options_bar state
* admin\topic.dm modified with the new href
* adminhelp.dm modified to include a new adminhelped var state, and to
toss around the information available

When an issue is adminhelped, the links displayed are "?", "DIBS", "PP"
and "JMP".
Following that, an issue can be claimed by clicking DIBS, at which point
both admins and mods are informed of who and what. After DIBS is called,
the tending staff member gets additional options for the target mob and
the player gets a response, saying that their issue will be handled by
so and so. Beyond that, every works as normal.

If DIBS is bypassed with a regular PM to the target, it'll revert
adminhelped to 0, and still give the massive red block of, "Click the
admin's name to reply, please!" so that feature is still intact.
This commit is contained in:
skull132
2015-05-31 15:53:28 +03:00
parent 6517110fd7
commit d77431cddd
3 changed files with 27 additions and 2 deletions
+2
View File
@@ -1290,6 +1290,8 @@ var/global/floorIsLava = 0
if(2)
var/ref_mob = "\ref[M]"
return "<b>[key_name(C, link, name)](<A HREF='?_src_=holder;adminmoreinfo=[ref_mob]'>?</A>) (<A HREF='?_src_=holder;adminplayeropts=[ref_mob]'>PP</A>) (<A HREF='?_src_=vars;Vars=[ref_mob]'>VV</A>) (<A HREF='?_src_=holder;subtlemessage=[ref_mob]'>SM</A>) (<A HREF='?_src_=holder;adminplayerobservejump=[ref_mob]'>JMP</A>) (<A HREF='?_src_=holder;check_antagonist=1'>CA</A>)</b>"
if(3)
return "<b>[key_name(C, link, name)](<A HREF='?_src_=holder;adminmoreinfo=\ref[M]'>?</A>) (<A HREF='?_src_=holder;admindibs=\ref[M]'>DIBS</A>) (<A HREF='?_src_=holder;adminplayeropts=\ref[M]'>PP</A>) (<A HREF='?_src_=holder;adminplayerobservejump=\ref[M]'>JMP</A>)</b>"