Skip to content
This repository was archived by the owner on Jul 27, 2021. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions code/modules/research/xenobiology/xenobiology.dm
Original file line number Diff line number Diff line change
Expand Up @@ -946,6 +946,14 @@
to_chat(user, "<span class='warning'>The potion can only be used on gendered things!</span>")
return

L.visible_message("<span class='danger'>[user] starts to feed [L] a gender change potion!</span>",
"<span class='userdanger'>[user] starts to feed you a gender change potion!</span>")

if(!do_after(user, 50, target = L))
return

to_chat(user, "<span class='notice'>You feed [L] the gender change potion!</span>")

if(L.gender == MALE)
L.gender = FEMALE
L.visible_message("<span class='boldnotice'>[L] suddenly looks more feminine!</span>", "<span class='boldwarning'>You suddenly feel more feminine!</span>")
Expand Down