From de03c4e3e33b2b8b44b18aa1f0b2d4e5cd5e4759 Mon Sep 17 00:00:00 2001 From: Heroman Date: Mon, 13 Jan 2020 06:19:10 +1000 Subject: [PATCH] Adds a timegate on playing maintenance drones --- .../mob/living/silicon/robot/drone/drone_manufacturer.dm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/code/modules/mob/living/silicon/robot/drone/drone_manufacturer.dm b/code/modules/mob/living/silicon/robot/drone/drone_manufacturer.dm index 6bd956c4cc..e0b050a49b 100644 --- a/code/modules/mob/living/silicon/robot/drone/drone_manufacturer.dm +++ b/code/modules/mob/living/silicon/robot/drone/drone_manufacturer.dm @@ -116,6 +116,14 @@ to_chat(usr, "You are banned from playing synthetics and cannot spawn as a drone.") 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, "You have not been playing on the server long enough to join as drone.") + return + // VOREStation Addition End + if(!MayRespawn(1)) return