mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 04:27:35 +01:00
@@ -97,10 +97,15 @@
|
||||
set category = "Borer"
|
||||
set name = "Converse with Host"
|
||||
set desc = "Send a silent message to your host."
|
||||
|
||||
if(!host)
|
||||
to_chat(src, "You do not have a host to communicate with!")
|
||||
return
|
||||
|
||||
if(stat)
|
||||
to_chat(src, "You cannot do that in your current state.")
|
||||
return
|
||||
|
||||
var/input = stripped_input(src, "Please enter a message to tell your host.", "Borer", "")
|
||||
if(!input) return
|
||||
|
||||
@@ -207,6 +212,12 @@
|
||||
if(prob(host.getBrainLoss()/20))
|
||||
host.say("*[pick(list("blink","blink_r","choke","aflap","drool","twitch","twitch_s","gasp"))]")
|
||||
|
||||
/mob/living/simple_animal/borer/handle_environment()
|
||||
if(host)
|
||||
return // Snuggled up, nice and warm, in someone's head
|
||||
else
|
||||
return ..()
|
||||
|
||||
/mob/living/simple_animal/borer/New(var/by_gamemode=0)
|
||||
..()
|
||||
add_language("Cortical Link")
|
||||
@@ -231,14 +242,6 @@
|
||||
|
||||
// VERBS!
|
||||
|
||||
/mob/living/simple_animal/borer/proc/borer_speak(var/message)
|
||||
if(!message)
|
||||
return
|
||||
|
||||
for(var/mob/M in mob_list)
|
||||
if(M.mind && (istype(M, /mob/living/simple_animal/borer) || istype(M, /mob/dead/observer)))
|
||||
to_chat(M, "<i>Cortical link, <b>[truename]:</b> [copytext(message, 2)]</i>")
|
||||
|
||||
/mob/living/simple_animal/borer/verb/dominate_victim()
|
||||
set category = "Borer"
|
||||
set name = "Dominate Victim"
|
||||
@@ -288,6 +291,10 @@
|
||||
to_chat(src, "You are not inside a host body.")
|
||||
return
|
||||
|
||||
if(host.stat == DEAD)
|
||||
to_chat(src, "This host is in no condition to be controlled.")
|
||||
return
|
||||
|
||||
if(src.stat)
|
||||
to_chat(src, "You cannot do that in your current state.")
|
||||
return
|
||||
@@ -405,6 +412,7 @@
|
||||
|
||||
if(stat)
|
||||
to_chat(src, "You cannot leave your host in your current state.")
|
||||
return
|
||||
|
||||
if(docile)
|
||||
to_chat(src, "\blue You are feeling far too docile to do that.")
|
||||
|
||||
@@ -111,7 +111,7 @@
|
||||
if(istype(I,/mob/living/simple_animal/borer))
|
||||
B = I
|
||||
if(B)
|
||||
if(!B.ckey && ckey && B.controlling)
|
||||
if(B.controlling && B.host == src)
|
||||
B.detatch()
|
||||
|
||||
verbs -= /mob/living/carbon/proc/release_control
|
||||
|
||||
Reference in New Issue
Block a user