Adds a Follow/Jump to link to the VV dropdown

Some good QoL for debugging stuff.
This commit is contained in:
Tkdrg
2015-12-15 03:06:50 -03:00
parent 5a8a10bb72
commit abb0cd663c
2 changed files with 7 additions and 2 deletions
+5
View File
@@ -243,6 +243,11 @@ datum/proc/on_varedit(modified_var) //called whenever a var is edited
body += "<option value='?_src_=vars;proc_call=\ref[D]'>Call Proc</option>"
if(ismob(D))
body += "<option value='?_src_=vars;mob_player_panel=\ref[D]'>Show player panel</option>"
if(istype(D, /atom/movable))
body += "<option value='?_src_=holder;adminplayerobservefollow=\ref[D]'>Follow</option>"
else
var/atom/A = D
body += "<option value='?_src_=holder;adminplayerobservecoodjump=1;X=[A.x];Y=[A.y];Z=[A.z]'>Jump to</option>"
body += "<option value>---</option>"