mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
adds papereating
This commit is contained in:
@@ -98,7 +98,6 @@
|
||||
/obj/item/weapon/paper/alien/AltClick() // No airplanes for me.
|
||||
return
|
||||
|
||||
//lipstick wiping is in code/game/objects/items/weapons/cosmetics.dm!
|
||||
|
||||
/obj/item/weapon/paper/New()
|
||||
..()
|
||||
@@ -212,17 +211,35 @@
|
||||
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_icons_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>")
|
||||
if(icon_state == "scrap" && H.check_has_mouth()) //START OF YAWN CHANGES
|
||||
user << "<span class='warning'>You begin to stuff \the [src] into your mouth!</span>"
|
||||
if(do_after(user, 30))
|
||||
user << "<span class='warning'>You stuff \the [src] into your mouth!</span>"
|
||||
H.ingested.add_reagent("paper", 10)
|
||||
H.adjustOxyLoss(10)
|
||||
qdel(src) //End of yawn changes
|
||||
else
|
||||
user << "<span class='notice'>You wipe off the lipstick with [src].</span>"
|
||||
H.lip_style = null
|
||||
H.update_icons_body()
|
||||
else
|
||||
if(icon_state == "scrap" && H.check_has_mouth())//start of yawn changes
|
||||
user.visible_message("<span class='warning'>[user] begins to stuff \the [src] into [H]'s mouth!</span>", \
|
||||
"<span class='warning'>You begin to stuff \the [src] into [H]'s mouth!</span>",)
|
||||
if(do_after(user, 30, H))
|
||||
user.visible_message("<span class='warning'>[user] stuffs \the [src] into [H]'s mouth!</span>",\
|
||||
"<span class='warning'>You stuff \the [src] into [H]'s mouth!</span>")
|
||||
H.ingested.add_reagent("paper", 10)
|
||||
H.adjustOxyLoss(10)
|
||||
qdel(src) //end of yawn changed
|
||||
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_icons_body()
|
||||
|
||||
/obj/item/weapon/paper/proc/addtofield(var/id, var/text, var/links = 0)
|
||||
var/locid = 0
|
||||
|
||||
@@ -538,3 +538,13 @@
|
||||
taste_description = "earthy"
|
||||
reagent_state = LIQUID
|
||||
color = "#62764E"
|
||||
|
||||
//YAWN ADDITION. Paper!
|
||||
/datum/reagent/nutriment/paper //Paper is made from cellulose. You can eat it. It doesn't fill you up very much at all.
|
||||
name = "Paper"
|
||||
id = "paper"
|
||||
description = "Soggy, ground up paper"
|
||||
taste_description = "paper"
|
||||
reagent_state = SOLID
|
||||
color = "e6e6e6" //not quite white
|
||||
nutriment_factor = 2 // 5 times worse than nutriment
|
||||
Reference in New Issue
Block a user