Implements opt-out system of periodic tips to be sent to players

This commit is contained in:
Runa Dacino
2023-02-10 14:34:31 +01:00
parent 6db2420b96
commit d05029a1cd
7 changed files with 161 additions and 2 deletions
@@ -0,0 +1,16 @@
/*
Player tips procs and lists are defined under /code/modules/player_tips_vr
*/
SUBSYSTEM_DEF(player_tips)
name = "Periodic Player Tips"
priority = FIRE_PRIORITY_PLAYERTIPS
runlevels = RUNLEVEL_GAME
wait = 3000 //We check if it's time to send a tip every 5 minutes (300 seconds)
var/static/datum/player_tips/player_tips = new
/datum/controller/subsystem/player_tips/fire()
player_tips.send_tips()