mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 12:41:09 +01:00
## About The Pull Request - Updates the UI of Emojipedia so instead of having a bunch of loose icons that enlarge on hover, they are all already enlarged and in boxes so it doesn't look horrific. - Fixes the sprites for some face emojis as they were in the corner instead of center, and renames a few emojis to make more sense (exclamation is now x just as question is q) - Clicking an emoji now copies ``:emoji:`` rather than forcing you to manually type the : in - Removes the sorting from the UI so now it's in order in which they appear in the DMI, so faces are all together and such. <img width="603" height="640" alt="image" src="https://github.com/user-attachments/assets/8ec18e39-3936-45c8-b92e-cd4bcd3c8728" /> - Adds emojis: Crate, Pickaxe, Computer <img width="54" height="84" alt="image" src="https://github.com/user-attachments/assets/2753a23f-e114-4f2c-89fa-5c568bed1afd" /> <img width="67" height="95" alt="image" src="https://github.com/user-attachments/assets/54e446a0-88c9-491b-b41c-78bb2f639ba3" /> <img width="62" height="86" alt="image" src="https://github.com/user-attachments/assets/ef003a66-b050-4853-8c1f-9cfd3261f349" /> ## Why It's Good For The Game Better UI I think. Better emojis I think. ## Changelog 🆑 qol: Better Emojipedia UI, better emojis, some more emojis. /🆑
27 lines
982 B
Plaintext
27 lines
982 B
Plaintext
/// A tablet app that lets anyone see all the valid emoji they can send via a PDA message (and even OOC!)
|
|
/datum/computer_file/program/emojipedia
|
|
filename = "emojipedia"
|
|
filedesc = "EmojiPedia"
|
|
downloader_category = PROGRAM_CATEGORY_DEVICE // we want everyone to be able to access this application, since everyone can send emoji via PDA messages
|
|
program_open_overlay = "generic"
|
|
extended_desc = "This program allows you to view all the emojis you can send via PDA messages."
|
|
size = 3
|
|
tgui_id = "NtosEmojipedia"
|
|
program_icon = "icons"
|
|
/// Store the list of potential emojis here.
|
|
var/static/list/emoji_list = icon_states(icon(EMOJI_SET))
|
|
|
|
/datum/computer_file/program/emojipedia/ui_static_data(mob_user)
|
|
var/list/data = list()
|
|
for(var/emoji in emoji_list)
|
|
data["emoji_list"] += list(list(
|
|
"name" = emoji,
|
|
))
|
|
|
|
return data
|
|
|
|
/datum/computer_file/program/emojipedia/ui_assets(mob/user)
|
|
return list(
|
|
get_asset_datum(/datum/asset/spritesheet_batched/emojipedia),
|
|
)
|