adds papereating

This commit is contained in:
Cebutris
2019-10-01 17:03:30 -04:00
parent 40913f633b
commit b9c1c1995b
2 changed files with 38 additions and 11 deletions

View File

@@ -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,9 +211,27 @@
if(ishuman(M))
var/mob/living/carbon/human/H = M
if(H == user)
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>")

View File

@@ -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