mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-24 12:37:50 +01:00
Being in a freezer crate or refrigerator now has the same effect on meat as 0C air.
Kitchen cold room tweaked a bit more. Cold room added to Uterus. Changelog updated to indicate new freezer crate/refrigerator functionality. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2832 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -213,10 +213,15 @@
|
||||
..()
|
||||
|
||||
process()
|
||||
if (src.infreezer)
|
||||
health = 180
|
||||
return
|
||||
var/turf/location = get_turf(src.loc)
|
||||
var/datum/gas_mixture/environment = location.return_air()
|
||||
switch(environment.temperature)
|
||||
if(0 to T0C)
|
||||
health = 180
|
||||
return
|
||||
if(T0C to (T0C + 100))
|
||||
health = max(0, health - 1)
|
||||
if(health <= 0)
|
||||
@@ -231,10 +236,15 @@
|
||||
desc = "A synthetic slab of flesh."
|
||||
|
||||
process()
|
||||
if (src.infreezer)
|
||||
health = 180
|
||||
return
|
||||
var/turf/location = get_turf(src.loc)
|
||||
var/datum/gas_mixture/environment = location.return_air()
|
||||
switch(environment.temperature)
|
||||
if(0 to T0C)
|
||||
health = 180
|
||||
return
|
||||
if(T0C to (T0C + 100))
|
||||
health = max(0, health - 1)
|
||||
if(health <= 0)
|
||||
@@ -268,10 +278,15 @@
|
||||
var/subjectjob = null
|
||||
|
||||
process()
|
||||
if (src.infreezer)
|
||||
health = 180
|
||||
return
|
||||
var/turf/location = get_turf(src.loc)
|
||||
var/datum/gas_mixture/environment = location.return_air()
|
||||
switch(environment.temperature)
|
||||
if(0 to T0C)
|
||||
health = 180
|
||||
return
|
||||
if(T0C to (T0C + 100))
|
||||
health = max(0, health - 1)
|
||||
if(health <= 0)
|
||||
|
||||
Reference in New Issue
Block a user