mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-28 11:11:52 +00:00
A new powerful microwave code allows completely new recipes. All cooked food all have transferred in all the reagents which ingredients had (except of nutriments). A new neat food sprites from Farart. New/changed recipes for cooking with microwave: - Berry Pie was replaced with Berry Clafoutis with new sprite. Recipe: 2 flour, 1 egg, 2 berries (not berryjuice); - Fortune cookies: 1 flour, 1 egg, piece of paper with prophecy; - Meat stake: 1 unit of salt, 1 unit of black pepper, 1 slab of meat; - Pizza "Margherita": 2 flour, 4 wedges of cheese, 1 tomato; - Meat Pizza: 2 flour, 2 slabs of meat, 1 wedge of cheese, 1 tomato; - Mushroom Pizza: 2 flour, 5 any mushrooms; - Vegetable Pizza: 2 flour, 1 eggplant, 1 carrot, 1 corn, 1 tomato; - Spacy Liberty Duff: 10 units of water, 5 units of vodka, 3 Liberty Caps; - Amanita Jelly: 5 units of water, 10 units of vodka, 3 Amanitas; - Meatball Soup: 20 units of water, 1 meatball (aka faggot), 1 carrot, 1 potato; - Vegetable Soup: 20 units of water, 1 carrot, 1 corn, 1 eggplant, 1 potato; - Meatball Soup: 20 units of water, 1 meatball (aka faggot), 1 carrot, 1 potato; - Nettle Soup: 20 units of water, 1 nettle, 1 egg, 1 potato; - Hot Chili stew: 1 slab of meat, 1 chili pepper, 1 tomato; - Cold Chili stew: 1 slab of meat, 1 ice pepper, 1 tomato; Other bugfixes: Fixed items showing under vendomats/microwaves. Activated item_state for anesthetic tank. Runes are under tables and doors now. Fixed runtime errors caused by some reagents. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1440 316c924e-a436-60f5-8080-3fe189b3f50e
79 lines
2.8 KiB
Plaintext
79 lines
2.8 KiB
Plaintext
//////Kitchen Spike
|
|
|
|
/obj/kitchenspike
|
|
attack_paw(mob/user as mob)
|
|
return src.attack_hand(usr)
|
|
|
|
attackby(obj/item/weapon/grab/G as obj, mob/user as mob)
|
|
if(!istype(G, /obj/item/weapon/grab))
|
|
return
|
|
if(istype(G.affecting, /mob/living/carbon/monkey))
|
|
if(src.occupied == 0)
|
|
src.icon_state = "spikebloody"
|
|
src.occupied = 1
|
|
src.meat = 5
|
|
src.meattype = 1
|
|
var/mob/dead/observer/newmob
|
|
for(var/mob/O in viewers(src, null))
|
|
O.show_message(text("\red [user] has forced [G.affecting] onto the spike, killing them instantly!"))
|
|
if (G.affecting.client)
|
|
newmob = new/mob/dead/observer(G.affecting)
|
|
G.affecting:client:mob = newmob
|
|
newmob:client:eye = newmob
|
|
del(G.affecting)
|
|
del(G)
|
|
|
|
else
|
|
user << "\red The spike already has something on it, finish collecting its meat first!"
|
|
else if(istype(G.affecting, /mob/living/carbon/alien) && !istype(G.affecting, /mob/living/carbon/alien/larva/metroid))
|
|
if(src.occupied == 0)
|
|
src.icon_state = "spikebloodygreen"
|
|
src.occupied = 1
|
|
src.meat = 5
|
|
src.meattype = 2
|
|
var/mob/dead/observer/newmob
|
|
for(var/mob/O in viewers(src, null))
|
|
O.show_message(text("\red [user] has forced [G.affecting] onto the spike, killing them instantly!"))
|
|
if (G.affecting.client)
|
|
newmob = new/mob/dead/observer(G.affecting)
|
|
G.affecting:client:mob = newmob
|
|
newmob:client:eye = newmob
|
|
del(G.affecting)
|
|
del(G)
|
|
else
|
|
user << "\red The spike already has something on it, finish collecting its meat first!"
|
|
else
|
|
user << "\red They are too big for the spike, try something smaller!"
|
|
return
|
|
|
|
// MouseDrop_T(var/atom/movable/C, mob/user)
|
|
// if(istype(C, /obj/mob/carbon/monkey)
|
|
// else if(istype(C, /obj/mob/carbon/alien) && !istype(C, /mob/living/carbon/alien/larva/metroid))
|
|
// else if(istype(C, /obj/livestock/spesscarp
|
|
|
|
attack_hand(mob/user as mob)
|
|
if(..())
|
|
return
|
|
if(src.occupied)
|
|
if(src.meattype == 1)
|
|
if(src.meat > 1)
|
|
src.meat--
|
|
new /obj/item/weapon/reagent_containers/food/snacks/meat/monkey( src.loc )
|
|
usr << "You remove some meat from the monkey."
|
|
else if(src.meat == 1)
|
|
src.meat--
|
|
new /obj/item/weapon/reagent_containers/food/snacks/meat/monkey(src.loc)
|
|
usr << "You remove the last piece of meat from the monkey!"
|
|
src.icon_state = "spike"
|
|
src.occupied = 0
|
|
else if(src.meattype == 2)
|
|
if(src.meat > 1)
|
|
src.meat--
|
|
new /obj/item/weapon/reagent_containers/food/snacks/xenomeat( src.loc )
|
|
usr << "You remove some meat from the alien."
|
|
else if(src.meat == 1)
|
|
src.meat--
|
|
new /obj/item/weapon/reagent_containers/food/snacks/xenomeat(src.loc)
|
|
usr << "You remove the last piece of meat from the alien!"
|
|
src.icon_state = "spike"
|
|
src.occupied = 0 |