Overwrite

Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
Unstable Kitsune
2023-11-28 23:20:26 -05:00
parent 3cd54811de
commit b918192e4e
11608 changed files with 2644205 additions and 47 deletions

View File

@@ -0,0 +1,77 @@
using System;
using Server;
using Server.Gumps;
using Server.Network;
using System.Collections;
using Server.Multis;
using Server.Mobiles;
namespace Server.Items
{
public class AncientJewelryBox : Item
{
[Constructable]
public AncientJewelryBox() : this( null )
{
}
[Constructable]
public AncientJewelryBox ( string name ) : base ( 0x9A8 )
{
Name = "Ancient Jewelry Box";
LootType = LootType.Blessed;
Hue = 1288;
}
public AncientJewelryBox ( Serial serial ) : base ( serial )
{
}
public override void OnDoubleClick( Mobile m )
{
Item a = m.Backpack.FindItemByType( typeof(ArrianasDiamond) );
if ( a != null )
{
Item b = m.Backpack.FindItemByType( typeof(ArrianasClips) );
if ( b != null )
{
Item c = m.Backpack.FindItemByType( typeof(ArrianasHoops) );
if ( c != null )
{
m.AddToBackpack( new DiamondHoopEarrings() );
a.Delete();
b.Delete();
c.Delete();
m.SendMessage( "You Combine the knowledge of Arriana's ancestry into a Heirloom" );
this.Delete();
}
}
else
{
m.SendMessage( "You are missing something..." );
}
}
}
public override void Serialize ( GenericWriter writer)
{
base.Serialize ( writer );
writer.Write ( (int) 0);
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize ( reader );
int version = reader.ReadInt();
}
}
}

View File

@@ -0,0 +1,40 @@
using System;
using Server;
namespace Server.Items
{
public class ArrianasClips : Item
{
[Constructable]
public ArrianasClips() : this( 1 )
{
}
[Constructable]
public ArrianasClips( int amount ) : base( 0xF8F )
{
Name = "Arrianas Clip";
Hue = 1154;
Weight = 0.1;
Amount = amount;
}
public ArrianasClips( 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();
}
}
}

View File

@@ -0,0 +1,40 @@
using System;
using Server;
namespace Server.Items
{
public class ArrianasDiamond : Item
{
[Constructable]
public ArrianasDiamond() : this( 1 )
{
}
[Constructable]
public ArrianasDiamond( int amount ) : base( 0xF26 )
{
Name = "Arrianas Diamond";
Hue = 1154;
Weight = 0.1;
Amount = amount;
}
public ArrianasDiamond( 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();
}
}
}

View File

@@ -0,0 +1,49 @@
using System;
using Server;
namespace Server.Items
{
public class ArrianasEarrings : SilverEarrings
{
public override int ArtifactRarity{ get{ return 15; } }
[Constructable]
public ArrianasEarrings()
{
Name = "Arriana's Earrings";
Hue = 1154;
Attributes.NightSight = 1;
Attributes.Luck = 100;
Attributes.BonusStr = 5;
Attributes.BonusDex = 10;
Attributes.RegenStam = 2;
Resistances.Energy = 5;
Resistances.Fire = 5;
Resistances.Cold = 5;
Resistances.Poison = 5;
Resistances.Physical = 5;
}
public ArrianasEarrings( Serial serial ) : base( serial )
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int) 0 );
}
public override void Deserialize(GenericReader reader)
{
base.Deserialize( reader );
int version = reader.ReadInt();
}
}
}

View File

@@ -0,0 +1,40 @@
using System;
using Server;
namespace Server.Items
{
public class ArrianasHoops : Item
{
[Constructable]
public ArrianasHoops() : this( 1 )
{
}
[Constructable]
public ArrianasHoops( int amount ) : base( 0x1F09 )
{
Name = "Arrianas Hoops";
Hue = 1154;
Weight = 0.1;
Amount = amount;
}
public ArrianasHoops( 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();
}
}
}

View File

@@ -0,0 +1,40 @@
using System;
using Server;
namespace Server.Items
{
public class DiamondHoopEarrings : Item
{
[Constructable]
public DiamondHoopEarrings() : this( 1 )
{
}
[Constructable]
public DiamondHoopEarrings( int amount ) : base( 0x1F07 )
{
Name = "Diamond Hoop Earrings";
Hue = 1154;
Weight = 0.1;
}
public DiamondHoopEarrings( 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();
}
}
}

