mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Improves Halloween costumes, tweaks the admin verb for equipping
This commit is contained in:
@@ -408,10 +408,10 @@
|
||||
feedback_add_details("admin_verb","SEQ")
|
||||
dressup_human(H, outfit, 1)
|
||||
|
||||
/proc/dressup_human(var/mob/living/carbon/human/H, var/decl/hierarchy/outfit/outfit, var/undress = 1)
|
||||
/proc/dressup_human(var/mob/living/carbon/human/H, var/decl/hierarchy/outfit/outfit)
|
||||
if(!H || !outfit)
|
||||
return
|
||||
if(undress)
|
||||
if(outfit.undress)
|
||||
H.delete_inventory()
|
||||
outfit.equip(H)
|
||||
log_and_message_admins("changed the equipment of [key_name(H)] to [outfit.name].")
|
||||
|
||||
Reference in New Issue
Block a user