Adds a timegate on playing maintenance drones

This commit is contained in:
Heroman
2020-01-13 06:19:10 +10:00
parent af973e5bde
commit de03c4e3e3
@@ -116,6 +116,14 @@
to_chat(usr, "<span class='danger'>You are banned from playing synthetics and cannot spawn as a drone.</span>")
return
// VOREStation Addition Start
if(isnum(src.client.player_age))
var/time_till_play = max(0, 3 - src.client.player_age)
if(time_till_play)
to_chat(usr, "<span class='danger'>You have not been playing on the server long enough to join as drone.</span>")
return
// VOREStation Addition End
if(!MayRespawn(1))
return