Exemplo n.º 1
0
        public static void GiveSeeds(Mobile from)
        {
            var box = new WoodenBox
            {
                Hue  = 578,
                Name = "Box of Seeds"
            };

            box.DropItem(new FertileDirt(5000));
            box.DropItem(new GreenThorns(15));

            Container bag = new Bag();

            for (int i = 0; i < 10; i++)
            {
                bag.DropItem(new Seed(PlantType.CocoaTree, PlantHue.Plain, false));
            }

            PlaceItemIn(box, 47, 83, bag);

            bag = new Bag();

            for (int i = 0; i < 10; i++)
            {
                bag.DropItem(Seed.RandomPeculiarSeed(Utility.Random(3)));
            }

            PlaceItemIn(box, 78, 83, bag);

            bag = new Bag();

            for (int i = 0; i < 5; i++)
            {
                bag.DropItem(new Seed(PlantTypeInfo.RandomFirstGeneration(), PlantHue.White, false));
            }

            for (int i = 0; i < 5; i++)
            {
                bag.DropItem(new Seed(PlantTypeInfo.RandomFirstGeneration(), PlantHue.Black, false));
            }

            for (int i = 0; i < 5; i++)
            {
                bag.DropItem(new Seed(PlantTypeInfo.RandomFirstGeneration(), PlantHue.FireRed, false));
            }

            // TODO: Plant Spawners

            PlaceItemIn(box, 109, 83, bag);

            PlaceItemIn(from.BankBox, 83, 106, box);
        }
Exemplo n.º 2
0
        public DecorativeStableSet()
        {
            DropItem(new CowStatue());
            DropItem(new HorseStatue());
            DropItem(new ChickenStatue());
            DropItem(new MetalTubDeed());
            DropItem(new Feedbag());
            DropItem(new CowPie());

            var box = new WoodenBox();

            var item = new DecorativeStableFencing(FencingType.CornerPiece);

            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.EastFacingPieces);
            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.EastFacingPieces);
            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.EastFacingPieces);
            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.EastFacingPieces);
            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.EastFacingPieces);
            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.EastFacingPieces);
            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.EastFacingPieces);
            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.EastFacingPieces);
            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.EastFacingPieces);
            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.SouthFacingPieces);
            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.SouthFacingPieces);
            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.SouthFacingPieces);
            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.SouthFacingPieces);
            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.SouthFacingPieces);
            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.SouthFacingPieces);
            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.SouthFacingPieces);
            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.SouthFacingPieces);
            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.SouthFacingPieces);
            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.NWCornerPiece);
            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.NWCornerPiece);
            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.GateSouth);
            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.GateSouth);
            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.GateEast);
            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.GateEast);
            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.Arch);
            box.DropItem(item);

            DropItem(box);

            var bag = new Bag();

            DropItem(bag);
        }
