[MIRROR] usr to user part two (#10015)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-01-31 14:27:34 -07:00
committed by GitHub
parent 538c8e7187
commit a245b8687f
203 changed files with 974 additions and 993 deletions

View File

@@ -245,13 +245,13 @@
qdel(src)
return
/mob/living/carbon/human/Animalize()
/mob/living/carbon/human/Animalize(mob/user)
var/list/mobtypes = typesof(/mob/living/simple_mob)
var/mobpath = tgui_input_list(usr, "Which type of mob should [src] turn into?", "Choose a type", mobtypes)
var/mobpath = tgui_input_list(user, "Which type of mob should [src] turn into?", "Choose a type", mobtypes)
if(!safe_animal(mobpath))
to_chat(usr, span_red("Sorry but this mob type is currently unavailable."))
to_chat(user, span_red("Sorry but this mob type is currently unavailable."))
return
if(transforming)
@@ -279,13 +279,13 @@
qdel(src)
return
/mob/proc/Animalize()
/mob/proc/Animalize(mob/user)
var/list/mobtypes = typesof(/mob/living/simple_mob)
var/mobpath = tgui_input_list(usr, "Which type of mob should [src] turn into?", "Choose a type", mobtypes)
var/mobpath = tgui_input_list(user, "Which type of mob should [src] turn into?", "Choose a type", mobtypes)
if(!safe_animal(mobpath))
to_chat(usr, span_red("Sorry but this mob type is currently unavailable."))
to_chat(user, span_red("Sorry but this mob type is currently unavailable."))
return
var/mob/new_mob = new mobpath(src.loc)