Files
kiwistation/code/game/objects/structures/dresser.dm
T
Mloc-Hibernia 8af8a43d6f Initial pass to convert LF to CRLF
Signed-off-by: Mloc-Hibernia <colmohici@gmail.com>
2014-03-24 08:53:40 +00:00

22 lines
622 B
Plaintext

/obj/structure/dresser
name = "dresser"
desc = "A nicely-crafted wooden dresser. It's filled with lots of undies."
icon = 'icons/obj/stationobjs.dmi'
icon_state = "dresser"
density = 1
anchored = 1
/obj/structure/dresser/attack_hand(mob/user as mob)
if(!Adjacent(user))//no tele-grooming
return
if(ishuman(user))
var/mob/living/carbon/human/H = user
var/new_undies = input(user, "Select your underwear", "Changing") as null|anything in underwear_all
if(!Adjacent(user))//no tele-grooming
return
if(new_undies)
H.underwear = new_undies
add_fingerprint(H)
H.update_body()