#W# Diable Factions

This commit is contained in:
WarrentyExpired 2026-08-14 19:46:17 -04:00
parent e1ac762db0
commit 60dc789ec4
5 changed files with 12 additions and 7 deletions

View file

@ -34,7 +34,7 @@ namespace Server.Factions
set set
{ {
m_Definition = value; m_Definition = value;
m_StrongholdRegion = new StrongholdRegion( this ); //m_StrongholdRegion = new StrongholdRegion( this );
} }
} }
@ -564,6 +564,7 @@ namespace Server.Factions
public static void Initialize() public static void Initialize()
{ {
return;
EventSink.Login += new LoginEventHandler( EventSink_Login ); EventSink.Login += new LoginEventHandler( EventSink_Login );
EventSink.Logout += new LogoutEventHandler( EventSink_Logout ); EventSink.Logout += new LogoutEventHandler( EventSink_Logout );

View file

@ -8,6 +8,7 @@ namespace Server.Factions
{ {
public static void Initialize() public static void Initialize()
{ {
return;
CommandSystem.Register( "GenerateFactions", AccessLevel.Administrator, new CommandEventHandler( GenerateFactions_OnCommand ) ); CommandSystem.Register( "GenerateFactions", AccessLevel.Administrator, new CommandEventHandler( GenerateFactions_OnCommand ) );
} }

View file

@ -11,6 +11,7 @@ namespace Server.Factions
{ {
public static void Initialize() public static void Initialize()
{ {
return;
EventSink.Speech += new SpeechEventHandler( EventSink_Speech ); EventSink.Speech += new SpeechEventHandler( EventSink_Speech );
} }

View file

@ -25,6 +25,7 @@ namespace Server.Factions
public override bool OnMoveInto( Mobile m, Direction d, Point3D newLocation, Point3D oldLocation ) public override bool OnMoveInto( Mobile m, Direction d, Point3D newLocation, Point3D oldLocation )
{ {
return true;
if ( !base.OnMoveInto( m, d, newLocation, oldLocation ) ) if ( !base.OnMoveInto( m, d, newLocation, oldLocation ) )
return false; return false;

View file

@ -401,6 +401,7 @@ namespace Server.Factions
public static void Initialize() public static void Initialize()
{ {
return;
List<Town> towns = Towns; List<Town> towns = Towns;
for ( int i = 0; i < towns.Count; ++i ) for ( int i = 0; i < towns.Count; ++i )
@ -417,7 +418,7 @@ namespace Server.Factions
m_State = new TownState( this ); m_State = new TownState( this );
ConstructVendorLists(); ConstructVendorLists();
ConstructGuardLists(); ConstructGuardLists();
StartIncomeTimer(); //StartIncomeTimer();
} }
public bool IsSheriff( Mobile mob ) public bool IsSheriff( Mobile mob )