This commit is contained in:
parent
8ff1a903a0
commit
14873aaa3e
78 changed files with 360 additions and 231 deletions
|
|
@ -2,6 +2,7 @@ using System;
|
|||
using Server;
|
||||
using Server.Gumps;
|
||||
using Server.Mobiles;
|
||||
using Server.Multis;
|
||||
using Server.Network;
|
||||
using Server.Targeting;
|
||||
using System.Collections.Generic;
|
||||
|
|
@ -255,6 +256,9 @@ namespace Server.Factions
|
|||
{
|
||||
m_From.SendLocalizedMessage( 1010306 ); // You currently have too many of this enhancement type to place another
|
||||
}
|
||||
else if ( BaseBoat.FindBoatAt( m_From.Location, m_From.Map ) != null ) {
|
||||
m_From.SendMessage( "You cannot place a vendor here" );
|
||||
}
|
||||
else if ( m_Town.Silver >= vendorList.Definition.Price )
|
||||
{
|
||||
BaseFactionVendor vendor = vendorList.Construct( m_Town, m_Faction );
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ using System;
|
|||
using Server;
|
||||
using Server.Gumps;
|
||||
using Server.Mobiles;
|
||||
using Server.Multis;
|
||||
using Server.Network;
|
||||
using Server.Targeting;
|
||||
using System.Collections.Generic;
|
||||
|
|
@ -157,6 +158,9 @@ namespace Server.Factions
|
|||
{
|
||||
m_From.SendLocalizedMessage( 1010306 ); // You currently have too many of this enhancement type to place another
|
||||
}
|
||||
else if ( BaseBoat.FindBoatAt( m_From.Location, m_From.Map ) != null ) {
|
||||
m_From.SendMessage( "You cannot place a guard here" );
|
||||
}
|
||||
else if ( m_Town.Silver >= guardList.Definition.Price )
|
||||
{
|
||||
BaseFactionGuard guard = guardList.Construct();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue