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,101 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletBag : Bag
{
[Constructable]
public AmuletBag( int amount )
{
Weight = 5000.0;
Movable = true;
Hue = 1152;
Name = "Test em out!";
}
[Constructable]
public AmuletBag()
{
DropItem( new AmuletOfTheAlligator() );
DropItem( new AmuletOfTheBoneDemon() );
DropItem( new AmuletOfTheBoneKnight() );
DropItem( new AmuletOfTheBrownBear() );
DropItem( new AmuletOfTheBullFrog() );
DropItem( new AmuletOfTheCat() );
DropItem( new AmuletOfTheCentaur() );
DropItem( new AmuletOfTheChicken() );
DropItem( new AmuletOfTheCylops() );
DropItem( new AmuletOfTheDarkFather() );
DropItem( new AmuletOfTheDragon() );
DropItem( new AmuletOfTheDrake() );
DropItem( new AmuletOfTheEarthElemental() );
DropItem( new AmuletOfTheEtherealWarrior() );
DropItem( new AmuletOfTheEvilMage() );
DropItem( new AmuletOfTheGazer() );
DropItem( new AmuletOfTheGiantPixie() );
DropItem( new AmuletOfTheGiantSerpent() );
DropItem( new AmuletOfTheGiantSpider() );
DropItem( new AmuletOfTheGiantToad() );
DropItem( new AmuletOfTheGorilla() );
DropItem( new AmuletOfTheHarpy() );
DropItem( new AmuletOfTheImp() );
DropItem( new AmuletOfTheLightElemental() );
DropItem( new AmuletOfTheOphidianMatriarch() );
DropItem( new AmuletOfTheMommy() );
DropItem( new AmuletOfTheMongbat() );
DropItem( new AmuletOfTheOphidianKnight() );
DropItem( new AmuletOfTheOphidianMage() );
DropItem( new AmuletOfTheOrc() );
DropItem( new AmuletOfTheOrcBrut() );
DropItem( new AmuletOfTheOrcLord() );
DropItem( new AmuletOfThePanther() );
DropItem( new AmuletOfThePig() );
DropItem( new AmuletOfThePixie() );
DropItem( new AmuletOfThePolorBear() );
DropItem( new AmuletOfTheRabbit() );
DropItem( new AmuletOfTheRatman() );
DropItem( new AmuletOfTheRedDragon() );
DropItem( new AmuletOfTheRedDrake() );
DropItem( new AmuletOfTheScorpion() );
DropItem( new AmuletOfTheShadowKnight() );
DropItem( new AmuletOfTheSheep() );
DropItem( new AmuletOfTheSnake() );
DropItem( new AmuletOfTheSuccubus() );
DropItem( new AmuletOfTheTerathanAvenger() );
DropItem( new AmuletOfTheTerathanDrone() );
DropItem( new AmuletOfTheTerathanMatriarch() );
DropItem( new AmuletOfTheTerathanWarrior() );
DropItem( new AmuletOfTheTitan() );
DropItem( new AmuletOfTheTreeFellow() );
DropItem( new AmuletOfTheWaterElemental() );
DropItem( new AmuletOfTheWisp() );
DropItem( new AmuletOfTheWolf() );
DropItem( new AmuletOfTheWTF() );
DropItem( new AmuletOfTheWyvern() );
DropItem( new AmuletOfTheZombie() );
DropItem( new SexChangeingAmulet() );
}
public AmuletBag( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheAlligator : SilverNecklace
{
[Constructable]
public AmuletOfTheAlligator()
{
Weight = 0.2;
Name = "Amulet Of The Alligator";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 93 );
m.BodyMod = 133;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 133 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 93 );
m.BodyMod = 133;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 133 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheAlligator( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheBoneDemon : SilverNecklace
{
[Constructable]
public AmuletOfTheBoneDemon()
{
Weight = 0.2;
Name = "Amulet Of The Bone Demon";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 697 );
m.BodyMod = 308;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 308 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 697 );
m.BodyMod = 308;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 308 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheBoneDemon( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheBoneKnight : SilverNecklace
{
[Constructable]
public AmuletOfTheBoneKnight()
{
Weight = 0.2;
Name = "Amulet Of The Bone Knight";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 451 );
m.BodyMod = 147;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 147 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 451 );
m.BodyMod = 147;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 147 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheBoneKnight( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheBrownBear : SilverNecklace
{
[Constructable]
public AmuletOfTheBrownBear()
{
Weight = 0.2;
Name = "Amulet Of The Brown Bear";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 95 );
m.BodyMod = 167;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 167 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 95 );
m.BodyMod = 167;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 167 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheBrownBear( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheBullFrog : SilverNecklace
{
[Constructable]
public AmuletOfTheBullFrog()
{
Weight = 0.2;
Name = "Amulet Of The Bull Frog";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 620 );
m.BodyMod = 81;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 81 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 620 );
m.BodyMod = 81;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 81 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheBullFrog( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheCat : SilverNecklace
{
[Constructable]
public AmuletOfTheCat()
{
Weight = 0.2;
Name = "Amulet Of The Cat";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 105 );
m.BodyMod = 201;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 201 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 105 );
m.BodyMod = 201;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 201 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheCat( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheCentaur : SilverNecklace
{
[Constructable]
public AmuletOfTheCentaur()
{
Weight = 0.2;
Name = "Amulet Of The Centaur";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 680 );
m.BodyMod = 101;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 101 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 680 );
m.BodyMod = 101;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 101 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheCentaur( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheChicken : SilverNecklace
{
[Constructable]
public AmuletOfTheChicken()
{
Weight = 0.2;
Name = "Amulet Of The Chicken";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 111 );
m.BodyMod = 208;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 208 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 111 );
m.BodyMod = 208;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 208 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheChicken( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheCylops : SilverNecklace
{
[Constructable]
public AmuletOfTheCylops()
{
Weight = 0.2;
Name = "Amulet Of The Cylops";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 604 );
m.BodyMod = 75;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 75 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 604 );
m.BodyMod = 75;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 75 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheCylops( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheDarkFather : SilverNecklace
{
[Constructable]
public AmuletOfTheDarkFather()
{
Weight = 0.2;
Name = "Amulet Of The Dark Father";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 699 );
m.BodyMod = 318;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 318 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 699 );
m.BodyMod = 318;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 318 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheDarkFather( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheDragon : SilverNecklace
{
[Constructable]
public AmuletOfTheDragon()
{
Weight = 0.2;
Name = "Amulet Of The Dragon";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 362 );
m.BodyMod = 49;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 49 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 362 );
m.BodyMod = 49;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 49 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheDragon( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheDrake : SilverNecklace
{
[Constructable]
public AmuletOfTheDrake()
{
Weight = 0.2;
Name = "Amulet Of The Drake";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 708 );
m.BodyMod = 60;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 60 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 708 );
m.BodyMod = 60;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 60 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheDrake( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheEarthElemental : SilverNecklace
{
[Constructable]
public AmuletOfTheEarthElemental()
{
Weight = 0.2;
Name = "Amulet Of The Earth Elemental";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 269 );
m.BodyMod = 161;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 161 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 269 );
m.BodyMod = 161;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 161 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheEarthElemental( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheEtherealWarrior : SilverNecklace
{
[Constructable]
public AmuletOfTheEtherealWarrior()
{
Weight = 0.2;
Name = "Amulet OfT he Ethereal Warrior";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 758 );
m.BodyMod = 123;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 123 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 758 );
m.BodyMod = 123;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 123 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheEtherealWarrior( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheEvilMage : SilverNecklace
{
[Constructable]
public AmuletOfTheEvilMage()
{
Weight = 0.2;
Name = "Amulet Of The Evil Mage";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 1067 );
m.BodyMod = 126;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 126 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 783 );
m.BodyMod = 126;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 126 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheEvilMage( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheGazer : SilverNecklace
{
[Constructable]
public AmuletOfTheGazer()
{
Weight = 0.2;
Name = "Amulet Of The Gazer";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 377 );
m.BodyMod = 69;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 69 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 377 );
m.BodyMod = 69;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 69 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheGazer( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheGiantPixie : SilverNecklace
{
[Constructable]
public AmuletOfTheGiantPixie()
{
Weight = 0.2;
Name = "Amulet Of The Giant Pixie";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 287 );
m.BodyMod = 176;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 176 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 287 );
m.BodyMod = 176;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 176 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheGiantPixie( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheGiantSerpent : SilverNecklace
{
[Constructable]
public AmuletOfTheGiantSerpent()
{
Weight = 0.2;
Name = "Amulet Of The Giant Serpent";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 219 );
m.BodyMod = 93;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 93 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 219 );
m.BodyMod = 93;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 93 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheGiantSerpent( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheGiantSpider : SilverNecklace
{
[Constructable]
public AmuletOfTheGiantSpider()
{
Weight = 0.2;
Name = "Amulet Of The Giant Spider";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 387 );
m.BodyMod = 157;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 157 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 387 );
m.BodyMod = 157;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 157 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheGiantSpider( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheGiantToad : SilverNecklace
{
[Constructable]
public AmuletOfTheGiantToad()
{
Weight = 0.2;
Name = "Amulet Of The Giant Toad";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 619 );
m.BodyMod = 80;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 80 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 619 );
m.BodyMod = 80;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 80 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheGiantToad( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheGorilla : SilverNecklace
{
[Constructable]
public AmuletOfTheGorilla()
{
Weight = 0.2;
Name = "Amulet Of The Gorilla";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 159 );
m.BodyMod = 29;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 29 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 159 );
m.BodyMod = 29;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 29 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheGorilla( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheHarpy : SilverNecklace
{
[Constructable]
public AmuletOfTheHarpy()
{
Weight = 0.2;
Name = "Amulet Of The Harpy";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 402 );
m.BodyMod = 73;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 73 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 402 );
m.BodyMod = 73;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 73 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheHarpy( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheImp : SilverNecklace
{
[Constructable]
public AmuletOfTheImp()
{
Weight = 0.2;
Name = "Amulet Of The Imp";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 423 );
m.BodyMod = 74;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 74 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 423 );
m.BodyMod = 74;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 74 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheImp( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheLightElemental : SilverNecklace
{
[Constructable]
public AmuletOfTheLightElemental()
{
Weight = 0.2;
Name = "Amulet Of The Light Elemental";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 86 );
m.BodyMod = 199;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 199 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 86 );
m.BodyMod = 199;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 199 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheLightElemental( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheMommy : SilverNecklace
{
[Constructable]
public AmuletOfTheMommy()
{
Weight = 0.2;
Name = "Amulet Of The Mommy";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 472 );
m.BodyMod = 154;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 154 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 472 );
m.BodyMod = 154;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 154 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheMommy( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheMongbat : SilverNecklace
{
[Constructable]
public AmuletOfTheMongbat()
{
Weight = 0.2;
Name = "Amulet Of The Mongbat";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 423 );
m.BodyMod = 39;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 39 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 423 );
m.BodyMod = 39;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 39 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheMongbat( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheOphidianKnight : SilverNecklace
{
[Constructable]
public AmuletOfTheOphidianKnight()
{
Weight = 0.2;
Name = "Amulet Of The Ophidian Knight";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 636 );
m.BodyMod = 86;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 86 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 636 );
m.BodyMod = 86;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 86 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheOphidianKnight( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheOphidianMage : SilverNecklace
{
[Constructable]
public AmuletOfTheOphidianMage()
{
Weight = 0.2;
Name = "Amulet Of The Ophidian Mage";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 634 );
m.BodyMod = 85;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 85 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 634 );
m.BodyMod = 85;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 85 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheOphidianMage( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheOphidianMatriarch : SilverNecklace
{
[Constructable]
public AmuletOfTheOphidianMatriarch()
{
Weight = 0.2;
Name = "Amulet Of The Ophidian Matriarch";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 635 );
m.BodyMod = 87;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 87 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 635 );
m.BodyMod = 87;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 87 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheOphidianMatriarch( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheOrc : SilverNecklace
{
[Constructable]
public AmuletOfTheOrc()
{
Weight = 0.2;
Name = "Amulet Of The Orc";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 433 );
m.BodyMod = 140;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 140 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 433 );
m.BodyMod = 140;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 140 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheOrc( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheOrcBrut : SilverNecklace
{
[Constructable]
public AmuletOfTheOrcBrut()
{
Weight = 0.2;
Name = "Amulet Of The Orc Brut";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 434 );
m.BodyMod = 189;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 189 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 434 );
m.BodyMod = 189;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 189 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheOrcBrut( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheOrcLord : SilverNecklace
{
[Constructable]
public AmuletOfTheOrcLord()
{
Weight = 0.2;
Name = "Amulet Of The Orc Lord";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 435 );
m.BodyMod = 139;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 139 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 435 );
m.BodyMod = 139;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 139 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheOrcLord( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfThePanther : SilverNecklace
{
[Constructable]
public AmuletOfThePanther()
{
Weight = 0.2;
Name = "Amulet Of The Panther";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 186 );
m.BodyMod = 64;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 64 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 186 );
m.BodyMod = 64;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 64 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfThePanther( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfThePig : SilverNecklace
{
[Constructable]
public AmuletOfThePig()
{
Weight = 0.2;
Name = "Amulet Of The Pig";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 196 );
m.BodyMod = 203;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 203 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 196 );
m.BodyMod = 203;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 203 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfThePig( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfThePixie : SilverNecklace
{
[Constructable]
public AmuletOfThePixie()
{
Weight = 0.2;
Name = "Amulet Of The Pixie";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 288 );
m.BodyMod = 128;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 128 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 288 );
m.BodyMod = 128;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 128 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfThePixie( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfThePolorBear : SilverNecklace
{
[Constructable]
public AmuletOfThePolorBear()
{
Weight = 0.2;
Name = "Amulet Of The Polor Bear";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 96 );
m.BodyMod = 213;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 213 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 96 );
m.BodyMod = 213;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 213 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfThePolorBear( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheRabbit : SilverNecklace
{
[Constructable]
public AmuletOfTheRabbit()
{
Weight = 0.2;
Name = "Amulet Of The Rabbit";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 201 );
m.BodyMod = 205;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 205 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 201 );
m.BodyMod = 205;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 205 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheRabbit( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheRatman : SilverNecklace
{
[Constructable]
public AmuletOfTheRatman()
{
Weight = 0.2;
Name = "Amulet Of The Ratman";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 438 );
m.BodyMod = 45;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 45 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 438 );
m.BodyMod = 45;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 45 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheRatman( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheRedDragon : SilverNecklace
{
[Constructable]
public AmuletOfTheRedDragon()
{
Weight = 0.2;
Name = "Amulet Of The Red Dragon";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 363 );
m.BodyMod = 59;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 59 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 363 );
m.BodyMod = 59;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 59 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheRedDragon( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheRedDrake : SilverNecklace
{
[Constructable]
public AmuletOfTheRedDrake()
{
Weight = 0.2;
Name = "Amulet Of The Red Drake";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 725 );
m.BodyMod = 61;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 61 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 725 );
m.BodyMod = 61;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 61 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheRedDrake( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheScorpion : SilverNecklace
{
[Constructable]
public AmuletOfTheScorpion()
{
Weight = 0.2;
Name = "Amulet Of The Scorpion";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 397 );
m.BodyMod = 48;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 48 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 397 );
m.BodyMod = 48;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 48 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheScorpion( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheShadowKnight : SilverNecklace
{
[Constructable]
public AmuletOfTheShadowKnight()
{
Weight = 0.2;
Name = "Amulet Of The Shadow Knight";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 1150 );
m.BodyMod = 311;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 311 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 1150 );
m.BodyMod = 311;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 311 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheShadowKnight( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheSheep : SilverNecklace
{
[Constructable]
public AmuletOfTheSheep()
{
Weight = 0.2;
Name = "Amulet Of The Sheep";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 215 );
m.BodyMod = 207;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 207 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 215 );
m.BodyMod = 207;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 207 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheSheep( 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,119 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheSnake : SilverNecklace
{
[Constructable]
public AmuletOfTheSnake()
{
Weight = 0.2;
Name = "Amulet Of The Snake";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 220 );
m.BodyMod = 52;
m.NameMod = "a snake";
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 52 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.NameMod = null;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 220 );
m.BodyMod = 52;
m.NameMod = "a snake";
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 52 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.NameMod = null;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheSnake( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheSuccubus : SilverNecklace
{
[Constructable]
public AmuletOfTheSuccubus()
{
Weight = 0.2;
Name = "Amulet Of The Succubus";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 1201 );
m.BodyMod = 149;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 149 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 1201 );
m.BodyMod = 149;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 149 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheSuccubus( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheTerathanAvenger : SilverNecklace
{
[Constructable]
public AmuletOfTheTerathanAvenger()
{
Weight = 0.2;
Name = "Amulet Of The Terathan Avenger";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 592 );
m.BodyMod = 152;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 152 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 592 );
m.BodyMod = 152;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 152 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheTerathanAvenger( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheTerathanDrone : SilverNecklace
{
[Constructable]
public AmuletOfTheTerathanDrone()
{
Weight = 0.2;
Name = "Amulet Of The Terathan Drone";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 590 );
m.BodyMod = 71;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 71 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 590 );
m.BodyMod = 71;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 71 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheTerathanDrone( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheTerathanMatriarch : SilverNecklace
{
[Constructable]
public AmuletOfTheTerathanMatriarch()
{
Weight = 0.2;
Name = "Amulet Of The Terathan Matriarch";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 589 );
m.BodyMod = 72;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 72 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 589 );
m.BodyMod = 72;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 72 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheTerathanMatriarch( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheTerathanWarrior : SilverNecklace
{
[Constructable]
public AmuletOfTheTerathanWarrior()
{
Weight = 0.2;
Name = "Amulet Of The Terathan Warrior";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 591 );
m.BodyMod = 70;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 70 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 591 );
m.BodyMod = 70;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 70 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheTerathanWarrior( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheTitan : SilverNecklace
{
[Constructable]
public AmuletOfTheTitan()
{
Weight = 0.2;
Name = "Amulet Of The Titan";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 610 );
m.BodyMod = 76;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 76 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 610 );
m.BodyMod = 76;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 76 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheTitan( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheTreeFellow : SilverNecklace
{
[Constructable]
public AmuletOfTheTreeFellow()
{
Weight = 0.2;
Name = "Amulet Of The Tree Fellow";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 0 );
m.BodyMod = 301;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 301 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 0 );
m.BodyMod = 301;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 301 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheTreeFellow( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheWTF : SilverNecklace
{
[Constructable]
public AmuletOfTheWTF()
{
Weight = 0.2;
Name = "Amulet Of The WTF";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 85 );
m.BodyMod = 196;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 196 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 85 );
m.BodyMod = 196;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 196 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheWTF( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheWaterElemental : SilverNecklace
{
[Constructable]
public AmuletOfTheWaterElemental()
{
Weight = 0.2;
Name = "Amulet Of The Water Elemental";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 278 );
m.BodyMod = 158;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 158 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 278 );
m.BodyMod = 158;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 158 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheWaterElemental( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheWisp : SilverNecklace
{
[Constructable]
public AmuletOfTheWisp()
{
Weight = 0.2;
Name = "Amulet Of The Wisp";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 466 );
m.BodyMod = 165;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 165 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 466 );
m.BodyMod = 165;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 165 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheWisp( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheWolf : SilverNecklace
{
[Constructable]
public AmuletOfTheWolf()
{
Weight = 0.2;
Name = "Amulet Of The Wolf";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 230 );
m.BodyMod = 100;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 100 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 230 );
m.BodyMod = 100;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 100 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheWolf( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheWyvern : SilverNecklace
{
[Constructable]
public AmuletOfTheWyvern()
{
Weight = 0.2;
Name = "Amulet Of The Wyvern";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 362 );
m.BodyMod = 62;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 62 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 362 );
m.BodyMod = 62;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 62 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheWyvern( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class AmuletOfTheZombie : SilverNecklace
{
[Constructable]
public AmuletOfTheZombie()
{
Weight = 0.2;
Name = "Amulet Of The Zombie";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 471 );
m.BodyMod = 155;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 155 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 471 );
m.BodyMod = 155;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 155 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public AmuletOfTheZombie( 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,115 @@
//Created by David aka EvilPounder
//Shard: Lords of UO
using System;
using Server;
using Server.Items;
namespace Server.Items
{
public class SexChangeingAmulet : SilverNecklace
{
[Constructable]
public SexChangeingAmulet()
{
Weight = 0.2;
Name = "Sex Changeing Amulet";
Layer = Layer.Neck;
Hue = 0;
}
public override void OnDoubleClick( Mobile m )
{
if( Parent != m )
{
m.SendMessage( "Put It On Then Try.....durr.." );
}
else
{
if ( m.Body == 400 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 795 );
m.BodyMod = 184;
m.RemoveItem(this);
m.EquipItem(this);
if( m.Kills >= 5)
{
m.Criminal = true;
}
if( m.GuildTitle != null)
{
m.DisplayGuildTitle = true;
}
}
else if ( m.BodyMod == 184 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.Body == 401 )
{
m.SendMessage( "you feel the amulet's power changeing you." );
m.PlaySound( 1067 );
m.BodyMod = 183;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
else if ( m.BodyMod == 183 )
{
m.SendMessage( "you feel the amulet's power go away." );
m.PlaySound( 73 );
m.BodyMod = 0;
m.DisplayGuildTitle = false;
m.Criminal = false;
m.RemoveItem(this);
m.EquipItem(this);
}
}
}
public override void OnRemoved( Object o )
{
if( o is Mobile )
{
((Mobile)o).NameMod = null;
}
if( o is Mobile && ((Mobile)o).Kills >= 5)
{
((Mobile)o).Criminal = true;
}
if( o is Mobile && ((Mobile)o).GuildTitle != null )
{
((Mobile)o).DisplayGuildTitle = true;
}
base.OnRemoved( o );
}
public SexChangeingAmulet( 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();
}
}
}