mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-06 23:12:36 +00:00
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
24 lines
631 B
Plaintext
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)
|