Fixes body expression style.

This commit is contained in:
Kamron Batman 2018-09-14 08:46:14 -07:00
parent 3f0a72a62f
commit 33f5e77a24
957 changed files with 7424 additions and 15973 deletions

View file

@ -5,15 +5,9 @@ namespace Server.Items
{
public class PlagueBeastBlood : PlagueBeastComponent
{
public bool Patched
{
get { return ItemID == 0x1765; }
}
public bool Patched => ItemID == 0x1765;
public bool Starting
{
get { return ItemID == 0x122C; }
}
public bool Starting => ItemID == 0x122C;
private Timer m_Timer;

View file

@ -79,24 +79,15 @@ namespace Server.Items
public PlagueBeastOrgan Organ
{
get { return m_Organ; }
set { m_Organ = value; }
get => m_Organ;
set => m_Organ = value;
}
public bool IsBrain
{
get { return ItemID == 0x1CF0; }
}
public bool IsBrain => ItemID == 0x1CF0;
public bool IsGland
{
get { return ItemID == 0x1CEF; }
}
public bool IsGland => ItemID == 0x1CEF;
public bool IsReceptacle
{
get { return ItemID == 0x9DF; }
}
public bool IsReceptacle => ItemID == 0x9DF;
public PlagueBeastComponent( int itemID, int hue ) : this( itemID, hue, false )
{

View file

@ -11,8 +11,8 @@ namespace Server.Items
[CommandProperty( AccessLevel.GameMaster )]
public bool Cut
{
get { return m_Cut; }
set { m_Cut = value; }
get => m_Cut;
set => m_Cut = value;
}
public override string DefaultName => "a plague beast mutation core";

View file

@ -10,25 +10,22 @@ namespace Server.Items
private List<PlagueBeastComponent> m_Components;
public List<PlagueBeastComponent> Components
{
get { return m_Components; }
}
public List<PlagueBeastComponent> Components => m_Components;
private int m_BrainHue;
public int BrainHue
{
get { return m_BrainHue; }
set { m_BrainHue = value; }
get => m_BrainHue;
set => m_BrainHue = value;
}
private bool m_Opened;
public bool Opened
{
get { return m_Opened; }
set { m_Opened = value; }
get => m_Opened;
set => m_Opened = value;
}
private Timer m_Timer;
@ -466,10 +463,7 @@ namespace Server.Items
{
private int m_Brains;
public bool Complete
{
get { return m_Brains >= 4; }
}
public bool Complete => m_Brains >= 4;
public PlagueBeastMainOrgan()
{

View file

@ -7,10 +7,7 @@ namespace Server.Items
{
private bool m_Cut;
public bool Cut
{
get { return m_Cut; }
}
public bool Cut => m_Cut;
private Timer m_Timer;