From 5e483e78f5eec7434e39517de3d853fea330a17b Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 14 Feb 2022 10:45:11 -0300 Subject: To set a pincode, either have 15 days or complete Lua's arc --- npc/commands/ucp.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/commands/ucp.txt') diff --git a/npc/commands/ucp.txt b/npc/commands/ucp.txt index 19033089e..d64449c5e 100644 --- a/npc/commands/ucp.txt +++ b/npc/commands/ucp.txt @@ -33,8 +33,8 @@ function script UserCtrlPanel { case 1: GameRules(); break; case 2: GameNews(); break; case 3: - // Account age check - if (gettimetick(2) < #REG_DATE+86400*15) { + // Account age check (15 days or complete Lua's arc) + if (gettimetick(2) < #REG_DATE+86400*15 && getq(General_Narrator) < 3) { mesc l("Your account is too young."), 1; mesc l("The accounts need 15 days to set Pin Codes."), 1; next; -- cgit v1.2.3-60-g2f50