soulcatcher patches and tgui core updaste (#17685)

This commit is contained in:
Kashargul
2025-05-08 21:52:11 +02:00
committed by GitHub
parent e2b6f05aac
commit 3a5908ca1d
22 changed files with 46 additions and 58 deletions
@@ -36,13 +36,13 @@
var/req_time = world.time
nif.notify("Transient mindstate detected, analyzing...")
sleep(15) //So if they are typing they get interrupted by sound and message, and don't type over the box
var/response = tgui_alert(H,"[src] ([src.key]) wants to join into your Soulcatcher.","Soulcatcher Request",list("Deny","Allow"))
var/response = tgui_alert(H,"[src] ([src.key]) wants to join into your Soulcatcher.","Soulcatcher Request",list("Deny","Allow"), timeout = 1 MINUTE)
if(!response || response == "Deny")
to_chat(src,span_warning("[H] denied your request."))
return
if((world.time - req_time) > 1 MINUTES)
if((world.time - req_time) > 1 MINUTE)
to_chat(H,span_warning("The request had already expired. (1 minute waiting max)"))
return
+1 -1
View File
@@ -14,7 +14,7 @@
if(mind && mind.current == src)
spellremove(src)
if(!istype(src,/mob/observer))
ghostize()
ghostize(FALSE)
QDEL_NULL(soulgem) //Soulcatcher
QDEL_NULL(dna)
QDEL_NULL(plane_holder)