mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 15:08:02 +01:00
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:
@@ -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 = ""
|
||||
|
||||
Reference in New Issue
Block a user