mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 12:08:28 +01:00
NPC Emote Filter (#15592)
This commit is contained in:
@@ -188,7 +188,10 @@
|
||||
|
||||
if(input)
|
||||
log_emote(message,src) //Log before we add junk
|
||||
message = "<span class='emote'><B>[src]</B> [input]</span>"
|
||||
if(usr && usr.client)
|
||||
message = "<span class='emote'><B>[src]</B> [input]</span>"
|
||||
else
|
||||
message = "<span class='npcemote'><B>[src]</B> [input]</span>"
|
||||
else
|
||||
return
|
||||
|
||||
|
||||
@@ -23,6 +23,7 @@ export const MESSAGE_TYPE_INTERNAL = 'internal';
|
||||
// Must match the set of defines in code/__DEFINES/chat.dm
|
||||
export const MESSAGE_TYPE_SYSTEM = 'system';
|
||||
export const MESSAGE_TYPE_LOCALCHAT = 'localchat';
|
||||
export const MESSAGE_TYPE_NPCEMOTE = 'npcemote';
|
||||
export const MESSAGE_TYPE_PLOCALCHAT = 'plocalchat';
|
||||
export const MESSAGE_TYPE_VORE = 'vore';
|
||||
export const MESSAGE_TYPE_RADIO = 'radio';
|
||||
@@ -61,6 +62,12 @@ export const MESSAGE_TYPES = [
|
||||
description: 'In-character local messages (say, emote, etc)',
|
||||
selector: '.say, .emote, .emotesubtle',
|
||||
},
|
||||
{
|
||||
type: MESSAGE_TYPE_NPCEMOTE,
|
||||
name: 'NPC Emotes',
|
||||
description: 'In-character emotes from NPCs',
|
||||
selector: '.npcemote',
|
||||
},
|
||||
{
|
||||
type: MESSAGE_TYPE_PLOCALCHAT,
|
||||
name: 'Local (Pred/Prey)',
|
||||
|
||||
@@ -369,6 +369,7 @@ img.icon.bigicon {
|
||||
|
||||
.say,
|
||||
.emote,
|
||||
.npcemote,
|
||||
.infoplain,
|
||||
.oocplain,
|
||||
.warningplain {
|
||||
|
||||
@@ -387,6 +387,7 @@ img.icon.bigicon {
|
||||
|
||||
.say,
|
||||
.emote,
|
||||
.npcemote,
|
||||
.infoplain,
|
||||
.oocplain,
|
||||
.warningplain {
|
||||
|
||||
@@ -369,6 +369,7 @@ img.icon.bigicon {
|
||||
|
||||
.say,
|
||||
.emote,
|
||||
.npcemote,
|
||||
.infoplain,
|
||||
.oocplain,
|
||||
.warningplain {
|
||||
|
||||
@@ -387,6 +387,7 @@ img.icon.bigicon {
|
||||
|
||||
.say,
|
||||
.emote,
|
||||
.npcemote,
|
||||
.infoplain,
|
||||
.oocplain,
|
||||
.warningplain {
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user