mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
The One Where I Port Modals
This commit is contained in:
@@ -250,7 +250,7 @@
|
||||
/mob/living/carbon/human/Animalize()
|
||||
|
||||
var/list/mobtypes = typesof(/mob/living/simple_mob)
|
||||
var/mobpath = input("Which type of mob should [src] turn into?", "Choose a type") in mobtypes
|
||||
var/mobpath = tgui_input_list(usr, "Which type of mob should [src] turn into?", "Choose a type", mobtypes)
|
||||
|
||||
if(!safe_animal(mobpath))
|
||||
to_chat(usr, "<font color='red'>Sorry but this mob type is currently unavailable.</font>")
|
||||
@@ -284,7 +284,7 @@
|
||||
/mob/proc/Animalize()
|
||||
|
||||
var/list/mobtypes = typesof(/mob/living/simple_mob)
|
||||
var/mobpath = input("Which type of mob should [src] turn into?", "Choose a type") in mobtypes
|
||||
var/mobpath = tgui_input_list(usr, "Which type of mob should [src] turn into?", "Choose a type", mobtypes)
|
||||
|
||||
if(!safe_animal(mobpath))
|
||||
to_chat(usr, "<font color='red'>Sorry but this mob type is currently unavailable.</font>")
|
||||
|
||||
Reference in New Issue
Block a user