[MIRROR] Adds a coder override emote so manual custom emotes work properly (#186)

* Adds a coder override emote so manual custom emotes work properly (#52602)

* Adds a coder override emote to skip dumb shit with me

* I know this sucks, I can't comprehend how to do this cleanly without a full rewrite

* cleaner now

* Adds a coder override emote so manual custom emotes work properly

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
This commit is contained in:
SkyratBot
2020-08-03 16:38:29 +02:00
committed by GitHub
co-authored by LemonInTheDark
parent 49e01141dd
commit 5dfd1cc353
13 changed files with 64 additions and 31 deletions
+2 -2
View File
@@ -236,12 +236,12 @@ Behavior that's still missing from this component that original food items had t
return
var/mob/living/L = user
if(bitecount == 0 || prob(50))
L.emote("me", 1, "nibbles away at \the [parent]")
L.manual_emote("nibbles away at \the [parent]")
bitecount++
. = COMPONENT_ITEM_NO_ATTACK
L.taste(owner.reagents) // why should carbons get all the fun?
if(bitecount >= 5)
var/sattisfaction_text = pick("burps from enjoyment", "yaps for more", "woofs twice", "looks at the area where \the [parent] was")
if(sattisfaction_text)
L.emote("me", 1, "[sattisfaction_text]")
L.manual_emote(sattisfaction_text)
qdel(parent)