mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-14 11:42:27 +00:00
## About The Pull Request The game will now log when someone signs up or removes their candidacy for ghost polls for roles. This also fixes a runtime I experienced while testing it and running pirates with no candidates signed up, IDK if it had any effect but it's possible the runtime was causing the ship not to spawn. ## Why It's Good For The Game Mostly just that I saw admins requesting this on several recent occasions. It's already possible to dig up some of this information through the existing logs but it's a bit of a pain. ## Changelog 🆑 admin: Additional logging for when people sign up for ghost roles. /🆑
35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
/// Logging for generic/unsorted game messages
|
|
/proc/log_game(text, list/data)
|
|
logger.Log(LOG_CATEGORY_GAME, text, data)
|
|
|
|
/// Logging for emotes
|
|
/proc/log_emote(text, list/data)
|
|
logger.Log(LOG_CATEGORY_GAME_EMOTE, text, data)
|
|
|
|
/// Logging for emotes sent over the radio
|
|
/proc/log_radio_emote(text, list/data)
|
|
logger.Log(LOG_CATEGORY_GAME_RADIO_EMOTE, text, data)
|
|
|
|
/// Logging for messages sent in OOC
|
|
/proc/log_ooc(text, list/data)
|
|
logger.Log(LOG_CATEGORY_GAME_OOC, text, data)
|
|
|
|
/// Logging for prayed messages
|
|
/proc/log_prayer(text, list/data)
|
|
logger.Log(LOG_CATEGORY_GAME_PRAYER, text, data)
|
|
|
|
/// Logging for music requests
|
|
/proc/log_internet_request(text, list/data)
|
|
logger.Log(LOG_CATEGORY_GAME_INTERNET_REQUEST, text, data)
|
|
|
|
/// Logging for logging in & out of the game, with error messages.
|
|
/proc/log_access(text, list/data)
|
|
logger.Log(LOG_CATEGORY_GAME_ACCESS, text, data)
|
|
|
|
/// Logging for OOC votes
|
|
/proc/log_vote(text, list/data)
|
|
logger.Log(LOG_CATEGORY_GAME_VOTE, text, data)
|
|
|
|
/proc/log_ghost_poll(text, list/data)
|
|
logger.Log(LOG_CATEGORY_GAME_GHOST_POLLS, text, data)
|