mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
can't trust players with anything
This commit is contained in:
@@ -1475,6 +1475,8 @@
|
|||||||
|
|
||||||
text = input("What would you like to say?", "Speak to creature", null, null)
|
text = input("What would you like to say?", "Speak to creature", null, null)
|
||||||
|
|
||||||
|
text = trim(copytext(sanitize(text), 1, MAX_MESSAGE_LEN))
|
||||||
|
|
||||||
if(!text) return
|
if(!text) return
|
||||||
|
|
||||||
var/mob/M = targets[target]
|
var/mob/M = targets[target]
|
||||||
@@ -1483,10 +1485,12 @@
|
|||||||
src << "Not even a [src.species.name] can speak to the dead."
|
src << "Not even a [src.species.name] can speak to the dead."
|
||||||
return
|
return
|
||||||
|
|
||||||
|
log_say("[key_name(src)] communed to [key_name(M)]: [text]")
|
||||||
|
|
||||||
M << "\blue Like lead slabs crashing into the ocean, alien thoughts drop into your mind: [text]"
|
M << "\blue Like lead slabs crashing into the ocean, alien thoughts drop into your mind: [text]"
|
||||||
if(istype(M,/mob/living/carbon/human))
|
if(istype(M,/mob/living/carbon/human))
|
||||||
var/mob/living/carbon/human/H = M
|
var/mob/living/carbon/human/H = M
|
||||||
if(H.species.name == src.species.name)
|
if(H.species.name == src.species.name)
|
||||||
return
|
return
|
||||||
H << "\red Your nose begins to bleed..."
|
H << "\red Your nose begins to bleed..."
|
||||||
H.drip(1)
|
H.drip(1)
|
||||||
|
|||||||
Reference in New Issue
Block a user