Exemplo n.º 3
0
        public PirateCaptain() : base(AIType.AI_Archer, FightMode.Closest, 15, 1, 0.2, 0.4)
        {
            SpeechHue = Utility.RandomDyedHue();
            Hue       = Utility.RandomSkinHue();

            if (this.Female = Utility.RandomBool())
            {
                Title = "Piratska Kapitanka";
                Body  = 0x191;
                Name  = NameList.RandomName("female");
                AddItem(new ThighBoots());
            }
            else
            {
                Title = "Piratsky Kapitan";
                Body  = 0x190;
                Name  = NameList.RandomName("male");
                AddItem(new ThighBoots());
            }

            SetStr(495, 500);
            SetDex(781, 895);
            SetInt(61, 75);
            SetHits(1488, 1508);

            SetDamage(40, 70);

            SetSkill(SkillName.Fencing, 86.0, 97.5);
            SetSkill(SkillName.Macing, 85.0, 87.5);
            SetSkill(SkillName.MagicResist, 55.0, 67.5);
            SetSkill(SkillName.Swords, 85.0, 87.5);
            SetSkill(SkillName.Tactics, 85.0, 87.5);
            SetSkill(SkillName.Wrestling, 35.0, 37.5);
            SetSkill(SkillName.Archery, 85.0, 87.5);

            Fame         = 5000;
            Karma        = -5000;
            VirtualArmor = 66;

            switch (Utility.Random(1))
            {
            case 0: AddItem(new LongPants(Utility.RandomRedHue())); break;

            case 1: AddItem(new ShortPants(Utility.RandomRedHue())); break;
            }
            AddItem(new FancyShirt(1153));

            AddItem(new TricorneHat(33));

            switch (Utility.Random(5))
            {
            case 0: AddItem(new Bow()); break;

            case 1: AddItem(new CompositeBow()); break;

            case 2: AddItem(new Crossbow()); break;

            case 3: AddItem(new RepeatingCrossbow()); break;

            case 4: AddItem(new HeavyCrossbow()); break;
            }

            Item hair = new Item(Utility.RandomList(0x203B, 0x2049, 0x2048, 0x204A));

            hair.Hue     = Utility.RandomNondyedHue();
            hair.Layer   = Layer.Hair;
            hair.Movable = false;
            AddItem(hair);

            Container cont = new WoodenBox();

            cont.ItemID = 0xE7D;
            cont.Hue    = 0x489;

            int count = Utility.RandomMinMax(30, 50);

            for (int i = 0; i < count; ++i)
            {
                cont.DropItem(Loot.RandomGem());
            }

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

            if (pack == null)
            {
                return;
            }

            // Frog Drop

            /*
             * MetalBox box = new MetalBox();
             * box.Name = "<BASEFONT COLOR='#007FFF'>Frog Drop Collection";
             * box.LootType = LootType.Blessed;
             * box.Locked = true;
             * box.RequiredSkill = box.LockLevel = 1000;
             * box.DropItem( new WorldMap() );
             * box.DropItem( new RedLeaves() );
             * box.DropItem( new Sand() );
             * box.DropItem( new SpecialHairDye() );
             * box.DropItem( new Rope() );
             * box.DropItem( new Vines() );
             * box.DropItem( new TribalPaint() );
             * box.DropItem( new RockArtifact() );
             * box.DropItem( new Runebook() );
             * box.DropItem( new Gold( 500 ) );
             */
            pack.DropItem(new FrogDropBag(true));

            // Angel's Snack
            Pouch pouch = new Pouch();

            pouch.DropItem(new HealPotion(25));
            pouch.DropItem(new CurePotion(25));
            pouch.DropItem(new RefreshPotion(25));
            pack.DropItem(pouch);

            // Forks
            Bag bag = new Bag();

            bag.Name = "Forks";
            bag.DropItem(new BistroFork());
            bag.DropItem(new GastroFork());
            bag.DropItem(new SilverFork());
            pack.DropItem(bag);

            // Spellcasting Stuff
            bag      = new Bag();
            bag.Name = "Spell Casting Stuff";
            TomeOfLostKnowledge tome = new TomeOfLostKnowledge();

            tome.Name    = "Tome Of Lost Knowledge [Replica]";
            tome.Content = 18446744073709551615;
            bag.DropItem(tome);
            bag.DropItem(new CompleteNecromancerSpellbook());
            bag.DropItem(new BagOfAllReagents());
            CrystallineRing ring = new CrystallineRing();

            ring.Name = "Crystalline Ring [Replica]";
            bag.DropItem(ring);
            OrnamentOfTheMagician brace = new OrnamentOfTheMagician();

            brace.Name = "Ornament Of The Magician [Replica]";
            bag.DropItem(brace);
            pack.DropItem(bag);

            // Blue Clothing
            MetalBox box = new MetalBox();

            box.Name = "Blue Clothing";
            box.DropItem(new BlueHat());
            box.DropItem(new BlueArms());
            box.DropItem(new BlueShirt());
            box.DropItem(new BluePants());
            box.DropItem(new BlueBoots());
            box.DropItem(new BlueCloak());
            box.DropItem(new BlueSash());
            box.DropItem(new BlueBelt());

            WoodenBox wood = new WoodenBox();

            wood.Name = "Tier One Deeds";
            for (int i = 0; i < 4; i++)
            {
                for (int j = 0; j < 9; j++)
                {
                    wood.DropItem(new BlueEnhanceDeed((BlueEnhance)(i + 1), 1));
                }
            }
            box.DropItem(wood);

            wood      = new WoodenBox();
            wood.Name = "Tier Two Deeds";
            for (int i = 0; i < 4; i++)
            {
                for (int j = 0; j < 9; j++)
                {
                    wood.DropItem(new BlueEnhanceDeed((BlueEnhance)(j + 1), 2));
                }
            }
            box.DropItem(wood);
            pack.DropItem(box);
        }