This commit is contained in:
commit
47711d616e
2644 changed files with 479454 additions and 0 deletions
47
Scripts/Items/Resources/Reagents/NoxCrystal.cs
Normal file
47
Scripts/Items/Resources/Reagents/NoxCrystal.cs
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class NoxCrystal : BaseReagent, ICommodity
|
||||
{
|
||||
string ICommodity.Description
|
||||
{
|
||||
get
|
||||
{
|
||||
return String.Format( "{0} nox crystal", Amount );
|
||||
}
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public NoxCrystal() : this( 1 )
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public NoxCrystal( int amount ) : base( 0xF8E, amount )
|
||||
{
|
||||
}
|
||||
|
||||
public NoxCrystal( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 0 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue