- Object tree grouped a bit more.

Two new categories were made: station_objects and effects. station_objects, which I'm sure someone will want renamed to 'structures' contains the objects which don't need process() or power code.

Effects contains objects which are either landmarks, triggers, spawners or decal.

Screenshot:
http://www.kamletos.si/new%20object%20tree.PNG

I didn't notice any bugs, but with a revision editing 276 files of byond code, you never know.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2323 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
baloh.matevz
2011-10-03 06:54:28 +00:00
parent 1706e00d3b
commit e8c6b08419
276 changed files with 6418 additions and 6418 deletions

View File

@@ -32,8 +32,8 @@
for(var/i = 1 to 3)
var/turf/location = pick(blobstart)
if(location)
if(!locate(/obj/blob in location))
var/obj/blob/blob = new/obj/blob(location)
if(!locate(/obj/effects/blob in location))
var/obj/effects/blob/blob = new/obj/effects/blob(location)
spawn(200)
if(blob)
if(blob.blobtype == "Blob")
@@ -58,7 +58,7 @@
for(var/i = 1 to 10)
sleep(-1)
if(!active_blobs.len) break
var/obj/blob/B = pick(active_blobs)
var/obj/effects/blob/B = pick(active_blobs)
if(B.z != 1)
continue
@@ -108,7 +108,7 @@
return 1
if(station_was_nuked)
return 1
for(var/obj/blob/B in blobs)
for(var/obj/effects/blob/B in blobs)
if(B.z == 1)
return 0
return 1