Exemple #1
0
        public MagicCloak()
        {
            Resource = CraftResource.None;
            ItemID   = Utility.RandomList(m_ItemIDs);
            Name     = "cloak";
            Hue      = RandomThings.GetRandomColor(0);
            if (Utility.RandomBool())
            {
                Hue = RandomThings.GetRandomSpecialColor();
            }
            Layer  = Layer.Cloak;
            Weight = 5.0;

            //Name = LootPackEntry.MagicItemAdj( "start", false, false, ItemID ) + " " + Name;
        }
Exemple #2
0
        public MagicSash()
        {
            Resource = CraftResource.None;
            Name     = "sash";
            ItemID   = 0x1541;
            Hue      = RandomThings.GetRandomColor(0);
            if (Utility.RandomBool())
            {
                Hue = RandomThings.GetRandomSpecialColor();
            }
            Layer  = Layer.MiddleTorso;
            Weight = 2.0;

            //Name = LootPackEntry.MagicItemAdj( "start", false, false, ItemID ) + " " + Name;
        }
Exemple #3
0
        public MagicBelt()
        {
            Resource = CraftResource.None;
            switch (Utility.Random(3))
            {
            case 0: Name = "belt";                  ItemID = 0x2790;                break;

            case 1: Name = "loin cloth";    ItemID = 0x2B68;                break;

            case 2: Name = "apron";                 ItemID = 0x153b;                break;
            }
            Hue = RandomThings.GetRandomColor(0);
            if (Utility.RandomBool())
            {
                Hue = RandomThings.GetRandomSpecialColor();
            }
            Layer  = Layer.Waist;
            Weight = 2.0;

            //Name = LootPackEntry.MagicItemAdj( "start", false, false, ItemID ) + " " + Name;
        }
Exemple #4
0
        public UnusualDyes(int amount) : base(0x282F)
        {
            Weight    = 0.01;
            Stackable = true;
            Amount    = amount;
            switch (Utility.RandomMinMax(0, 6))
            {
            case 0: Name = "an odd jar of dye"; break;

            case 1: Name = "an unusual jar of dye"; break;

            case 2: Name = "a bizarre jar of dye"; break;

            case 3: Name = "a curious jar of dye"; break;

            case 4: Name = "a peculiar jar of dye"; break;

            case 5: Name = "a strange jar of dye"; break;

            case 6: Name = "a weird jar of dye"; break;
            }
            Hue      = RandomThings.GetRandomSpecialColor();
            DyeColor = Hue;
        }
