Fixed and cleaned up ZAS. Added some better sanity to explosion locations.

ZAS procs are now more standardized, needs more comments though.
Connections between zones now self-manage themselves, adjusting things if/when the turfs they are on change zones. (The check for this is very efficient and fast, but a bit hard to read codewise)
Zone share percent set to 4.  Seems to work well.
This commit is contained in:
SkyMarshal
2012-06-04 14:56:28 -07:00
parent 81efb76970
commit bfa48835f9
22 changed files with 538 additions and 332 deletions
@@ -65,7 +65,7 @@
//For ninjas exploding when they die./N
if (istype(wear_suit, /obj/item/clothing/suit/space/space_ninja)&&wear_suit:s_initialized)
src << browse(null, "window=spideros")//Just in case.
var/location = loc
var/turf/location = get_turf(src)
explosion(location, 1, 2, 3, 4)
canmove = 0
@@ -11,7 +11,7 @@
if (ghost.client)
ghost.client.eye = ghost
explosion(src.loc, -1,-1,3,12)
explosion(get_turf(src), -1,-1,3,12)
sleep(2)
del(src)
else
+1 -1
View File
@@ -39,7 +39,7 @@
if(explosive)
spawn(10)
explosion(src.loc, 3, 6, 12, 15)
explosion(get_turf(src), 3, 6, 12, 15)
for(var/obj/machinery/ai_status_display/O in world) //change status
spawn( 0 )
@@ -2,7 +2,7 @@
src.stat = 2
src.icon_state = "ai-crash"
spawn(10)
explosion(src.loc, 3, 6, 12, 15)
explosion(get_turf(src), 3, 6, 12, 15)
for(var/obj/machinery/ai_status_display/O in world) //change status
spawn( 0 )