From 4d92edfe4426d8ccc6ce23bcd0b5c48b9dce02ce Mon Sep 17 00:00:00 2001 From: Dinnel Date: Sun, 14 Dec 2025 12:22:07 -0600 Subject: [PATCH] Adds a simple check to allow vampires to level While I would rather it work from a coffin, this works good enough too. If your eyes are closed while crafting, it'll pool up up to a point, but it won't allow you to gain easy intermediate levels, it'd be the same as crafting at apprentice. --- code/datums/sleep_adv/sleep_adv.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/datums/sleep_adv/sleep_adv.dm b/code/datums/sleep_adv/sleep_adv.dm index 7375cc08997..04087cc9ab9 100644 --- a/code/datums/sleep_adv/sleep_adv.dm +++ b/code/datums/sleep_adv/sleep_adv.dm @@ -223,7 +223,7 @@ if(!mind.current) return FALSE var/has_vamp_trait = HAS_TRAIT(mind.current, TRAIT_VAMP_DREAMS) - if(has_vamp_trait) + if(has_vamp_trait && mind.current.eyesclosed) //Caustic Line Edit - Adds janky check to see if vampire's eyes are closed, so vampires can gain lower levels instantly without sleep. Someone in the future make it a coffin check? return TRUE if(mind.current.IsSleeping()) return TRUE