mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-21 03:55:05 +01:00
Lavaland baseturf implementation
This commit is contained in:
@@ -651,7 +651,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
|
||||
feedback_add_details("admin_verb","DEL") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
if(isturf(D))
|
||||
var/turf/T = D
|
||||
T.ChangeTurf(/turf/space)
|
||||
T.ChangeTurf(T.baseturf)
|
||||
else
|
||||
qdel(D)
|
||||
|
||||
|
||||
@@ -190,7 +190,7 @@ var/sc_safecode5 = "[rand(0,9)]"
|
||||
continue
|
||||
if(O.invisibility == 101)
|
||||
src.consume(O)
|
||||
T.ChangeTurf(/turf/space)
|
||||
T.ChangeTurf(T.baseturf)
|
||||
return
|
||||
|
||||
/obj/singularity/narsie/sc_Narsie/ex_act()
|
||||
|
||||
@@ -36,7 +36,7 @@ var/global/list/potentialRandomZlevels = generateMapList(filename = "config/away
|
||||
var/turf/T = thing
|
||||
for(var/otherthing in T)
|
||||
qdel(otherthing)
|
||||
T.ChangeTurf(/turf/space)
|
||||
T.ChangeTurf(T.baseturf)
|
||||
|
||||
/proc/createRandomZlevel()
|
||||
if(awaydestinations.len) //crude, but it saves another var!
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
T.ChangeTurf(/turf/simulated/floor/plasteel)
|
||||
else if(istype(object,/turf/simulated/floor))
|
||||
var/turf/T = object
|
||||
T.ChangeTurf(/turf/space)
|
||||
T.ChangeTurf(T.baseturf)
|
||||
else if(istype(object,/turf/simulated/wall/r_wall))
|
||||
var/turf/T = object
|
||||
T.ChangeTurf(/turf/simulated/wall)
|
||||
|
||||
@@ -5,12 +5,12 @@
|
||||
/turf/simulated/floor/engine/ex_act(severity)
|
||||
switch(severity)
|
||||
if(1.0)
|
||||
ChangeTurf(/turf/space)
|
||||
ChangeTurf(baseturf)
|
||||
qdel(src)
|
||||
return
|
||||
if(2.0)
|
||||
if(prob(50))
|
||||
ChangeTurf(/turf/space)
|
||||
ChangeTurf(baseturf)
|
||||
qdel(src)
|
||||
return
|
||||
else
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
/turf/simulated/floor/engine/blob_act()
|
||||
if(prob(25))
|
||||
ChangeTurf(/turf/space)
|
||||
ChangeTurf(baseturf)
|
||||
qdel(src)
|
||||
return
|
||||
return
|
||||
@@ -51,7 +51,7 @@
|
||||
continue
|
||||
M.loc = null
|
||||
qdel(M, TRUE)
|
||||
T.ChangeTurf(/turf/space)
|
||||
T.ChangeTurf(T.baseturf)
|
||||
var/datum/space_chunk/last_empty_parent = C
|
||||
while(last_empty_parent.parent && last_empty_parent.parent.is_empty)
|
||||
last_empty_parent = last_empty_parent.parent
|
||||
|
||||
Reference in New Issue
Block a user