Re: Sly's Guide to your Neighbour's Pocket
Hilde;609070 said:
From
Scripts/Mobiles/Vendors/NPC/Guildmasters/ThiefGuildmaster.cs
Code:
public override TimeSpan JoinAge{ get{ return TimeSpan.FromDays( 7.0 ); } }
And those 7 days are IN GAME time if I'm not wrong....
That is an override of the method JoinAge inherited from the base class BaseGuildmaster. It is used on line 78 in public override void OnSpeech( SpeechEventArgs e) in BaseGuildmaster.cs to determine if the player is old enough. This is the key line:
Code:
else if ( pm.GameTime < JoinGameAge || (pm.CreationTime + JoinAge) > DateTime.Now )
SayTo( from, 501048 ); // You are too young to join my guild...
It does two checks. The first one is that the player's in game time, acquired by pm.GameTime, is less than JoinGameAge, which is equal to 48 hours. JoinGameAge is another method of BaseGuildmaster that returns TimeSpan.FromDays( 2.0 ).
The second check is that the player has been created at least a week ago. It just gets the creation time and adds JoinAge, which is overridden in ThiefGuildmaster to return TimeSpan.FromDays( 7.0 ), and sees if that is greater than the current time.
If either of these is true then the thief guildmaster will say you're too young and that is that.
So in a sentence: You have to have to have been logged in for 48 or more hours and have been created for at least one week to join the thieve's guild.