Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
@@ -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 LordSantaBook: BaseBook
|
||||
{
|
||||
private const string TITLE = "Yellow Snow";
|
||||
private const string AUTHOR = "Lord Santa";
|
||||
private const int PAGES = 2;
|
||||
private const bool WRITABLE = false;
|
||||
|
||||
[Constructable]
|
||||
public LordSantaBook() : 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[]
|
||||
{
|
||||
"Ok I need you to find",
|
||||
"thoses kids that are ",
|
||||
"making yellow snow ",
|
||||
"Beat them up and bring",
|
||||
"bring back the yellow ",
|
||||
"as proof. Dont fail me",
|
||||
"if you bring back 10 ",
|
||||
"yellow snows u will be",
|
||||
|
||||
};
|
||||
Pages[cnt++].Lines = lines;
|
||||
|
||||
lines = new string[]
|
||||
{
|
||||
"givin the best armor",
|
||||
"and cloths that santa's",
|
||||
"little helpers can make",
|
||||
". Show me the meaning",
|
||||
"Of haste. Dont Fail.",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
};
|
||||
Pages[cnt++].Lines = lines;
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public LordSantaBook( 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 );
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class SantaArms : LeatherArms
|
||||
{
|
||||
public override int ArtifactRarity{ get{ return 4; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
[Constructable]
|
||||
public SantaArms()
|
||||
{ Weight = 6.0;
|
||||
Name = "Santa Arms";
|
||||
Hue = 33;
|
||||
|
||||
Attributes.AttackChance=5;
|
||||
Attributes.RegenMana=1;
|
||||
Attributes.RegenHits=1;
|
||||
Attributes.RegenStam=1;
|
||||
Attributes.LowerRegCost=15;
|
||||
|
||||
PhysicalBonus = 3;
|
||||
FireBonus = 4;
|
||||
ColdBonus = 9;
|
||||
PoisonBonus =6;
|
||||
EnergyBonus = 9;
|
||||
}
|
||||
|
||||
public SantaArms( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class SantaBoots : Boots
|
||||
{
|
||||
|
||||
[Constructable]
|
||||
public SantaBoots()
|
||||
{ Weight = 6.0;
|
||||
Name = "Santa Boots";
|
||||
Hue = 1369;
|
||||
|
||||
LootType = LootType.Blessed;
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public SantaBoots( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class SantaGloves : LeatherGloves
|
||||
{
|
||||
public override int ArtifactRarity{ get{ return 4; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
[Constructable]
|
||||
public SantaGloves()
|
||||
{ Weight = 6.0;
|
||||
Name = "Santa Gloves";
|
||||
Hue = 33;
|
||||
|
||||
ArmorAttributes.SelfRepair=3;
|
||||
Attributes.WeaponDamage=10;
|
||||
Attributes.WeaponSpeed=5;
|
||||
Attributes.ReflectPhysical=5;
|
||||
Attributes.LowerRegCost=5;
|
||||
|
||||
PhysicalBonus = 9;
|
||||
FireBonus = 9;
|
||||
ColdBonus = 5;
|
||||
PoisonBonus =5;
|
||||
EnergyBonus = 4;
|
||||
}
|
||||
|
||||
public SantaGloves( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class SantaGorget : LeatherGorget
|
||||
{
|
||||
public override int ArtifactRarity{ get{ return 4; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
[Constructable]
|
||||
public SantaGorget()
|
||||
{ Weight = 6.0;
|
||||
Name = "Santa Gorget";
|
||||
Hue = 33;
|
||||
|
||||
ArmorAttributes.SelfRepair=2;
|
||||
Attributes.WeaponDamage=10;
|
||||
Attributes.SpellDamage=5;
|
||||
Attributes.LowerRegCost=12;
|
||||
|
||||
PhysicalBonus = 4;
|
||||
FireBonus = 8;
|
||||
ColdBonus = 4;
|
||||
PoisonBonus =4;
|
||||
EnergyBonus = 8;
|
||||
}
|
||||
|
||||
public SantaGorget( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class SantaHelm : LeatherCap
|
||||
{
|
||||
public override int ArtifactRarity{ get{ return 4; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
[Constructable]
|
||||
public SantaHelm()
|
||||
{ Weight = 6.0;
|
||||
Name = "Santa Cap";
|
||||
Hue = 33;
|
||||
|
||||
Attributes.RegenMana=2;
|
||||
|
||||
PhysicalBonus = 12;
|
||||
FireBonus = 12;
|
||||
ColdBonus = 12;
|
||||
PoisonBonus =12;
|
||||
EnergyBonus = 12;
|
||||
}
|
||||
|
||||
public SantaHelm( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class SantaLegs : LeatherLegs
|
||||
{
|
||||
public override int ArtifactRarity{ get{ return 4; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
[Constructable]
|
||||
public SantaLegs()
|
||||
{ Weight = 6.0;
|
||||
Name = "Santa Legs";
|
||||
Hue = 33;
|
||||
|
||||
ArmorAttributes.SelfRepair=2;
|
||||
Attributes.WeaponDamage=10;
|
||||
Attributes.SpellDamage=5;
|
||||
Attributes.LowerRegCost=12;
|
||||
|
||||
PhysicalBonus = 8;
|
||||
FireBonus = 4;
|
||||
ColdBonus = 8;
|
||||
PoisonBonus =4;
|
||||
EnergyBonus = 4;
|
||||
}
|
||||
|
||||
public SantaLegs( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class SantaTunic : LeatherChest
|
||||
{
|
||||
public override int ArtifactRarity{ get{ return 4; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
[Constructable]
|
||||
public SantaTunic()
|
||||
{ Weight = 6.0;
|
||||
Name = "Santa Tunic";
|
||||
Hue = 33;
|
||||
|
||||
ArmorAttributes.SelfRepair=1;
|
||||
Attributes.SpellDamage=5;
|
||||
Attributes.LowerRegCost=10;
|
||||
Attributes.DefendChance=7;
|
||||
|
||||
PhysicalBonus = 4;
|
||||
FireBonus = 8;
|
||||
ColdBonus = 8;
|
||||
PoisonBonus =5;
|
||||
EnergyBonus = 4;
|
||||
}
|
||||
|
||||
public SantaTunic( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class YellowSnow : Item
|
||||
{
|
||||
[Constructable]
|
||||
public YellowSnow() : this( 1 )
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public YellowSnow( int amount ) : base( 0x26B8 )
|
||||
{
|
||||
Name = "Yellow Snow";
|
||||
Stackable = true;
|
||||
Hue = 55;
|
||||
Weight = 0.1;
|
||||
Amount = amount;
|
||||
}
|
||||
|
||||
public YellowSnow( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
//public override Item Dupe( int amount )
|
||||
//{
|
||||
//return base.Dupe( new YellowSnow( amount ), amount );
|
||||
//}
|
||||
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user