[MIRROR] Adds moffins, a whimsical breakfast pastry (#4660)

* Adds moffins, a whimsical breakfast pastry (#58110)

* Adds moffins

* slightly different check as requested

* Update code/game/objects/items/food/pastries.dm

I have been got got.

Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>

* Update code/game/objects/items/food/pastries.dm

Co-authored-by: ATH1909 <42606352+ATH1909@ users.noreply.github.com>

Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>
Co-authored-by: Iamgoofball <iamgoofball@ gmail.com>
Co-authored-by: ATH1909 <42606352+ATH1909@ users.noreply.github.com>

* Adds moffins, a whimsical breakfast pastry

Co-authored-by: ArcaneDefence <51932756+ArcaneDefence@users.noreply.github.com>
Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>
Co-authored-by: Iamgoofball <iamgoofball@ gmail.com>
Co-authored-by: ATH1909 <42606352+ATH1909@ users.noreply.github.com>
This commit is contained in:
SkyratBot
2021-04-05 04:10:28 +02:00
committed by GitHub
parent de6335b594
commit 2d4c87f900
9 changed files with 35 additions and 3 deletions
+19
View File
@@ -357,7 +357,26 @@
tastes = list("muffin" = 3, "spookiness" = 1)
foodtypes = GRAIN | FRUIT | SUGAR | BREAKFAST
/obj/item/food/muffin/moffin
name = "moffin"
icon_state = "moffin"
desc = "A delicious and spongy little cake."
tastes = list("muffin" = 3, "dust" = 1, "lint" = 1)
foodtypes = CLOTH | GRAIN | SUGAR | BREAKFAST
/obj/item/food/muffin/moffin/Initialize(mapload)
. = ..()
icon_state = "[icon_state]_[rand(1,3)]"
/obj/item/food/muffin/moffin/examine(mob/user)
. = ..()
if(!ishuman(user))
return
var/mob/living/carbon/human/moffin_observer = user
if(moffin_observer.dna.species.liked_food & CLOTH)
. += "<span class='nicegreen'>Ooh! It's even got bits of clothes on it! Yummy!</span>"
else
. += "<span class='warning'>You're not too sure what's on top though...</span>"
////////////////////////////////////////////WAFFLES////////////////////////////////////////////