Moves the areas procs all into the same file.

Comments out an if statement to supress a warning.
Although not yet located on the map, adds the code for gravity generators.
Actually enables attack logging by default, now.  


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2927 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
VivianFoxfoot@gmail.com
2012-01-08 08:47:54 +00:00
parent 1f29357168
commit 4ef0251aad
7 changed files with 248 additions and 91 deletions
@@ -2202,7 +2202,7 @@ It can still be worn/put on as normal.
src.stat = 0
return
src.health = 100 - src.getOxyLoss() - src.getToxLoss() - src.getFireLoss() - src.getBruteLoss() - src.getCloneLoss()
if(getFireLoss() > 100 && stat == DEAD)
//if(getFireLoss() > 100 && stat == DEAD)
// ChangeToHusk() // Commented out due to lasers and fire also husking you and making you unclonable.
return
+6
View File
@@ -332,6 +332,10 @@
//First check to see if we can do things
if(restrained()) return 0
if(istype(src,/mob/living/carbon))
if(src.l_hand && src.r_hand)
return 0
var/dense_object = 0
for(var/turf/turf in oview(1,src))
if(istype(turf,/turf/space))
@@ -349,6 +353,8 @@
if((istype(turf,/turf/simulated/floor)) && (a.has_gravity == 0)) // No one else gets a chance.
continue
/*
if(istype(turf,/turf/simulated/floor) && (src.flags & NOGRAV))
continue