mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 12:08:28 +01:00
playertips overtime (#19150)
* playertips overtime * . * . * . * . * . * . * . * . * . * . * wtf * . * . * . * snark * that too * ok... why * . * hmm * . * . * . * . * . * ugh * . * .
This commit is contained in:
@@ -7,6 +7,17 @@ SUBSYSTEM_DEF(player_tips)
|
||||
flags = SS_NO_INIT
|
||||
|
||||
var/static/datum/player_tips/player_tips = new
|
||||
var/list/current_run = list()
|
||||
|
||||
/datum/controller/subsystem/player_tips/fire()
|
||||
player_tips.send_tips()
|
||||
/datum/controller/subsystem/player_tips/fire(resumed)
|
||||
if(!resumed)
|
||||
if(!player_tips.check_next_tip())
|
||||
return
|
||||
player_tips.set_current_tip()
|
||||
current_run = GLOB.player_list.Copy()
|
||||
|
||||
for(var/mob/target_mob in current_run)
|
||||
current_run -= target_mob
|
||||
player_tips.send_tip(target_mob)
|
||||
if(MC_TICK_CHECK)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user