Fixes body expression style.
This commit is contained in:
parent
3f0a72a62f
commit
33f5e77a24
957 changed files with 7424 additions and 15973 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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 )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue