borgs with GPS's have their coordinates displayed in the status window

This commit is contained in:
SteelSlayer
2019-09-25 11:12:03 -05:00
parent 652920ae3c
commit b92ca2ba0e
@@ -572,6 +572,10 @@ var/list/robot_verbs_default = list(
statpanel("Status")
if(client.statpanel == "Status")
show_cell_power()
var/total_user_contents = GetAllContents()
if(locate(/obj/item/gps/cyborg) in total_user_contents)
var/turf/T = get_turf(src)
stat(null, "GPS: [COORD(T)]")
/mob/living/silicon/robot/restrained()
return 0