[MIRROR] TGUI Outfit Manager and Editor (#4828)

* TGUI Outfit Manager and Editor

* Update persistence.dm

Co-authored-by: Trigg <36010999+TriggeredBoi@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
This commit is contained in:
SkyratBot
2021-04-11 23:12:40 +01:00
committed by GitHub
co-authored by Trigg Gandalf
parent 9ee2fb4c54
commit 835dee4581
10 changed files with 603 additions and 261 deletions
-22
View File
@@ -1868,28 +1868,6 @@
else
to_chat(usr, "You may only use this when the game is running.", confidential = TRUE)
else if(href_list["create_outfit_finalize"])
if(!check_rights(R_ADMIN))
return
create_outfit_finalize(usr,href_list)
else if(href_list["load_outfit"])
if(!check_rights(R_ADMIN))
return
load_outfit(usr)
else if(href_list["create_outfit_menu"])
if(!check_rights(R_ADMIN))
return
create_outfit(usr)
else if(href_list["delete_outfit"])
if(!check_rights(R_ADMIN))
return
var/datum/outfit/O = locate(href_list["chosen_outfit"]) in GLOB.custom_outfits
delete_outfit(usr,O)
else if(href_list["save_outfit"])
if(!check_rights(R_ADMIN))
return
var/datum/outfit/O = locate(href_list["chosen_outfit"]) in GLOB.custom_outfits
save_outfit(usr,O)
else if(href_list["set_selfdestruct_code"])
if(!check_rights(R_ADMIN))
return