The [src.name] has been attacked with \the [W][(user ? " by [user]." : ".")]")
+ var/damage = 0
+ switch(W.damtype)
+ if("fire")
+ damage = (W.force / max(src.fire_resist,1))
+ if(istype(W, /obj/item/weapon/weldingtool))
+ playsound(src.loc, 'sound/items/Welder.ogg', 100, 1)
+ if("brute")
+ damage = (W.force / max(src.brute_resist,1))
+
+ health -= damage
+ update_icon()
+ return
+
+/obj/effect/blob/proc/change_to(var/type)
+ if(!ispath(type))
+ error("[type] is an invalid type for the blob.")
+ new type(src.loc)
+ Delete()
+ return
+
+/obj/effect/blob/proc/Delete()
+ del(src)
/obj/effect/blob/normal
icon_state = "blob"
luminosity = 0
health = 21
- Delete()
- src.loc = null
- blobs -= src
+/obj/effect/blob/normal/Delete()
+ src.loc = null
+ blobs -= src
- update_icon()
- if(health <= 0)
- playsound(src.loc, 'sound/effects/splat.ogg', 50, 1)
- Delete()
- return
- if(health <= 15)
- icon_state = "blob_damaged"
- return
+/obj/effect/blob/normal/update_icon()
+ if(health <= 0)
+ playsound(src.loc, 'sound/effects/splat.ogg', 50, 1)
+ Delete()
+ return
+ if(health <= 15)
+ icon_state = "blob_damaged"
+ return
+
+/* // Used to create the glow sprites. Remember to set the animate loop to 1, instead of infinite!
+
+var/datum/blob_colour/B = new()
+
+/datum/blob_colour/New()
+ ..()
+ var/icon/I = 'icons/mob/blob.dmi'
+ I += rgb(35, 35, 0)
+ if(isfile("icons/mob/blob_result.dmi"))
+ fdel("icons/mob/blob_result.dmi")
+ fcopy(I, "icons/mob/blob_result.dmi")
+
+*/
\ No newline at end of file
diff --git a/html/changelog.html b/html/changelog.html
index 4fab1630f6c..8b07b2b2883 100644
--- a/html/changelog.html
+++ b/html/changelog.html
@@ -52,12 +52,20 @@ should be listed in the changelog upon commit tho. Thanks. -->
-
-
-
-
-
+
+
+
6 October 2013
+
Giacom updated:
+
+ - New blob features!
+ - The blob will glow when it is being pulsed from a core/node. Resource/factories have depended on being pulsed to work, but you couldn't see; well now you can.
+ - Overminds can talk! But only to other overminds, but ghosts can hear their conversations.
+ - As a blob overmind you can now use shortcuts to help robust that assistant with the welding tank dangerously close to your core.
+ - Expand = CTRL Click - Rally = Middle Mouse Click - Create Shield = Alt Click
+
+
+
diff --git a/icons/mob/blob.dmi b/icons/mob/blob.dmi
index 7b265ba2bd1..19528ccbb1b 100644
Binary files a/icons/mob/blob.dmi and b/icons/mob/blob.dmi differ
diff --git a/tgstation.dme b/tgstation.dme
index 5099ce4c156..89b315eea00 100644
--- a/tgstation.dme
+++ b/tgstation.dme
@@ -42,6 +42,7 @@
#include "code\_onclick\item_attack.dm"
#include "code\_onclick\observer.dm"
#include "code\_onclick\other_mobs.dm"
+#include "code\_onclick\overmind.dm"
#include "code\_onclick\telekinesis.dm"
#include "code\_onclick\hud\_defines.dm"
#include "code\_onclick\hud\alien.dm"