mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 15:17:01 +01:00
Adds old name tracking to player panel, cleans up some name assignments.
This commit is contained in:
@@ -301,7 +301,7 @@
|
||||
|
||||
qdel(src)
|
||||
|
||||
/mob/living/carbon/human/AIize()
|
||||
/mob/living/carbon/human/AIize(transfer_after = TRUE, client/preference_source)
|
||||
if (notransform)
|
||||
return
|
||||
for(var/t in bodyparts)
|
||||
@@ -309,7 +309,7 @@
|
||||
|
||||
return ..()
|
||||
|
||||
/mob/living/carbon/AIize()
|
||||
/mob/living/carbon/AIize(transfer_after = TRUE, client/preference_source)
|
||||
if (notransform)
|
||||
return
|
||||
notransform = TRUE
|
||||
@@ -321,7 +321,7 @@
|
||||
invisibility = INVISIBILITY_MAXIMUM
|
||||
return ..()
|
||||
|
||||
/mob/proc/AIize(transfer_after = TRUE)
|
||||
/mob/proc/AIize(transfer_after = TRUE, client/preference_source)
|
||||
var/list/turf/landmark_loc = list()
|
||||
for(var/obj/effect/landmark/start/ai/sloc in GLOB.landmarks_list)
|
||||
if(locate(/mob/living/silicon/ai) in sloc.loc)
|
||||
@@ -348,6 +348,9 @@
|
||||
|
||||
. = new /mob/living/silicon/ai(pick(landmark_loc), null, src)
|
||||
|
||||
if(preference_source)
|
||||
apply_pref_name("ai",preference_source)
|
||||
|
||||
qdel(src)
|
||||
|
||||
/mob/living/carbon/human/proc/Robotize(delete_items = 0, transfer_after = TRUE)
|
||||
@@ -372,6 +375,9 @@
|
||||
R.gender = gender
|
||||
R.invisibility = 0
|
||||
|
||||
if(client)
|
||||
R.updatename(client)
|
||||
|
||||
if(mind) //TODO
|
||||
if(!transfer_after)
|
||||
mind.active = FALSE
|
||||
@@ -379,8 +385,6 @@
|
||||
else if(transfer_after)
|
||||
R.key = key
|
||||
|
||||
R.apply_pref_name("cyborg")
|
||||
|
||||
if(R.mmi)
|
||||
R.mmi.name = "[initial(R.mmi.name)]: [real_name]"
|
||||
if(R.mmi.brain)
|
||||
|
||||
Reference in New Issue
Block a user