Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Feature] Drinkable Pizza
#1
I got 3 hours of sleep last night.

It's 1:23AM.

Let's drink some fuckin pizza

[Image: 68a78488fe.png]

This patch lets you shove pizza slices (not whole pizzas) into glasses and beakers and stuff like a gross slob and then fucking drink it (what the f uck are you doing)

To Add:



Add this bit of code to the base pizza code on line 71 in code\obj\item\food\snacks.dm

http://puu.sh/rXaPj/5e259c42b2.txt
Code:
    afterattack(atom/target, mob/user, flag) // copied from the propuffs
        if(src.sliced)
            if (istype(target, /obj/item/reagent_containers/))
                user.visible_message("<span style=\"color:blue\"><b>[user]</b> smooshes the [src] into the [target] like a freak.</span>",\
                "<span style=\"color:blue\">You shove the [src] into the [target] like a disgusting monster.</span>")
                src.reagents.add_reagent("pizza", 10)
                src.reagents.trans_to(target, 10) //kinda hacky but it works and i had trouble with more elegant solutions
                qdel (src)
                return
        else
            return ..()



Then add the pizza reagent code in on line 35 (or similar) in code\datums\chemistry\Reagents-FoodDrink.dm

http://puu.sh/rXbbS/3e30df62fb.txt
Code:
        fooddrink/pizza
            name = "pizza"
            id = "pizza"
            description = "What the actual fuck is this?"
            reagent_state = LIQUID
            fluid_r = 200
            fluid_g = 100
            fluid_b = 0
            transparency = 255

            on_mob_life(var/mob/M)
                if(!M) M = holder.my_atom
                M.reagents.add_reagent("juice_tomato",1)
                M.reagents.add_reagent("pepperoni",1)
                M.reagents.add_reagent("cheese",1)
                M.reagents.add_reagent("bread",1)
                M.reagents.add_reagent("badgrease",1)
                ..(M)
                return





Also, unrelated, but here are some melty pizza sprites I made that might contain the liquid pizza reagent. I don't know how you'd end up getting these, but I made the sprites anyways:

http://puu.sh/rXb4w/3df1759a9a.dmi
Reply
#2
Bad idea.
Reply
#3
I was told to support this
Reply
#4
(10-27-2016, 12:36 AM)TheNewTeddy Wrote: Bad idea.

Excuse me this is the best idea, although maybe there should be another step somewhere, shoving it in without blending makes no sense. Then again, nothing goon does. Great idea!
Reply
#5
(10-27-2016, 12:38 AM)NateTheSquid Wrote:
(10-27-2016, 12:36 AM)TheNewTeddy Wrote: Bad idea.

Excuse me this is the best idea, although maybe there should be another step somewhere, shoving it in without blending makes no sense. Then again, nothing goon does. Great idea!

We can already shove entire loaves of bread into beakers, pizza is arguably more liquid than most bread is
Reply
#6
Yessss, I would like this feature.
Reply
#7
the pizza chem is already in the game and no you can't get it from pizza
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)