mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-26 18:13:11 +00:00
Finished crackers, they were only ever half-implemented.
Thanks to Cheridan for the sprite! Removed two unticked files. I believe they got merged into reagents/reagent_containers/food and forgotten about. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4669 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -180,6 +180,18 @@
|
||||
something.loc = get_turf(src)
|
||||
..()
|
||||
|
||||
/obj/item/weapon/reagent_containers/food/snacks/attack_animal(var/mob/M)
|
||||
if(isanimal(M))
|
||||
if(iscorgi(M))
|
||||
if(bitecount == 0 || prob(50))
|
||||
M.emote("nibbles away at the [src]")
|
||||
bitecount++
|
||||
if(bitecount >= 5)
|
||||
var/sattisfaction_text = pick("burps from enjoyment", "yaps for more", "woofs twice", "looks at the area where the [src] was")
|
||||
if(sattisfaction_text)
|
||||
M.emote("[sattisfaction_text]")
|
||||
del(src)
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// FOOD END
|
||||
@@ -222,18 +234,6 @@
|
||||
// reagents.add_reagent("nutriment", 2) // this line of code for all the contents.
|
||||
// bitesize = 3 //This is the amount each bite consumes.
|
||||
|
||||
/obj/item/weapon/reagent_containers/food/snacks/attack_animal(var/mob/M)
|
||||
if(isanimal(M))
|
||||
if(iscorgi(M))
|
||||
if(bitecount == 0 || prob(50))
|
||||
M.emote("nibbles away at the [src]")
|
||||
bitecount++
|
||||
if(bitecount >= 5)
|
||||
var/sattisfaction_text = pick("burps from enjoyment", "yaps for more", "woofs twice", "looks at the area where the [src] was")
|
||||
if(sattisfaction_text)
|
||||
M.emote("[sattisfaction_text]")
|
||||
del(src)
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -2277,4 +2277,9 @@
|
||||
|
||||
/obj/item/weapon/reagent_containers/food/snacks/cracker
|
||||
name = "Cracker"
|
||||
desc = "It's a salted cracker."
|
||||
desc = "It's a salted cracker."
|
||||
icon_state = "cracker"
|
||||
|
||||
New()
|
||||
..()
|
||||
reagents.add_reagent("nutriment", 1)
|
||||
Reference in New Issue
Block a user