Merge pull request #6433 from Heroman3003/dronelimit

Adds a timegate on playing maintenance drones
This commit is contained in:
Novacat
2020-01-12 17:03:43 -05:00
committed by GitHub
@@ -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