Slime Blueprint Change

This commit is contained in:
Fox-McCloud
2017-12-02 20:08:30 -05:00
parent f081c62c0b
commit 58baf8a487
3 changed files with 9 additions and 7 deletions
@@ -12,7 +12,7 @@
/mob/camera/aiEye/remote/xenobio/setLoc(t)
var/area/new_area = get_area(t)
if(new_area && new_area.name == allowed_area || istype(new_area, /area/toxins/xenobiology ))
if(new_area && new_area.name == allowed_area || new_area && new_area.xenobiology_compatible)
return ..()
else
return
@@ -589,16 +589,16 @@
/obj/item/areaeditor/blueprints/slime
name = "cerulean prints"
desc = "A one use set of blueprints made of jelly like organic material. Renaming an area to 'Xenobiology Lab' will extend the reach of the management console."
desc = "A one use set of blueprints made of jelly like organic material. Extends the reach of the management console."
color = "#2956B2"
/obj/item/areaeditor/blueprints/slime/edit_area()
. = ..()
..()
var/area/A = get_area(src)
if(.)
for(var/turf/T in A)
T.color = "#2956B2"
qdel(src)
for(var/turf/T in A)
T.color = "#2956B2"
A.xenobiology_compatible = TRUE
qdel(src)
/turf/simulated/floor/sepia
slowdown = 2