OOC Emoji 2.0 - TG Edition (#25012)

* Didn't work

* It works

* Emojipedia

* Some emoji sorting

* lol

* Remove a lot of shit emoji

* Update emojipedia.dm

* Observer and ghost-bar emoji

* Msay emoji

* Emoji sorting and updates

* Make emoji centered

* Clueless and trollface

* Mowzers

* +taa

* Another rebuild

* TRUE and Rebuild
This commit is contained in:
Aylong
2024-04-18 21:41:41 +03:00
committed by GitHub
parent 950ce9f791
commit c8e59706e2
18 changed files with 176 additions and 11 deletions
+6 -4
View File
@@ -1,10 +1,12 @@
/client/proc/cmd_admin_say(msg as text)
set name = "Asay" //Gave this shit a shorter name so you only have to time out "asay" rather than "admin say" to use it --NeoFite
set hidden = 1
if(!check_rights(R_ADMIN)) return
if(!check_rights(R_ADMIN))
return
msg = sanitize(copytext_char(msg, 1, MAX_MESSAGE_LEN))
if(!msg) return
msg = emoji_parse(copytext_char(sanitize(msg), 1, MAX_MESSAGE_LEN))
if(!msg)
return
var/datum/asays/asay = new(usr.ckey, usr.client.holder.rank, msg, world.timeofday)
GLOB.asays += asay
@@ -60,7 +62,7 @@
else if(!check_rights(R_ADMIN|R_MOD)) // Catch any other non-admins trying to use this proc
return
msg = sanitize(copytext_char(msg, 1, MAX_MESSAGE_LEN))
msg = emoji_parse(copytext_char(sanitize(msg), 1, MAX_MESSAGE_LEN))
log_mentorsay(msg, src)
mob.create_log(OOC_LOG, "MSAY: [msg]")