Removed meat rotting and all associated code in freezers/fridges etc.

Reconnected the freezer room to station atmos, removed its miniature freezing loop thing, starts at a normal temperature, etc.

Moved meat back off the floor and into a fridge.

Reasoning for all this being the game has been laggy enough as of late, we don't need meat and closets processing, and we certainly do not need the chef putting strain on the atmos system every single time he opens the door to his freezer room, especially not for such a trivial thing as rotting meat. REMOVAL APPROVED BY MUSKETS COME AT ME BRO

Also re-added Lamaar to the RD's office.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3261 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
kortgstation@gmail.com
2012-03-07 01:33:15 +00:00
parent bb61251005
commit 4a6c2aa0aa
4 changed files with 5668 additions and 5727 deletions
+1 -1
View File
@@ -104,7 +104,7 @@
"plasma" = new/datum/tlv(-1.0, -1.0, 0.2, 0.5), // Partial pressure, kpa
"other" = new/datum/tlv(-1.0, -1.0, 0.5, 1.0), // Partial pressure, kpa
"pressure" = new/datum/tlv(ONE_ATMOSPHERE*0.80,ONE_ATMOSPHERE*0.90,ONE_ATMOSPHERE*1.10,ONE_ATMOSPHERE*1.20), /* kpa */
"temperature" = new/datum/tlv(T0C-60, T0C-30, T0C+40, T0C+66), // K
"temperature" = new/datum/tlv(T0C, T0C+10, T0C+40, T0C+66), // K
)
/*
-23
View File
@@ -1,27 +1,4 @@
/obj/structure/closet/secure_closet/freezer
var
target_temp = T0C - 40
cooling_power = 40
return_air()
var/datum/gas_mixture/gas = (..())
if(!gas) return null
var/datum/gas_mixture/newgas = new/datum/gas_mixture()
newgas.oxygen = gas.oxygen
newgas.carbon_dioxide = gas.carbon_dioxide
newgas.nitrogen = gas.nitrogen
newgas.toxins = gas.toxins
newgas.volume = gas.volume
newgas.temperature = gas.temperature
if(newgas.temperature <= target_temp) return
if((newgas.temperature - cooling_power) > target_temp)
newgas.temperature -= cooling_power
else
newgas.temperature = target_temp
return newgas
/obj/structure/closet/secure_closet/freezer/kitchen
name = "Kitchen Cabinet"
-34
View File
@@ -7,46 +7,12 @@
..()
reagents.add_reagent("nutriment", 3)
src.bitesize = 3
processing_objects.Add(src)
Del()
processing_objects.Remove(src)
..()
process()
if(!loc) return
var/datum/gas_mixture/environment = loc.return_air()
if(!environment) return
switch(environment.temperature)
if(0 to T0C)
health = 180
return
if(T0C to (T0C + 100))
health = max(0, health - 1)
if(health <= 0)
rot()
/obj/item/weapon/reagent_containers/food/snacks/meat/proc/rot()
desc = "A slab of meat. It looks rotten."
icon_state = "rottenmeat"
var/toxin_amount = reagents.get_reagent_amount("nutriment") * 3
reagents.add_reagent("toxin",toxin_amount)
processing_objects.Remove(src)
/obj/item/weapon/reagent_containers/food/snacks/meat/syntiflesh
name = "synthetic meat"
desc = "A synthetic slab of flesh."
/obj/item/weapon/reagent_containers/food/snacks/meat/syntiflesh/rot()
desc = "A slab of synthetic meat. It looks rotten."
icon_state = "rottenmeat"
var/toxin_amount = reagents.get_reagent_amount("nutriment") * 3
reagents.add_reagent("toxin",toxin_amount)
processing_objects.Remove(src)
/obj/item/weapon/reagent_containers/food/snacks/meat/human
name = "-meat"
var/subjectname = ""