mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-22 06:56:31 +00:00
* Gamer quirk * I hate conflicts Co-authored-by: Ron <flavivs.clavdivs.jvlianvs@gmail.com> Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
25 lines
711 B
Plaintext
25 lines
711 B
Plaintext
/**
|
|
* This proc sends the COMSIG_MOB_WON_VIDEOGAME signal
|
|
*
|
|
* This should be called by games when the gamer reaches a winning state
|
|
*/
|
|
/mob/proc/won_game()
|
|
SEND_SIGNAL(src, COMSIG_MOB_WON_VIDEOGAME)
|
|
|
|
/**
|
|
* This proc sends the COMSIG_MOB_LOST_VIDEOGAME signal
|
|
*
|
|
* This should be called by games when the gamer reaches a losing state
|
|
*/
|
|
/mob/proc/lost_game()
|
|
SEND_SIGNAL(src, COMSIG_MOB_LOST_VIDEOGAME)
|
|
|
|
/**
|
|
* This proc sends the COMSIG_MOB_PLAYED_VIDEOGAME signal
|
|
*
|
|
* This should be called by games whenever the gamer interacts with the device
|
|
*/
|
|
/mob/proc/played_game()
|
|
SEND_SIGNAL(src, COMSIG_ADD_MOOD_EVENT, "gaming", /datum/mood_event/gaming)
|
|
SEND_SIGNAL(src, COMSIG_MOB_PLAYED_VIDEOGAME)
|