Continues work on outfits

This commit is contained in:
Anewbe
2017-10-01 20:50:30 -05:00
parent 1b7ecf6789
commit d0a22df9c3
3 changed files with 65 additions and 18 deletions
+3 -2
View File
@@ -401,13 +401,14 @@
return
feedback_add_details("admin_verb","SEQ")
dressup_human(H, outfit)
dressup_human(H, outfit, TRUE)
/proc/dressup_human(var/mob/living/carbon/human/H, var/decl/hierarchy/outfit/outfit, var/undress = TRUE)
world << "dressup_human"
if(!H || !outfit)
return
if(undress)
H.delete_inventory(TRUE)
H.delete_inventory()
outfit.equip(H)
log_and_message_admins("changed the equipment of [key_name(H)] to [outfit.name].")