From 0f9c829960db7be755d5e7d959703dcac2c5867a Mon Sep 17 00:00:00 2001
From: dearmochi <1496804+dearmochi@users.noreply.github.com>
Date: Tue, 17 Oct 2023 02:47:26 +0900
Subject: [PATCH] Add shadow demon login message and improve ability
descriptions (#22855)
* Add shadow demon login message and improve ability descriptions
* Use wiki_link
---------
Co-authored-by: S34N <12197162+S34NW@users.noreply.github.com>
---
code/datums/spells/bloodcrawl.dm | 2 +-
.../demons/shadow_demon/shadow_demon.dm | 22 ++++++++++++++++++-
2 files changed, 22 insertions(+), 2 deletions(-)
diff --git a/code/datums/spells/bloodcrawl.dm b/code/datums/spells/bloodcrawl.dm
index 595711943a1..6d00e58ba67 100644
--- a/code/datums/spells/bloodcrawl.dm
+++ b/code/datums/spells/bloodcrawl.dm
@@ -247,7 +247,7 @@
/obj/effect/proc_holder/spell/bloodcrawl/shadow_crawl
name = "Shadow Crawl"
- desc = "Use darkness to phase out of existence."
+ desc = "Fade into the shadows, increasing your speed and making you incomprehensible. Will not work in brightened terrane."
allowed_type = /turf
action_background_icon_state = "shadow_demon_bg"
action_icon_state = "shadow_crawl"
diff --git a/code/game/gamemodes/miniantags/demons/shadow_demon/shadow_demon.dm b/code/game/gamemodes/miniantags/demons/shadow_demon/shadow_demon.dm
index 9c4d6dc19b6..475b432df01 100644
--- a/code/game/gamemodes/miniantags/demons/shadow_demon/shadow_demon.dm
+++ b/code/game/gamemodes/miniantags/demons/shadow_demon/shadow_demon.dm
@@ -10,6 +10,19 @@
var/thrown_alert = FALSE
var/wrapping = FALSE
+/mob/living/simple_animal/demon/shadow/Login()
+ ..()
+ var/list/L = list(
+ "You are a shadow demon!",
+ "You are a lethal ambush predator who thrives in the darkness, calling upon the shadows to heal your injured form and increase your speed.",
+ "Light is however your worst enemy and being exposed for too long will be fatal.",
+ "Striking your victims with your shadow grapple extinguishes any light sources around them. Striking items silences any light within them.",
+ "You can wrap your dead victims into a shadow cocoon which provides a shroud of darkness which tears away any light near it.",
+ "You do not remember anything of your past lives, nor will you remember anything about this one after your death.",
+ "
For more information, check the wiki page: [wiki_link("Shadow_Demon")]"
+ )
+ to_chat(src, chat_box_red(L.Join("
")))
+
/mob/living/simple_animal/demon/shadow/Life(seconds, times_fired)
. = ..()
var/lum_count = check_darkness()
@@ -68,6 +81,13 @@
. = ..()
START_PROCESSING(SSobj, src)
+
+/obj/structure/shadowcocoon/examine(mob/user)
+ . = ..()
+ if(istype(user, /mob/living/simple_animal/demon/shadow))
+ . += silent ? "The tendrils are idle and will not produce noise." : "The tendrils are agitated and will occasionally produce noise to lure in more prey."
+ . += "Alt+Click to toggle whether [src] should produce noise to lure in victims."
+
/obj/structure/shadowcocoon/process()
time_since_last_hallucination++
for(var/atom/to_darken in range(4, src))
@@ -152,7 +172,7 @@
/obj/effect/proc_holder/spell/fireball/shadow_grapple
name = "Shadow Grapple"
- desc = "Fire one of your hands, if it hits a person it pulls them in. If you hit a structure you get pulled to the structure."
+ desc = "Fire one of your hands, if it hits a person it pulls them in. If you hit a structure you get pulled to the structure. Any light source hit with this will be disabled in a two tile radius."
base_cooldown = 10 SECONDS
fireball_type = /obj/item/projectile/magic/shadow_hand