future-proof food code for other critters snacking

This commit is contained in:
Tastyfish
2011-12-25 00:55:18 -05:00
parent 31a2f6d5ef
commit 67af6ac4d2

View File

@@ -37,6 +37,16 @@
if(sattisfaction_text)
M.emote("[sattisfaction_text]")
del(src)
else
if(bitecount == 0 || prob(50))
M.emote("nibbles away at the [src]")
bitecount++
if(bitecount >= 5)
var/speak_emote = pick(M:speak_emote)
var/sattisfaction_text = pick("[speak_emote] for more!", "[speak_emote] from enjoyment.", "looks at the area where the [src] was")
if(sattisfaction_text)
M.emote("[sattisfaction_text]")
del(src)
/obj/item/weapon/reagent_containers/food/snacks/candy
name = "candy"