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