branch sync #2
This commit is contained in:
parent
96a37544fd
commit
4e6256b8cd
39 changed files with 415 additions and 137 deletions
|
|
@ -424,7 +424,9 @@ namespace Server.Factions
|
|||
else if ( !Guild.NewGuildSystem && guild.Type != GuildType.Regular )
|
||||
pm.SendLocalizedMessage( 1042161 ); // You cannot join a faction because your guild is an Order or Chaos type.
|
||||
else if ( !Guild.NewGuildSystem && guild.Enemies != null && guild.Enemies.Count > 0 ) //CAN join w/wars in new system
|
||||
pm.SendLocalizedMessage( 1005056 ); // You cannot join a faction with active Wars
|
||||
pm.SendLocalizedMessage( 1005056 ); // You cannot join a faction with active Wars
|
||||
else if ( Guild.NewGuildSystem && guild.Alliance != null )
|
||||
pm.SendLocalizedMessage( 1080454 ); // Your guild cannot join a faction while in alliance with non-factioned guilds.
|
||||
else if ( !CanHandleInflux( guild.Members.Count ) )
|
||||
pm.SendLocalizedMessage( 1018031 ); // In the interest of faction stability, this faction declines to accept new members for now.
|
||||
else
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ namespace Server.Factions
|
|||
|
||||
private string m_FriendlyName;
|
||||
private string m_Keyword;
|
||||
private string m_Abbreviation;
|
||||
|
||||
private TextDefinition m_Name;
|
||||
private TextDefinition m_PropName;
|
||||
|
|
@ -46,6 +47,7 @@ namespace Server.Factions
|
|||
|
||||
public string FriendlyName{ get{ return m_FriendlyName; } }
|
||||
public string Keyword{ get{ return m_Keyword; } }
|
||||
public string Abbreviation{ get { return m_Abbreviation; } }
|
||||
|
||||
public TextDefinition Name{ get{ return m_Name; } }
|
||||
public TextDefinition PropName{ get{ return m_PropName; } }
|
||||
|
|
@ -66,7 +68,7 @@ namespace Server.Factions
|
|||
public RankDefinition[] Ranks{ get{ return m_Ranks; } }
|
||||
public GuardDefinition[] Guards{ get{ return m_Guards; } }
|
||||
|
||||
public FactionDefinition( int sort, int huePrimary, int hueSecondary, int hueJoin, int hueBroadcast, int warHorseBody, int warHorseItem, string friendlyName, string keyword, TextDefinition name, TextDefinition propName, TextDefinition header, TextDefinition about, TextDefinition cityControl, TextDefinition sigilControl, TextDefinition signupName, TextDefinition factionStoneName, TextDefinition ownerLabel, TextDefinition guardIgnore, TextDefinition guardWarn, TextDefinition guardAttack, StrongholdDefinition stronghold, RankDefinition[] ranks, GuardDefinition[] guards )
|
||||
public FactionDefinition( int sort, int huePrimary, int hueSecondary, int hueJoin, int hueBroadcast, int warHorseBody, int warHorseItem, string friendlyName, string keyword, string abbreviation, TextDefinition name, TextDefinition propName, TextDefinition header, TextDefinition about, TextDefinition cityControl, TextDefinition sigilControl, TextDefinition signupName, TextDefinition factionStoneName, TextDefinition ownerLabel, TextDefinition guardIgnore, TextDefinition guardWarn, TextDefinition guardAttack, StrongholdDefinition stronghold, RankDefinition[] ranks, GuardDefinition[] guards )
|
||||
{
|
||||
m_Sort = sort;
|
||||
m_HuePrimary = huePrimary;
|
||||
|
|
@ -77,6 +79,7 @@ namespace Server.Factions
|
|||
m_WarHorseItem = warHorseItem;
|
||||
m_FriendlyName = friendlyName;
|
||||
m_Keyword = keyword;
|
||||
m_Abbreviation = abbreviation;
|
||||
m_Name = name;
|
||||
m_PropName = propName;
|
||||
m_Header = header;
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ namespace Server.Factions
|
|||
1325, // join stone : blue
|
||||
1325, // broadcast : blue
|
||||
0x77, 0x3EB1, // war horse
|
||||
"Council of Mages", "council",
|
||||
"Council of Mages", "council", "CoM",
|
||||
new TextDefinition( 1011535, "COUNCIL OF MAGES" ),
|
||||
new TextDefinition( 1060770, "Council of Mages faction" ),
|
||||
new TextDefinition( 1011422, "<center>COUNCIL OF MAGES</center>" ),
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ namespace Server.Factions
|
|||
1645, // join stone : dark red
|
||||
1645, // broadcast : dark red
|
||||
0x78, 0x3EAF, // war horse
|
||||
"Minax", "minax",
|
||||
"Minax", "minax", "Min",
|
||||
new TextDefinition( 1011534, "MINAX" ),
|
||||
new TextDefinition( 1060769, "Minax faction" ),
|
||||
new TextDefinition( 1011421, "<center>FOLLOWERS OF MINAX</center>" ),
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ namespace Server.Factions
|
|||
1109, // join stone : shadow
|
||||
2211, // broadcast : green
|
||||
0x79, 0x3EB0, // war horse
|
||||
"Shadowlords", "shadow",
|
||||
"Shadowlords", "shadow", "SL",
|
||||
new TextDefinition( 1011537, "SHADOWLORDS" ),
|
||||
new TextDefinition( 1060772, "Shadowlords faction" ),
|
||||
new TextDefinition( 1011424, "<center>SHADES OF DARKNESS</center>" ),
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ namespace Server.Factions
|
|||
2214, // join stone : gold
|
||||
2125, // broadcast : gold
|
||||
0x76, 0x3EB2, // war horse
|
||||
"True Britannians", "true",
|
||||
"True Britannians", "true", "TB",
|
||||
new TextDefinition( 1011536, "LORD BRITISH" ),
|
||||
new TextDefinition( 1060771, "True Britannians faction" ),
|
||||
new TextDefinition( 1011423, "<center>TRUE BRITANNIANS</center>" ),
|
||||
|
|
|
|||
|
|
@ -30,6 +30,14 @@ namespace Server.Factions
|
|||
m_Town.RegisterVendor( this );
|
||||
}
|
||||
|
||||
public override bool OnMoveOver( Mobile m )
|
||||
{
|
||||
if ( Core.ML )
|
||||
return true;
|
||||
|
||||
return base.OnMoveOver( m );
|
||||
}
|
||||
|
||||
public void Unregister()
|
||||
{
|
||||
if ( m_Town != null )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue