mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
POLARIS: Rename make_nametag_name/desc
This commit is contained in:
@@ -512,8 +512,8 @@
|
||||
/atom/proc/AllowDrop()
|
||||
return FALSE
|
||||
|
||||
/atom/proc/make_nametag_name(mob/user)
|
||||
/atom/proc/get_nametag_name(mob/user)
|
||||
return name
|
||||
|
||||
/atom/proc/make_nametag_desc(mob/user)
|
||||
/atom/proc/get_nametag_desc(mob/user)
|
||||
return "" //Desc itself is often too long to use
|
||||
|
||||
@@ -1595,10 +1595,10 @@
|
||||
//Else CRITICAL FAILURE!
|
||||
return ""
|
||||
|
||||
/mob/living/carbon/human/make_nametag_name(mob/user)
|
||||
/mob/living/carbon/human/get_nametag_name(mob/user)
|
||||
return name //Could do fancy stuff here?
|
||||
|
||||
/mob/living/carbon/human/make_nametag_desc(mob/user)
|
||||
/mob/living/carbon/human/get_nametag_desc(mob/user)
|
||||
var/msg = ""
|
||||
if(hasHUD(user,"security"))
|
||||
//Try to find their name
|
||||
|
||||
@@ -1722,5 +1722,5 @@
|
||||
retaliate = 1
|
||||
destroy_surroundings = 1
|
||||
|
||||
/mob/living/simple_animal/make_nametag_desc(mob/user)
|
||||
/mob/living/simple_animal/get_nametag_desc(mob/user)
|
||||
return "<i>tt_desc</i>"
|
||||
|
||||
@@ -1146,7 +1146,7 @@ mob/proc/yank_out_object()
|
||||
|
||||
/mob/MouseEntered(location, control, params)
|
||||
if(usr != src && usr.is_preference_enabled(/datum/client_preference/mob_tooltips))
|
||||
openToolTip(user = usr, tip_src = src, params = params, title = make_nametag_name(usr), content = make_nametag_desc(usr))
|
||||
openToolTip(user = usr, tip_src = src, params = params, title = get_nametag_name(usr), content = get_nametag_desc(usr))
|
||||
|
||||
..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user