Beispiel #1
0
        public BookCollector()
            : base()


//----------------------------------------------------------------------------------------------------//
        {
            Body = 400;
            Hue = Utility.RandomSkinHue();
            if (Female = Utility.RandomBool())
            {
                Body = 401;
                Name = NameList.RandomName("female");
            }
            else
            {
                Name = NameList.RandomName("male");
            }


            //----------------------------------------------------------------------------------------------------//

            //Title = "[A Book Collector]";
            //CantWalk = true;
            Direction = Direction.South;
            Hue = Utility.RandomSkinHue();
            Utility.AssignRandomHair(this);
            Blessed = true;


            BodySash bs = new BodySash();
            bs.Hue = 33;
            AddItem(bs);

            //PlateArms pa = new PlateArms();
            //pa.Hue = 0;
            //AddItem(pa);

            FormalShirt pc = new FormalShirt();
            pc.Hue = 0;
            AddItem(pc);

            //PlateGloves pg = new PlateGloves();
            //pg.Hue = 0;
            //AddItem(pg);

            LongPants pl = new LongPants();
            pl.Hue = 0;
            AddItem(pl);

            Sandals pt = new Sandals();
            pt.Hue = 0;
            AddItem(pt);

            //----------------------------------------------------------------------------------------------------//

        }
Beispiel #2
0
		public override void OnResponse( NetState state, RelayInfo info )
		{
			Mobile from = state.Mobile;
			PlayerMobile player = from as PlayerMobile;

			switch( info.ButtonID )
			{
				case 0:
				{
                                        player.Profession = 3;
                                        player.Level = 1;
                                        player.Exp = 0;
                                        player.KillExp = 0;
                                        player.LevelAt = 200;

                                        from.BankBox.DropItem( new BankCheck( 500 ) );

                                        from.Str += 25;
                                        from.Dex += 20;
                                        from.Int += 5;

                                        from.Skills.ArmsLore.Base = 10;
                                        from.Skills.Blacksmith.Base = 50;
                                        from.Skills.Carpentry.Base = 25;
                                        from.Skills.Cooking.Base = 25;
                                        from.Skills.Fletching.Base = 25;
                                        from.Skills.Mining.Base = 50;
                                        from.Skills.Tailoring.Base = 25;
                                        from.Skills.Tinkering.Base = 25;

			                SkullCap hat = new SkullCap();
			                hat.Hue = 0;
			                hat.Identified = true;
			                from.AddToBackpack( hat );

			                FormalShirt shirt = new FormalShirt();
			                shirt.Hue = 0;
			                shirt.Identified = true;
			                from.AddToBackpack( shirt );

			                ShortPants pants = new ShortPants();
			                pants.Hue = 0;
			                pants.Identified = true;
			                from.AddToBackpack( pants );

			                HeavyBoots boots = new HeavyBoots();
			                boots.Hue = 0;
			                boots.Identified = true;
			                from.AddToBackpack( boots );

			                HalfApron apron = new HalfApron();
			                apron.Hue = 0;
			                apron.Identified = true;
			                from.AddToBackpack( apron );

			                FurCape cloak = new FurCape();
			                cloak.Hue = 0;
			                cloak.Identified = true;
			                from.AddToBackpack( cloak );

                                        from.AddToBackpack( new CrafterSkillGuide() );
                                        from.BankBox.DropItem( new BagOfComponents() );
                                        from.BankBox.DropItem( new BagOfTools() );
                                        from.BankBox.DropItem( new IronIngot( 200 ) );
                                        from.BankBox.DropItem( new MinersIngotPouch() );

		                        from.Map = Map.Malas;
                                        from.Location = new Point3D( 1670, 2008, 1 );
		                        from.PlaySound( 0x214 );
		                        from.FixedEffect( 0x376A, 10, 16 );

                                        World.Broadcast( 0x35, true, "Another has chosen thy path of the Crafter!" );
					from.CloseGump( typeof( CrafterClassGump ) );

					break;
				}
				case 1:
				{
					from.SendMessage( "You decide that the way of the Crafter is not in your best interests." );
					from.CloseGump( typeof( CrafterClassGump ) );

					break;
				}
			}
		}