Just adding a proc that I am going to use in the organ system soon.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2935 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
rockdtben
2012-01-09 14:51:29 +00:00
parent 3942358580
commit 2f2c4e98a6
2 changed files with 8 additions and 0 deletions

View File

@@ -1100,4 +1100,10 @@ note dizziness decrements automatically in the mob's Life() proc.
/mob/proc/setDNA(var/datum/dna/newDNA)
dna = newDNA
/mob/proc/getMaxHealth()
return maxHealth
/mob/proc/setMaxHealth(var/newMaxHealth)
maxHealth = newMaxHealth
// ++++ROCKDTBEN++++ MOB PROCS //END

View File

@@ -25,6 +25,7 @@
var/fireloss = 0.0//Living
var/cloneloss = 0//Carbon
var/brainloss = 0//Carbon
var/maxHealth = 100 //Living
//Vars that should only be accessed via procs ++END
@@ -106,6 +107,7 @@
var/timeofdeath = 0.0//Living
var/cpr_time = 1.0//Carbon
var/health = 100//Living
var/bodytemperature = 310.055 //98.7 F
var/drowsyness = 0.0//Carbon
var/dizziness = 0//Carbon