Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
37
Scripts/Items/Functional/SeedBox/SeedEntry.cs
Normal file
37
Scripts/Items/Functional/SeedBox/SeedEntry.cs
Normal file
@@ -0,0 +1,37 @@
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Engines.Plants;
|
||||
|
||||
namespace Server.Engines.Plants
|
||||
{
|
||||
public class SeedEntry
|
||||
{
|
||||
public Seed Seed { get; set; }
|
||||
public int Image { get; set; }
|
||||
|
||||
public SeedEntry(Seed seed)
|
||||
{
|
||||
Seed = seed;
|
||||
|
||||
seed.ShowType = true;
|
||||
|
||||
Image = Utility.Random(2183, 3);
|
||||
}
|
||||
|
||||
public SeedEntry(GenericReader reader)
|
||||
{
|
||||
int v = reader.ReadInt();
|
||||
|
||||
Seed = reader.ReadItem() as Seed;
|
||||
Image = reader.ReadInt();
|
||||
}
|
||||
|
||||
public void Serialize(GenericWriter writer)
|
||||
{
|
||||
writer.Write((int)0);
|
||||
|
||||
writer.Write(Seed);
|
||||
writer.Write(Image);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user