View File

@@ -0,0 +1,74 @@
using System;
using Server;
namespace Server.Items
{
// books: Brown 0xFEF, Tan 0xFF0, Red 0xFF1, Blue 0xFF2,
// OpenSmall 0xFF3, Open 0xFF4, OpenOld 0xFBD, 0xFBE
public class GrandpaTamsJournal: BaseBook
{
private const string TITLE = "Grandpa Tam's Journal";
private const string AUTHOR = "Grandpa Tam";
private const int PAGES = 2;
private const bool WRITABLE = false;
[Constructable]
public GrandpaTamsJournal() : base( Utility.RandomList( 0xFEF, 0xFF0, 0xFF1, 0xFF2 ), TITLE, AUTHOR, PAGES, WRITABLE )
{
// NOTE: There are 8 lines per page and
// approx 22 to 24 characters per line.
// 0----+----1----+----2----+
int cnt = 0;
string[] lines;
lines = new string[]
{
"Auntie June lives....",
"In a little slice ",
"of *heaven*.",
"she's a good at growin",
"them there applers",
"wouldnt eat nutin that",
"ain't it's natrul color",
};
Pages[cnt++].Lines = lines;
lines = new string[]
{
"",
"",
"",
"",
"",
"",
"",
"",
};
Pages[cnt++].Lines = lines;
}
public GrandpaTamsJournal( Serial serial ) : base( serial )
{
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadInt();
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int)0 );
}
}
}

View File

@@ -0,0 +1,73 @@
using System;
using Server;
namespace Server.Items
{
// books: Brown 0xFEF, Tan 0xFF0, Red 0xFF1, Blue 0xFF2,
// OpenSmall 0xFF3, Open 0xFF4, OpenOld 0xFBD, 0xFBE
public class UncleJohnsBook: BaseBook
{
private const string TITLE = "Uncle Johns Ramblings";
private const string AUTHOR = "Uncle John";
private const int PAGES = 2;
private const bool WRITABLE = false;
[Constructable]
public UncleJohnsBook() : base( Utility.RandomList( 0xFEF, 0xFF0, 0xFF1, 0xFF2 ), TITLE, AUTHOR, PAGES, WRITABLE )
{
// NOTE: There are 8 lines per page and
// approx 22 to 24 characters per line.
// 0----+----1----+----2----+
int cnt = 0;
string[] lines;
lines = new string[]
{
"I Remember seeing ",
"mountains nearby.",
"hm I think I'm mixed up.",
"all I can remember",
"from visiting was Delucia",
"AID CLUE",
};
Pages[cnt++].Lines = lines;
lines = new string[]
{
"",
"",
"",
"",
"",
"",
"",
"",
};
Pages[cnt++].Lines = lines;
}
public UncleJohnsBook( Serial serial ) : base( serial )
{
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadInt();
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int)0 );
}
}
}

View File

@@ -0,0 +1,40 @@
using System;
using Server;
namespace Server.Items
{
public class blueapple : Item
{
[Constructable]
public blueapple() : this( 1 )
{
}
[Constructable]
public blueapple( int amount ) : base( 0x9D0 )
{
Name = "blue apple";
Hue = 6;
Weight = 0.1;
Amount = amount;
}
public blueapple( 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();
}
}
}

View File

@@ -0,0 +1,40 @@
using System;
using Server;
namespace Server.Items
{
public class goldenegg : Item
{
[Constructable]
public goldenegg() : this( 1 )
{
}
[Constructable]
public goldenegg( int amount ) : base( 0x9B5 )
{
Name = "Golden egg";
Hue = 1701;
Weight = 0.1;
Amount = amount;
}
public goldenegg( 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();
}
}
}

View File

@@ -0,0 +1,40 @@
using System;
using Server;
namespace Server.Items
{
public class greencarrot : Item
{
[Constructable]
public greencarrot() : this( 1 )
{
}
[Constructable]
public greencarrot( int amount ) : base( 0xC78 )
{
Name = "green carrot";
Hue = 462;
Weight = 0.1;
}
public greencarrot( 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();
}
}
}