mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 12:29:46 +01:00
Next up, objects! One day we'll be able to click on something in the object tree, and actually end up where all the object code is. I standardized robot/life.dm while I was at it. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4510 316c924e-a436-60f5-8080-3fe189b3f50e
38 lines
1.7 KiB
Plaintext
38 lines
1.7 KiB
Plaintext
/mob/living
|
|
see_invisible = SEE_INVISIBLE_LIVING
|
|
|
|
//Health and life related vars
|
|
var/maxHealth = 100 //Maximum health that should be possible.
|
|
var/health = 100 //A mob's health
|
|
|
|
//Damage related vars, NOTE: THESE SHOULD ONLY BE MODIFIED BY PROCS
|
|
var/bruteloss = 0.0 //Brutal damage caused by brute force (punching, being clubbed by a toolbox ect... this also accounts for pressure damage)
|
|
var/oxyloss = 0.0 //Oxygen depravation damage (no air in lungs)
|
|
var/toxloss = 0.0 //Toxic damage caused by being poisoned or radiated
|
|
var/fireloss = 0.0 //Burn damage caused by being way too hot, too cold or burnt.
|
|
var/cloneloss = 0 //Damage caused by being cloned or ejected from the cloner early. Metroids also deal cloneloss damage to victims
|
|
var/brainloss = 0 //'Retardation' damage caused by someone hitting you in the head with a bible or being infected with brainrot.
|
|
var/halloss = 0 //Hallucination damage. 'Fake' damage obtained through hallucinating or the holodeck. Sleeping should cause it to wear off.
|
|
|
|
|
|
var/hallucination = 0 //Directly affects how long a mob will hallucinate for
|
|
var/list/atom/hallucinations = list() //A list of hallucinated people that try to attack the mob. See /obj/effect/fake_attacker in hallucinations.dm
|
|
|
|
|
|
var/last_special = 0 //Used by the resist verb, likely used to prevent players from bypassing next_move by logging in/out.
|
|
|
|
//Allows mobs to move through dense areas without restriction. For instance, in space or out of holder objects.
|
|
var/incorporeal_move = 0 //0 is off, 1 is normal, 2 is for ninjas.
|
|
|
|
|
|
var/t_plasma = null
|
|
var/t_oxygen = null
|
|
var/t_sl_gas = null
|
|
var/t_n2 = null
|
|
|
|
|
|
var/now_pushing = null
|
|
|
|
var/cameraFollow = null
|
|
|
|
var/tod = null // Time of death |