#W# Initial Commit: Avatars Conquest

This commit is contained in:
WarrentyExpired 2026-07-04 10:35:30 -04:00
commit 5df497787a
7510 changed files with 416048 additions and 0 deletions

View file

@ -0,0 +1,53 @@
using System;
using Server;
using Server.Network;
namespace Server.Items
{
public class FarmableTomato : FarmableCrop
{
public static int GetCropID()
{
return 0x01FA;
}
public override Item GetCropObject()
{
Tomato tomato = new Tomato();
tomato.ItemID = 0x098F;
tomato.Amount = 2;
return tomato;
}
public override int GetPickedID()
{
return 0x0CAD;
}
[Constructable]
public FarmableTomato() : base( GetCropID() )
{
Name = "tomatoes";
}
public FarmableTomato( Serial serial ) : base( serial )
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.WriteEncodedInt( 0 ); // version
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadEncodedInt();
}
}
}