From aa76359cf70b6405d8b5c97b6605b88f8a171ec6 Mon Sep 17 00:00:00 2001 From: TobyThorne <45202681+TobyThorne@users.noreply.github.com> Date: Mon, 30 Oct 2023 15:50:08 +0600 Subject: [PATCH] bwoink --- baystation12.dme | 1 - code/game/gamemodes/vampire/powers/darkvision.dm | 2 +- code/game/gamemodes/vampire/powers/veilstep.dm | 10 ++++++++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/baystation12.dme b/baystation12.dme index 1043c7428ee..c72d3594e71 100644 --- a/baystation12.dme +++ b/baystation12.dme @@ -8,7 +8,6 @@ // END_FILE_DIR // BEGIN_PREFERENCES #define DEBUG -// #define TRACY_PROFILER // END_PREFERENCES // BEGIN_INCLUDE #include "code\__spaceman_dmm.dm" diff --git a/code/game/gamemodes/vampire/powers/darkvision.dm b/code/game/gamemodes/vampire/powers/darkvision.dm index 65e6d202c86..5d844211699 100644 --- a/code/game/gamemodes/vampire/powers/darkvision.dm +++ b/code/game/gamemodes/vampire/powers/darkvision.dm @@ -3,7 +3,7 @@ /datum/vampire_power/toggled/darkvision name = "Darkvision" desc = "You're are able to see in the dark." - icon_state = "vamp_darksight_on" + icon_state = "vamp_darksight_off" power_processing = FALSE max_stat = UNCONSCIOUS diff --git a/code/game/gamemodes/vampire/powers/veilstep.dm b/code/game/gamemodes/vampire/powers/veilstep.dm index e1d21d3201c..509320e491c 100644 --- a/code/game/gamemodes/vampire/powers/veilstep.dm +++ b/code/game/gamemodes/vampire/powers/veilstep.dm @@ -26,6 +26,14 @@ set category = null set name = "Veil Step (20)" set desc = "For a moment, move through the Veil and emerge at a shadow of your choice." + if(ishuman(src)) // When used via the context menu the proc reparents to the mob, thank you lummox + var/mob/living/carbon/human/H = src + H.mind?.vampire?._vampire_veilstep(T) + else + _vampire_veilstep(T) + log_and_message_admins("activated veil step.") + +/datum/vampire/proc/_vampire_veilstep(turf/T) var/blood_cost = 20 if (!T || T.density || T.contains_dense_objects()) @@ -69,6 +77,4 @@ else qdel(G) - log_and_message_admins("activated veil step.") - use_blood(blood_cost)