Exemplo n.º 1
0
        private static void AddBackpack(Mobile m)
        {
            Container pack = m.Backpack;

            if (pack == null)
            {
                pack         = new Backpack();
                pack.Movable = false;

                m.AddItem(pack);
            }

            PackItem(new RedBook("a book", m.Name, 20, true));
            PackItem(new Gold(204));                    // Adam: add the magic starting gold of 204
            PackItem(new Dagger());
            PackItem(new Candle());
            PackItem(new Spyglass());                   // Adam: The spyglass is how you opperate a moongate. seems like a reasonable starting item

            // [NEW] Tower
            //RecallRune ocRune = new RecallRune();
            //ocRune.Target =	new Point3D( 1688, 1422, 0 );
            //ocRune.TargetMap = Map.Felucca;
            //ocRune.Description = "[NEW] Tower";
            //ocRune.Marked = true;
            //PackItem( ocRune );

            // add a book describing new
            //PackItem(NewBook());

            // wea: added newbie tent
            TentBag newbtent = new TentBag();

            PackItem(newbtent);
        }
        private static void AddBackpack(Mobile m)
        {
            Container pack = m.Backpack;

            if (pack == null)
            {
                pack         = new Backpack();
                pack.Movable = false;

                m.AddItem(pack);
            }

            if (Core.UOAI || Core.UOAR)
            {
                PackItem(new RedBook("a book", m.Name, 20, true));
                PackItem(new Gold(204));                        // Adam: add the magic starting gold of 204
                PackItem(new Dagger());
                PackItem(new Candle());
                PackItem(new Spyglass());                       // Adam: The spyglass is how you opperate a moongate. seems like a reasonable starting item

                // [NEW] Tower
                //RecallRune ocRune = new RecallRune();
                //ocRune.Target =	new Point3D( 1688, 1422, 0 );
                //ocRune.TargetMap = Map.Felucca;
                //ocRune.Description = "[NEW] Tower";
                //ocRune.Marked = true;
                //PackItem( ocRune );

                // add a book describing new
                //PackItem(NewBook());

                // wea: added newbie tent
                TentBag newbtent = new TentBag();
                PackItem(newbtent);
            }
            else if (Core.UOSP || Core.UOMO)
            {
                //daggers are newbie, everything else isn't
                Dagger dagger = new Dagger();
                PackItem(dagger);
                dagger.LootType = LootType.Newbied;

                PackItem(new Gold(100));
                PackItem(new IronIngot(25));
                PackItem(new Shovel());

                BagOfReagents regs = new BagOfReagents(10);
                PackItem(regs);

                //ADD back of 10 reagents
                PackItem(new Katana());
            }
        }
Exemplo n.º 3
0
		private static void AddBackpack( Mobile m )
		{
			Container pack = m.Backpack;

			if ( pack == null )
			{
				pack = new Backpack();
				pack.Movable = false;

				m.AddItem( pack );
			}

			PackItem( new RedBook( "a book", m.Name, 20, true ) );
			PackItem(new Gold(204));	// Adam: add the magic starting gold of 204
			PackItem( new Dagger() );
			PackItem( new Candle() );
			PackItem(new Spyglass());	// Adam: The spyglass is how you opperate a moongate. seems like a reasonable starting item

			// [NEW] Tower
			//RecallRune ocRune = new RecallRune();
			//ocRune.Target =	new Point3D( 1688, 1422, 0 ); 
			//ocRune.TargetMap = Map.Felucca;
			//ocRune.Description = "[NEW] Tower";
			//ocRune.Marked = true;
			//PackItem( ocRune );

			// add a book describing new
			//PackItem(NewBook());

			// wea: added newbie tent
			TentBag newbtent = new TentBag();
			PackItem( newbtent );
                        
		}
Exemplo n.º 4
0
 public PlaceTarget(TentBag tb)
     : base(-1, true, TargetFlags.None)
 {
     m_tent = tb;
 }