|
149 | 149 | runechat_flags = EMOTE_MESSAGE, |
150 | 150 | ) |
151 | 151 | else if(is_important) |
152 | | - to_chat(viewer, span_emote("<b>[user]</b>[space][msg]")) |
| 152 | + to_chat(viewer, span_emote("<b>[GET_GUESTBOOK_NAME(viewer, user)]</b>[space][msg]")) // DARKPACK EDIT, ORIGINAL: to_chat(viewer, span_emote("<b>[user]</b> [msg]")) |
153 | 153 | else if(is_audible && is_visual) |
154 | 154 | viewer.show_message( |
155 | | - span_emote("<b>[user]</b>[space][msg]"), MSG_AUDIBLE, |
156 | | - span_emote("You see how <b>[user]</b>[space][msg]"), MSG_VISUAL, |
| 155 | + span_emote("<b>[GET_GUESTBOOK_NAME(viewer, user)]</b>[space][msg]"), MSG_AUDIBLE, // DARKPACK EDIT, ORIGINAL: span_emote("<b>[user]</b> [msg]"), MSG_AUDIBLE, |
| 156 | + span_emote("You see how <b>[GET_GUESTBOOK_NAME(viewer, user)]</b>[space][msg]"), MSG_VISUAL, // DARKPACK EDIT, ORIGINAL: span_emote("You see how <b>[user]</b> [msg]"), MSG_VISUAL, |
157 | 157 | ) |
158 | 158 | else if(is_audible) |
159 | | - viewer.show_message(span_emote("<b>[user]</b>[space][msg]"), MSG_AUDIBLE) |
| 159 | + viewer.show_message(span_emote("<b>[GET_GUESTBOOK_NAME(viewer, user)]</b>[space][msg]"), MSG_AUDIBLE) // DARKPACK EDIT, ORIGINAL: viewer.show_message(span_emote("<b>[user]</b> [msg]"), MSG_AUDIBLE) |
160 | 160 | else if(is_visual) |
161 | | - viewer.show_message(span_emote("<b>[user]</b>[space][msg]"), MSG_VISUAL) |
| 161 | + viewer.show_message(span_emote("<b>[GET_GUESTBOOK_NAME(viewer, user)]</b>[space][msg]"), MSG_VISUAL) // DARKPACK EDIT, ORIGINAL: viewer.show_message(span_emote("<b>[user]</b> [msg]"), MSG_VISUAL) |
162 | 162 | return // Early exit so no dchat message |
163 | 163 |
|
164 | 164 | // The emote has some important information, and should always be shown to the user |
165 | 165 | else if(is_important) |
166 | 166 | for(var/mob/viewer as anything in viewers(user)) |
167 | | - to_chat(viewer, span_emote("<b>[user]</b>[space][msg]")) |
| 167 | + to_chat(viewer, span_emote("<b>[GET_GUESTBOOK_NAME(viewer, user)]</b>[space][msg]")) // DARKPACK EDIT, ORIGINAL: to_chat(viewer, span_emote("<b>[user]</b>[space][msg]")) |
168 | 168 | if(user.runechat_prefs_check(viewer, EMOTE_MESSAGE)) |
169 | 169 | viewer.create_chat_message( |
170 | 170 | speaker = user, |
|
198 | 198 | CRASH("Emote [type] has no valid emote type set!") |
199 | 199 |
|
200 | 200 | if(!isnull(user.client)) |
201 | | - var/dchatmsg = "<b>[user]</b>[space][msg]" |
| 201 | + // var/dchatmsg = "<b>[user]</b>[space][msg]" // DARKPACK EDIT REMOVAL |
202 | 202 | for(var/mob/ghost as anything in GLOB.dead_mob_list - viewers(get_turf(user))) |
203 | 203 | if(isnull(ghost.client) || isnewplayer(ghost)) |
204 | 204 | continue |
205 | 205 | if(!(get_chat_toggles(ghost.client) & CHAT_GHOSTSIGHT)) |
206 | 206 | continue |
| 207 | + var/dchatmsg = "<b>[GET_GUESTBOOK_NAME(ghost, user)]</b>[space][msg]" // DARKPACK EDIT ADDITION |
207 | 208 | to_chat(ghost, span_emote("[FOLLOW_LINK(ghost, user)][space][dchatmsg]")) |
208 | 209 | // DARKPACK EDIT CHANGE END |
209 | 210 |
|
|
0 commit comments