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
|
|
@ -47,9 +47,9 @@ namespace Server.Items
|
|||
piece.Location = new Point3D( x, y, 0 );
|
||||
}
|
||||
|
||||
public override bool DisplaysContent{ get{ return false; } } // Do not display (x items, y stones)
|
||||
public override bool DisplaysContent => false; // Do not display (x items, y stones)
|
||||
|
||||
public override bool IsDecoContainer{ get{ return false; } }
|
||||
public override bool IsDecoContainer => false;
|
||||
|
||||
public BaseBoard( Serial serial ) : base( serial )
|
||||
{
|
||||
|
|
@ -166,4 +166,4 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ namespace Server.Items
|
|||
set { m_Board = value; }
|
||||
}
|
||||
|
||||
public override bool IsVirtualItem{ get{ return true; } }
|
||||
public override bool IsVirtualItem => true;
|
||||
|
||||
public BasePiece( int itemID, BaseBoard board ) : base( itemID )
|
||||
{
|
||||
|
|
@ -80,7 +80,7 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
public override bool CanTarget{ get{ return false; } }
|
||||
public override bool CanTarget => false;
|
||||
|
||||
public override bool DropToMobile( Mobile from, Mobile target, Point3D p )
|
||||
{
|
||||
|
|
@ -102,4 +102,4 @@ namespace Server.Items
|
|||
return -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue