mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
Implements periodic tips for (new) players!
This commit is contained in:
16
code/controllers/subsystems/player_tips.dm
Normal file
16
code/controllers/subsystems/player_tips.dm
Normal file
@@ -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()
|
||||
Reference in New Issue
Block a user