mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
- 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user