Inheritance: BaseMiddleTorso
コード例 #1
0
		public HolidayBaker ()
		{
			Name = "Tilly";
            Title = "Quest Giver";

            Body = 401;
            Hue = 1002;
			CantWalk = true;
			Blessed = true;
			
			Item skirt;
			skirt = new Skirt();
			skirt.Hue = 1368;
			AddItem( skirt );
          

			Item shirt;
			shirt = new Shirt();
            skirt.Hue = 1368;
			AddItem( shirt );
          

			Item shoes;
			shoes = new Shoes();
			shoes.Hue = 1368;
			AddItem( shoes );
            

			Item JesterHat;
            JesterHat = new JesterHat();
            JesterHat.Hue = 1368;
            AddItem(JesterHat);
            

            Item FullApron;
            FullApron = new FullApron();
            FullApron .Hue = 1368;
            AddItem(FullApron);

            Item LongHair = new LongHair(8252);
            LongHair.Movable = false;
            LongHair.Hue = 1153;
            AddItem(LongHair);

           
		}
コード例 #2
0
 public override void InitOutfit()
 {
     Item item = null;
     if ( !Female )
     {
         item = AddRandomHair();
         item.Hue = Utility.RandomHairHue();
         item = AddRandomFacialHair( item.Hue );
         item = new Shirt();
         item.Hue = Utility.RandomNondyedHue();
         AddItem( item );
         item = new ShortPants();
         item.Hue = Utility.RandomNondyedHue();
         AddItem( item );
         item = new FullApron();
         item.Hue = 2305;
         AddItem( item );
         item = Loot.RandomWeapon();
         AddItem( item );
         PackGold( 15, 100 );
     } else {
         item = AddRandomHair();
         item.Hue = Utility.RandomHairHue();
         item = new Shirt();
         item.Hue = Utility.RandomNondyedHue();
         AddItem( item );
         item = new Skirt();
         item.Hue = Utility.RandomNondyedHue();
         AddItem( item );
         item = new FullApron();
         item.Hue = 2305;
         AddItem( item );
         item = Loot.RandomWeapon();
         AddItem( item );
         PackGold( 15, 100 );
     }
 }