max_lum) continue
+ turfs += T
+
+ if(!turfs.len)
+ usr << "\red You cannot find darkness to step to."
+ return
+
+ var/turf/picked = pick(turfs)
+
+ if(!picked || !isturf(picked))
+ return
+ M.current.ExtinguishMob()
+ if(M.current.buckled)
+ M.current.buckled.unbuckle()
+ var/atom/movable/overlay/animation = new /atom/movable/overlay( get_turf(usr) )
+ animation.name = usr.name
+ animation.density = 0
+ animation.anchored = 1
+ animation.icon = usr.icon
+ animation.alpha = 127
+ animation.layer = 5
+ //animation.master = src
+ usr.loc = picked
+ spawn(10)
+ del(animation)
+ M.current.verbs -= /client/proc/vampire_shadowstep
+ spawn(20)
+ M.current.verbs += /client/proc/vampire_shadowstep
+
/mob/proc/remove_vampire_blood(amount = 0)
var/bloodold
if(!mind || !mind.vampire)
diff --git a/code/game/machinery/cloning.dm b/code/game/machinery/cloning.dm
index d27ff99a947..5934fabe807 100644
--- a/code/game/machinery/cloning.dm
+++ b/code/game/machinery/cloning.dm
@@ -166,19 +166,17 @@
// -- Mode/mind specific stuff goes here
- switch(ticker.mode.name)
- if("revolution")
- if((H.mind in ticker.mode:revolutionaries) || (H.mind in ticker.mode:head_revolutionaries))
- ticker.mode.update_all_rev_icons() //So the icon actually appears
- if("nuclear emergency")
- if(H.mind in ticker.mode.syndicates)
- ticker.mode.update_all_synd_icons()
- if("cult")
- if (H.mind in ticker.mode.cult)
- ticker.mode.add_cultist(src.occupant.mind)
- ticker.mode.update_all_cult_icons() //So the icon actually appears
- if("\ref[H.mind]" in ticker.mode.implanter || H.mind in ticker.mode.implanted)
+ if((H.mind in ticker.mode:revolutionaries) || (H.mind in ticker.mode:head_revolutionaries))
+ ticker.mode.update_all_rev_icons() //So the icon actually appears
+ if(H.mind in ticker.mode.syndicates)
+ ticker.mode.update_all_synd_icons()
+ if (H.mind in ticker.mode.cult)
+ ticker.mode.add_cultist(src.occupant.mind)
+ ticker.mode.update_all_cult_icons() //So the icon actually appears
+ if(("\ref[H.mind]" in ticker.mode.implanter) || (H.mind in ticker.mode.implanted))
ticker.mode.update_traitor_icons_added(H.mind) //So the icon actually appears
+ if(("\ref[H.mind]" in ticker.mode.thralls) || (H.mind in ticker.mode.enthralled))
+ ticker.mode.update_vampire_icons_added(H.mind)
// -- End mode specific stuff
diff --git a/code/modules/mob/living/carbon/carbon.dm b/code/modules/mob/living/carbon/carbon.dm
index f889de1d79c..86ac0bb0dbc 100644
--- a/code/modules/mob/living/carbon/carbon.dm
+++ b/code/modules/mob/living/carbon/carbon.dm
@@ -1,3 +1,9 @@
+/mob/living/carbon/Login()
+ ..()
+ update_hud()
+ return
+
+
/mob/living/carbon/Move(NewLoc, direct)
. = ..()
if(.)
diff --git a/code/modules/mob/living/carbon/human/life.dm b/code/modules/mob/living/carbon/human/life.dm
index e0838aa2930..a3ec4cbecdd 100644
--- a/code/modules/mob/living/carbon/human/life.dm
+++ b/code/modules/mob/living/carbon/human/life.dm
@@ -126,6 +126,13 @@
G.process()
if(mind && mind.vampire)
+ if(hud_used)
+ if(!hud_used.vampire_blood_display)
+ hud_used.vampire_hud()
+ //hud_used.human_hud(hud_used.ui_style)
+ hud_used.vampire_blood_display.maptext_width = 64
+ hud_used.vampire_blood_display.maptext_height = 26
+ hud_used.vampire_blood_display.maptext = " U:[mind.vampire.bloodusable]
T:[mind.vampire.bloodtotal]
"
handle_vampire_cloak()
diff --git a/code/modules/mob/living/login.dm b/code/modules/mob/living/login.dm
index e722b03fc74..78fd2a484b4 100644
--- a/code/modules/mob/living/login.dm
+++ b/code/modules/mob/living/login.dm
@@ -6,21 +6,20 @@
//Round specific stuff like hud updates
if(ticker && ticker.mode)
- switch(ticker.mode.name)
- if("revolution")
- if((mind in ticker.mode.revolutionaries) || (src.mind in ticker.mode:head_revolutionaries))
- ticker.mode.update_rev_icons_added(src.mind)
- if("cult")
- if(mind in ticker.mode:cult)
- ticker.mode.update_cult_icons_added(src.mind)
- if("nuclear emergency")
- if(mind in ticker.mode:syndicates)
- ticker.mode.update_all_synd_icons()
+ if((mind in ticker.mode.revolutionaries) || (src.mind in ticker.mode:head_revolutionaries))
+ ticker.mode.update_rev_icons_added(src.mind)
+ if(mind in ticker.mode:cult)
+ ticker.mode.update_cult_icons_added(src.mind)
+ if(mind in ticker.mode:syndicates)
+ ticker.mode.update_all_synd_icons()
var/ref = "\ref[mind]"
if(ref in ticker.mode.implanter)
ticker.mode.update_traitor_icons_added(mind)
if(mind in ticker.mode.implanted)
ticker.mode.update_traitor_icons_added(mind)
+ if((ref in ticker.mode.thralls) || (mind in ticker.mode.enthralled))
+ ticker.mode.update_vampire_icons_added(mind)
+ return
return .
diff --git a/code/modules/virus2/disease2.dm b/code/modules/virus2/disease2.dm
index a43ec5bffdd..dfd96a980c4 100644
--- a/code/modules/virus2/disease2.dm
+++ b/code/modules/virus2/disease2.dm
@@ -102,6 +102,7 @@
disease.uniqueID = uniqueID
disease.speed = speed
disease.stage = stage
+ disease.clicks = clicks
for(var/datum/disease2/effectholder/holder in effects)
var/datum/disease2/effectholder/newholder = new /datum/disease2/effectholder
newholder.effect = new holder.effect.type
diff --git a/code/setup.dm b/code/setup.dm
index 38cf78a402c..6f182352342 100644
--- a/code/setup.dm
+++ b/code/setup.dm
@@ -787,4 +787,5 @@ var/list/RESTRICTED_CAMERA_NETWORKS = list( //Those networks can only be accesse
#define VAMP_SCREAM 9
#define VAMP_JAUNT 10
#define VAMP_SLAVE 11
-#define VAMP_FULL 12
\ No newline at end of file
+#define VAMP_BLINK 12
+#define VAMP_FULL 13
\ No newline at end of file