Merge pull request #400 from Tastyfish/master

rejuvinate resets body temp, stabilize atmos restabilizes a chosen area
This commit is contained in:
SkyMarshal
2012-02-10 15:15:21 -08:00

View File

@@ -491,6 +491,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
M.radiation = 0 M.radiation = 0
//M.health = 100 //M.health = 100
M.nutrition = 400 M.nutrition = 400
M.bodytemperature = initial(M.bodytemperature)
M.heal_overall_damage(1000, 1000) M.heal_overall_damage(1000, 1000)
//M.updatehealth() //M.updatehealth()
M.buckled = initial(M.buckled) M.buckled = initial(M.buckled)
@@ -725,35 +726,25 @@ Traitors and the like can also be revived with the previous role mostly intact.
for(var/t in L) for(var/t in L)
usr << "[t]" usr << "[t]"
/client/proc/cmd_admin_remove_plasma() /client/proc/cmd_admin_remove_plasma(area/A as area)
set category = "Debug" set category = "Debug"
set name = "Stabilize Atmos." set name = "Stabilize Atmos."
set desc = "Stabilize atmos in selected area."
if(!holder) if(!holder)
src << "Only administrators may use this command." src << "Only administrators may use this command."
return return
// DEFERRED
/* spawn(1)
spawn(0) for(var/turf/simulated/T in A)
for(var/turf/T in view()) if(T.air)
T.poison = 0 T.air.oxygen = T.oxygen
T.oldpoison = 0 T.air.carbon_dioxide = T.carbon_dioxide
T.tmppoison = 0 T.air.nitrogen = T.nitrogen
T.oxygen = 755985 T.air.toxins = T.toxins
T.oldoxy = 755985 T.air.temperature = T.temperature
T.tmpoxy = 755985
T.co2 = 14.8176 // make things update properly
T.oldco2 = 14.8176 T.assume_air(new /datum/gas_mixture())
T.tmpco2 = 14.8176
T.n2 = 2.844e+006
T.on2 = 2.844e+006
T.tn2 = 2.844e+006
T.tsl_gas = 0
T.osl_gas = 0
T.sl_gas = 0
T.temp = 293.15
T.otemp = 293.15
T.ttemp = 293.15
*/
/client/proc/toggle_view_range() /client/proc/toggle_view_range()
set category = "Special Verbs" set category = "Special Verbs"