mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +00:00
Make it possible for pred to send a message when someone tries spawning in your gut
This commit is contained in:
@@ -690,11 +690,14 @@ var/global/datum/controller/occupations/job_master
|
||||
vore_spawn_gut = input(C, "Choose a Belly.", "Belly Spawnpoint") as null|anything in available_bellies
|
||||
if(!vore_spawn_gut)
|
||||
return
|
||||
to_chat(C, "<span class='warning'>[pred] has received your spawn request. Please wait.</span>")
|
||||
to_chat(C, "<b><span class='warning'>[pred] has received your spawn request. Please wait.</span></b>")
|
||||
log_admin("[key_name(C)] has requested to vore spawn into [key_name(pred)]")
|
||||
message_admins("[key_name(C)] has requested to vore spawn into [key_name(pred)]")
|
||||
|
||||
var/confirm = alert(pred, "[C.prefs.real_name] is attempting to spawn into your [vore_spawn_gut]. Let them?", "Confirm", "No", "Yes")
|
||||
var/message = sanitizeSafe(input(pred,"Do you want to leave them a message?")as text|null)
|
||||
if(message)
|
||||
to_chat(C, "<span class='notice'>[pred] message : [message]</span>")
|
||||
if(confirm != "Yes")
|
||||
to_chat(C, "<span class='warning'>[pred] has declined your spawn request.</span>")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user