Added tea to coffee machines (now called warm drinks machines)

Reagent code by Microwave, sprite by matty406

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1196 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
baloh.matevz
2011-03-17 00:40:39 +00:00
parent c326252cf5
commit f9460f5c3c
4 changed files with 32 additions and 6 deletions
+16
View File
@@ -1439,6 +1439,22 @@ datum
..()
return
tea
name = "Tea"
id = "tea"
description = "Tasty black tea, it has antioxidants, it's good for you!"
reagent_state = LIQUID
on_mob_life(var/mob/M)
..()
M.dizziness = max(0,M.dizziness-2)
M:drowsyness = max(0,M:drowsyness-1)
M:sleeping = 0
if(M:toxloss && prob(50))
M:toxloss--
if (M.bodytemperature < 310) //310 is the normal bodytemp. 310.055
M.bodytemperature = min(310, M.bodytemperature+5)
..()
return
space_cola
name = "Cola"
+10
View File
@@ -2253,6 +2253,16 @@
src.pixel_x = rand(-10.0, 10)
src.pixel_y = rand(-10.0, 10)
/obj/item/weapon/reagent_containers/food/drinks/tea
name = "Sandy Balls Tea"
desc = "The perfect tea for those who enjoy life's simple pleasures."
icon_state = "tea"
New()
..()
reagents.add_reagent("tea", 30)
src.pixel_x = rand(-10.0, 10)
src.pixel_y = rand(-10.0, 10)
/obj/item/weapon/reagent_containers/food/drinks/cola
name = "Space Cola"
desc = "Cola. in space."