mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2026-08-24 21:26:38 +01:00
appearance loader final bugfixes
This commit is contained in:
@@ -230,6 +230,10 @@
|
||||
var/obj/item/clothing/under/C = H.w_uniform
|
||||
if(istype(C))
|
||||
C.sensor_mode = NO_SENSORS
|
||||
if(canloadappearance)
|
||||
H.canloadappearance = TRUE
|
||||
else
|
||||
H.canloadappearance = FALSE
|
||||
|
||||
var/obj/item/card/id/W = H.wear_id
|
||||
if(W)
|
||||
|
||||
@@ -586,10 +586,10 @@ It's fairly easy to fix if dealing with single letters but not so much with comp
|
||||
/mob/proc/checkloadappearance()
|
||||
var/mob/living/carbon/human/H = src
|
||||
//This will be where the person gets to select their appearance instead of the random character
|
||||
if (H.canloadappearance)
|
||||
if (H.canloadappearance == TRUE)
|
||||
SEND_SOUND(H, 'sound/misc/server-ready.ogg')
|
||||
to_chat(H, "<span class='boldannounce'>This ghost role allows you to select your loaded character's appearance.</span>")
|
||||
if(alert(H, "Would you like to load your currently loaded character's appearance?", "Yes", "No") == "Yes")
|
||||
if(alert(H, "Would you like to load your currently loaded character's appearance?", "Warning", "Yes", "No") == "Yes")
|
||||
if(alert(H, "You should only load a character that has not currently died in the round. Do you accept this?", "Warning", "Yes", "No") == "Yes")
|
||||
H.client.prefs.copy_to(H)
|
||||
H.real_name = H.client.prefs.real_name
|
||||
|
||||
Reference in New Issue
Block a user