Exemple #5
0
        public MagicRobe()
        {
            Resource = CraftResource.None;
            Name     = "robe";
            Hue      = RandomThings.GetRandomColor(0);
            if (Utility.RandomBool())
            {
                Hue = RandomThings.GetRandomSpecialColor();
            }
            Layer  = Layer.OuterTorso;
            Weight = 3.0;

            switch (Utility.RandomMinMax(1, 20))
            {
            case 1: ItemID = Utility.RandomList(0x230E, 0x230D); Name = "gilded dress"; break;

            case 2: ItemID = Utility.RandomList(0x1F00, 0x1EFF); Name = "fancy dress"; break;

            case 3: ItemID = Utility.RandomList(0x1F01, 0x1F02); Name = "dress"; break;

            case 4: ItemID = Utility.RandomList(0x1F03, 0x1F04, 0x26AE); Name = "robe"; break;

            case 5: ItemID = Utility.RandomList(0x204E); Name = "shroud"; break;

            case 6: ItemID = Utility.RandomList(0x2B69, 0x3160); Name = "assassin robe"; break;

            case 7: ItemID = Utility.RandomList(0x2B70, 0x3167); Name = "magistrate robe"; break;

            case 8: ItemID = Utility.RandomList(0x2B6C, 0x3163); Name = "gilded robe"; break;

            case 9: ItemID = Utility.RandomList(0x2FB9, 0x3173); Name = "assassin shroud"; break;

            case 10: ItemID = Utility.RandomList(0x2FBA, 0x3174); Name = "necromancer robe"; break;

            case 11: ItemID = Utility.RandomList(0x3175, 0x3178); Name = "sorcerer robe"; break;

            case 12: ItemID = Utility.RandomList(0x2B6A, 0x3161); Name = "fancy robe"; break;

            case 13: ItemID = Utility.RandomList(0x2B6E, 0x3165); Name = "ornate robe"; break;

            case 14: ItemID = Utility.RandomList(0x2B73, 0x316A); Name = "royal robe"; break;

            case 15: ItemID = Utility.RandomList(0x2FC6, 0x2FC7); Name = "spider robe"; break;

            case 16: ItemID = Utility.RandomList(0x2B6B, 0x3162); Name = "jester coat"; break;

            case 17: ItemID = Utility.RandomList(0x201B, 0x201C); Name = "dragon robe"; break;

            case 18: ItemID = Utility.RandomList(0x201F, 0x2020); Name = "chaos robe"; break;

            case 19: ItemID = Utility.RandomList(0x201D, 0x201E); Name = "vampire robe"; break;

            case 20: ItemID = Utility.RandomList(0x2799, 0x27E4);
                switch (Utility.RandomMinMax(1, 5))
                {
                case 1: Name = "sorcerer robe"; break;

                case 2: Name = "magician robe"; break;

                case 3: Name = "conjurer robe"; break;

                case 4: Name = "mage robe"; break;

                case 5: Name = "warlock robe"; break;
                }
                break;
            }

            //Name = LootPackEntry.MagicItemAdj( "start", false, false, ItemID ) + " " + Name;
        }
Exemple #6
0
        public MagicHat()
        {
            Weight = 1.0;
            Name   = "hat";

            Resource = CraftResource.None;

            int myHat = Utility.RandomMinMax(0, 20);

            switch (myHat)
            {
            case 0: ItemID = 5914; Name = "feathered hat"; break;

            case 1: ItemID = 5916; Name = "jester hat"; break;

            case 2: ItemID = 5911; Name = "straw hat"; break;

            case 3: ItemID = 5910; Name = "tall straw hat"; break;

            case 4: ItemID = 5908; Name = "wide brim hat"; break;

            case 5: ItemID = 5912; Name = "wizard hat"; break;

            case 6: ItemID = 5915; Name = "tricorne hat"; break;

            case 7: ItemID = 5907; Name = "floppy hat"; break;

            case 8: ItemID = 5444; Name = "skullcap"; break;

            case 9: ItemID = 5909; Name = "bonnet"; break;

            case 10: ItemID = 0x278F; Name = "executioners hood"; break;

            case 11: ItemID = 0x1540; Name = "bandana"; break;

            case 12: ItemID = 0x1549; Name = "shaman mask"; break;

            case 13: ItemID = 0x154B; Name = "tribal mask"; break;

            case 14: ItemID = 0x2B71; Name = "hood"; break;

            case 15: ItemID = 0x3176; Name = "cowl"; break;

            case 16: ItemID = 0x2FC3; Name = "witch hat"; break;

            case 17: ItemID = 0x2FBC; Name = "pirate hat"; break;

            case 18: ItemID = 5445; Name = "bearskin cap"; break;

            case 19: ItemID = 5447; Name = "dearskin cap"; break;

            case 20: ItemID = 0x2B6D; Name = "wolfskin cap"; break;
            }

            if (myHat < 18)
            {
                Hue = RandomThings.GetRandomColor(0);
            }
            else
            {
                Hue = Utility.RandomList(0, 0x497, 0x47E, 0x4A6, 0x4A7, 0x4A8, 0x4A9);
            }

            if (Utility.RandomBool())
            {
                Hue = RandomThings.GetRandomSpecialColor();
            }

            Layer = Layer.Helm;

            //Name = LootPackEntry.MagicItemAdj( "start", false, false, ItemID ) + " " + Name;
        }