Files
Bubberstation/code/modules/mob/mob_arcade.dm
2022-01-24 11:56:57 -08: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)