Add DefaultName property to Mobiles & Items (#18)
This commit is contained in:
parent
b06f5bf60d
commit
8ee42c8ea2
713 changed files with 5112 additions and 4987 deletions
|
|
@ -13,10 +13,10 @@ namespace Server.Mobiles
|
|||
private List<SBInfo> m_SBInfos = new List<SBInfo>();
|
||||
protected override List<SBInfo> SBInfos{ get { return m_SBInfos; } }
|
||||
|
||||
public override bool ClickTitle{ get{ return false; } }
|
||||
public override bool ClickTitle => false;
|
||||
|
||||
public override bool IsActiveBuyer{ get{ return false; } }
|
||||
public override bool IsActiveSeller{ get{ return true; } }
|
||||
public override bool IsActiveBuyer => false;
|
||||
public override bool IsActiveSeller => true;
|
||||
|
||||
public override bool OnBuyItems( Mobile buyer, List<BuyItemResponse> list )
|
||||
{
|
||||
|
|
@ -585,4 +585,4 @@ namespace Server.Mobiles
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,9 +11,9 @@ namespace Server.Mobiles
|
|||
private List<SBInfo> m_SBInfos = new List<SBInfo>();
|
||||
protected override List<SBInfo> SBInfos{ get { return m_SBInfos; } }
|
||||
|
||||
public override bool IsActiveVendor{ get{ return false; } }
|
||||
public override bool IsActiveVendor => false;
|
||||
|
||||
public override bool ClickTitle{ get{ return false; } }
|
||||
public override bool ClickTitle => false;
|
||||
|
||||
public virtual int JoinCost{ get{ return 500; } }
|
||||
|
||||
|
|
@ -164,4 +164,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,9 +8,9 @@ namespace Server.Mobiles
|
|||
{
|
||||
public override NpcGuild NpcGuild{ get{ return NpcGuild.BlacksmithsGuild; } }
|
||||
|
||||
public override bool IsActiveVendor{ get{ return true; } }
|
||||
public override bool IsActiveVendor => true;
|
||||
|
||||
public override bool ClickTitle{ get{ return true; } }
|
||||
public override bool ClickTitle => true;
|
||||
|
||||
[Constructible]
|
||||
public BlacksmithGuildmaster() : base( "blacksmith" )
|
||||
|
|
@ -67,4 +67,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,9 +11,9 @@ namespace Server.Mobiles
|
|||
{
|
||||
public class GypsyBanker : Banker
|
||||
{
|
||||
public override bool IsActiveVendor{ get{ return false; } }
|
||||
public override bool IsActiveVendor => false;
|
||||
public override NpcGuild NpcGuild{ get{ return NpcGuild.None; } }
|
||||
public override bool ClickTitle{ get{ return false; } }
|
||||
public override bool ClickTitle => false;
|
||||
|
||||
[Constructible]
|
||||
public GypsyBanker()
|
||||
|
|
@ -86,4 +86,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue