mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
adds lipstick wiping to proper paper/attack()
This commit is contained in:
@@ -114,6 +114,22 @@
|
|||||||
"<span class='notice'> [user] holds up a paper and shows it to [M]. </span>")
|
"<span class='notice'> [user] holds up a paper and shows it to [M]. </span>")
|
||||||
M << examine()
|
M << examine()
|
||||||
|
|
||||||
|
else if(user.zone_sel.selecting == "mouth") // lipstick wiping
|
||||||
|
if(ishuman(M))
|
||||||
|
var/mob/living/carbon/human/H = M
|
||||||
|
if(H == user)
|
||||||
|
user << "<span class='notice'>You wipe off the lipstick with [src].</span>"
|
||||||
|
H.lip_style = null
|
||||||
|
H.update_body()
|
||||||
|
else
|
||||||
|
user.visible_message("<span class='warning'>[user] begins to wipe [H]'s lipstick off with \the [src].</span>", \
|
||||||
|
"<span class='notice'>You begin to wipe off [H]'s lipstick.</span>")
|
||||||
|
if(do_after(user, 10) && do_after(H, 10, 5, 0)) //user needs to keep their active hand, H does not.
|
||||||
|
user.visible_message("<span class='notice'>[user] wipes [H]'s lipstick off with \the [src].</span>", \
|
||||||
|
"<span class='notice'>You wipe off [H]'s lipstick.</span>")
|
||||||
|
H.lip_style = null
|
||||||
|
H.update_body()
|
||||||
|
|
||||||
/obj/item/weapon/paper/proc/addtofield(var/id, var/text, var/links = 0)
|
/obj/item/weapon/paper/proc/addtofield(var/id, var/text, var/links = 0)
|
||||||
var/locid = 0
|
var/locid = 0
|
||||||
var/laststart = 1
|
var/laststart = 1
|
||||||
|
|||||||
Reference in New Issue
Block a user