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