mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 19:13:30 +01:00
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:
@@ -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"
|
||||
|
||||
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user