Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gets rid of [does something subtly] message #6076

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions code/modules/mob/say_vr.dm
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
message = say_emphasis(message)
SEND_SIGNAL(src, COMSIG_MOB_SUBTLE_EMOTE, src, message)

// todo: get hearers in view this
var/list/vis = get_mobs_and_objs_in_view_fast(get_turf(src),1,2) //Turf, Range, and type 2 is emote
var/list/vis_mobs = vis["mobs"]
var/list/vis_objs = vis["objs"]
Expand All @@ -58,10 +59,6 @@
spawn(0)
O.see_emote(src, message, 2)

var/list/other_viewers = get_hearers_in_view(source = src)
for(var/mob/M in other_viewers - vis_mobs)
M.show_message(SPAN_SMALL("<i>[src] does something [pick("subtly", "discreetly", "hidden", "obscured")].</i>"), SAYCODE_TYPE_VISIBLE)

/mob/proc/emote_vr(var/act, var/type, var/message) //This would normally go in say.dm
if(act == "me")
return custom_emote_vr(type, message)
Expand Down
Loading