Files
Bubberstation/code/modules/mob/mob_arcade.dm
Seth Scherer 34b4034777 Replaces the mood component with a mood datum (#68592)
About The Pull Request

Mood was abusing signals and get component pretty badly, so I redid it as a datum to stop this.
Why It's Good For The CODEBASE

Better code pratices, also gives admins easier tools to manage mood
Changelog

cl
admin: Added two new procs into the VV dropdown menu to add and remove mood events from living mobs.
/cl
2022-08-12 08:59:20 +12:00

24 lines
631 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_MOB_PLAYED_VIDEOGAME)