diff --git a/code/game/gamemodes/blob/blobs/shield.dm b/code/game/gamemodes/blob/blobs/shield.dm
index 173166ddf3..fedc2eb6ab 100644
--- a/code/game/gamemodes/blob/blobs/shield.dm
+++ b/code/game/gamemodes/blob/blobs/shield.dm
@@ -7,11 +7,9 @@
brute_resist = 0.25
explosion_block = 3
point_return = 4
- atmosblock = 1
+ atmosblock = TRUE
armor = list(melee = 0, bullet = 0, laser = 0, energy = 0, bomb = 0, bio = 0, rad = 0, fire = 90, acid = 90)
-
-
/obj/structure/blob/shield/scannerreport()
if(atmosblock)
return "Will prevent the spread of atmospheric changes."
@@ -26,10 +24,10 @@
icon_state = "blob_shield_damaged"
name = "weakened strong blob"
desc = "A wall of twitching tendrils."
- atmosblock = 0
+ atmosblock = FALSE
else
icon_state = initial(icon_state)
name = initial(name)
desc = initial(desc)
- atmosblock = 1
- air_update_turf(1)
+ atmosblock = TRUE
+ air_update_turf(1)
\ No newline at end of file
diff --git a/code/game/gamemodes/blob/theblob.dm b/code/game/gamemodes/blob/theblob.dm
index f6cdd64bb6..c2511f2302 100644
--- a/code/game/gamemodes/blob/theblob.dm
+++ b/code/game/gamemodes/blob/theblob.dm
@@ -8,6 +8,7 @@
opacity = 0
anchored = TRUE
layer = BELOW_MOB_LAYER
+ CanAtmosPass = ATMOS_PASS_PROC
var/point_return = 0 //How many points the blob gets back when it removes a blob of that type. If less than 0, blob cannot be removed.
max_integrity = 30
armor = list(melee = 0, bullet = 0, laser = 0, energy = 0, bomb = 0, bio = 0, rad = 0, fire = 80, acid = 70)
@@ -16,19 +17,9 @@
var/heal_timestamp = 0 //we got healed when?
var/brute_resist = 0.5 //multiplies brute damage by this
var/fire_resist = 1 //multiplies burn damage by this
- var/atmosblock = 0 //if the blob blocks atmos and heat spread
+ var/atmosblock = FALSE //if the blob blocks atmos and heat spread
var/mob/camera/blob/overmind
-/obj/structure/blob/attack_hand(mob/M)
- . = ..()
- M.changeNext_move(CLICK_CD_MELEE)
- var/a = pick("gently stroke", "nuzzle", "affectionatly pet", "cuddle")
- M.visible_message("[M] [a]s [src]!", "You [a] [src]!")
- to_chat(overmind, "[M] [a]s you!")
- playsound(src, 'sound/effects/blobattack.ogg', 50, 1) //SQUISH SQUISH
-
-
-
/obj/structure/blob/Initialize()
var/area/Ablob = get_area(loc)
if(Ablob.blob_allowed) //Is this area allowed for winning as blob?
@@ -37,17 +28,16 @@
setDir(pick(GLOB.cardinals))
update_icon()
.= ..()
- ConsumeTile()
if(atmosblock)
- CanAtmosPass = ATMOS_PASS_NO
air_update_turf(1)
+ ConsumeTile()
/obj/structure/blob/proc/creation_action() //When it's created by the overmind, do this.
return
/obj/structure/blob/Destroy()
if(atmosblock)
- atmosblock = 0
+ atmosblock = FALSE
air_update_turf(1)
GLOB.blobs_legit -= src //if it was in the legit blobs list, it isn't now
GLOB.blobs -= src //it's no longer in the all blobs list either
@@ -79,6 +69,9 @@
return 1
return 0
+/obj/structure/blob/CanAtmosPass(turf/T)
+ return !atmosblock
+
/obj/structure/blob/CanAStarPass(ID, dir, caller)
. = 0
if(ismovableatom(caller))
@@ -353,4 +346,4 @@
icon_state = "blob"
name = "blob"
desc = "A thick wall of writhing tendrils."
- brute_resist = 0.25
+ brute_resist = 0.25
\ No newline at end of file