Files
Bubberstation/code/modules/mob/mob_arcade.dm
SkyratBot 49311960ad [MIRROR] Gamer quirk [MDB IGNORE] (#10969)
* Gamer quirk

* I hate conflicts

Co-authored-by: Ron <flavivs.clavdivs.jvlianvs@gmail.com>
Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
2022-01-24 20:32:27 +00:00

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)