Exemplo n.º 1
0
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);
            reader.ReadInt();

            Door = reader.ReadItem() as TrapDoor;
        }
Exemplo n.º 2
0
 public MysteriousBook(TrapDoor door)
     : base(0x42b8)
 {
     Movable = false;
     Door    = door;
     Hue     = 1950;
 }
Exemplo n.º 3
0
 public DustPile(TrapDoor door)
     : base(0x573D)
 {
     Movable = false;
     Hue     = 2044;
     Name    = "";
     Door    = door;
 }
Exemplo n.º 4
0
        public static void GenerateQuestContent()
        {
            var map = Siege.SiegeShard ? Map.Felucca : Map.Trammel;

            var addon = new KhaldunDecorationAddon();

            addon.MoveToWorld(new Point3D(6232, 2887, -1), map);

            // Britain
            var door       = new TrapDoor("boreas", new Point3D(6242, 2892, 17), map);
            var book       = new MysteriousBook(door);
            var dust       = new DustPile(door);
            var teleporter = new Teleporter(new Point3D(1369, 1465, 10), map);

            door.MoveToWorld(new Point3D(1369, 1465, 10), map);
            book.MoveToWorld(new Point3D(6240, 2885, 8), map);
            dust.MoveToWorld(new Point3D(6256, 2889, 13), map);
            teleporter.MoveToWorld(new Point3D(6242, 2892, 17), map);

            new GumshoeBottles().MoveToWorld(new Point3D(6154, 2901, 6), map);
            new GumshoeBottles().MoveToWorld(new Point3D(6154, 2902, 6), map);

            new GumshoeDeed().MoveToWorld(new Point3D(6161, 2901, 6), map);

            new GumshoeRope().MoveToWorld(new Point3D(6163, 2896, 0), map);
            new GumshoeRope().MoveToWorld(new Point3D(6163, 2896, 1), map);

            new GumshoeMap().MoveToWorld(new Point3D(6166, 2895, 6), map);
            new GumshoeMap().MoveToWorld(new Point3D(6166, 2895, 7), map);

            new GumshoeTools().MoveToWorld(new Point3D(6160, 2901, 6), map);

            // Moonglow
            door       = new TrapDoor("carthax", new Point3D(6198, 2893, 17), map);
            book       = new MysteriousBook(door);
            dust       = new DustPile(door);
            teleporter = new Teleporter(new Point3D(4550, 1306, 8), map);

            door.MoveToWorld(new Point3D(4550, 1306, 8), map);
            book.MoveToWorld(new Point3D(6207, 2884, 7), map);
            dust.MoveToWorld(new Point3D(6208, 2885, 12), map);
            teleporter.MoveToWorld(new Point3D(6198, 2893, 17), map);

            new GumshoeBottles().MoveToWorld(new Point3D(6198, 2888, 6), map);

            new GumshoeRope().MoveToWorld(new Point3D(6200, 2887, 0), map);
            new GumshoeRope().MoveToWorld(new Point3D(6200, 2887, 1), map);

            new GumshoeMap().MoveToWorld(new Point3D(6198, 2887, 6), map);
            new GumshoeMap().MoveToWorld(new Point3D(6198, 2887, 7), map);

            new GumshoeTools().MoveToWorld(new Point3D(6198, 2889, 6), map);

            // Vesper
            door       = new TrapDoor("moriens", new Point3D(6154, 2898, 17), map);
            book       = new MysteriousBook(door);
            dust       = new DustPile(door);
            teleporter = new Teleporter(new Point3D(2762, 848, 0), map);

            door.MoveToWorld(new Point3D(2762, 848, 0), map);
            book.MoveToWorld(new Point3D(6167, 2896, 6), map);
            dust.MoveToWorld(new Point3D(6163, 2885, 0), map);
            teleporter.MoveToWorld(new Point3D(6154, 2898, 17), map);

            new GumshoeBottles().MoveToWorld(new Point3D(6240, 2884, 6), map);
            new GumshoeBottles().MoveToWorld(new Point3D(6239, 2885, 6), map);

            new GumshoeRope().MoveToWorld(new Point3D(6241, 2884, 0), map);
            new GumshoeRope().MoveToWorld(new Point3D(6241, 2884, 1), map);

            new GumshoeMap().MoveToWorld(new Point3D(6240, 2885, 6), map);
            new GumshoeMap().MoveToWorld(new Point3D(6240, 2885, 7), map);

            new GumshoeTools().MoveToWorld(new Point3D(6239, 2886, 6), map);

            // Yew
            door       = new TrapDoor("tenebrae", new Point3D(6294, 2891, 17), map);
            book       = new MysteriousBook(door);
            dust       = new DustPile(door);
            teleporter = new Teleporter(new Point3D(712, 1104, 0), map);

            door.MoveToWorld(new Point3D(712, 1104, 0), map);
            book.MoveToWorld(new Point3D(6294, 2887, 6), map);
            dust.MoveToWorld(new Point3D(6291, 2875, 9), map);
            teleporter.MoveToWorld(new Point3D(6294, 2891, 17), map);

            new GumshoeBottles().MoveToWorld(new Point3D(6303, 2887, 6), map);
            new GumshoeBottles().MoveToWorld(new Point3D(6304, 2887, 6), map);

            new GumshoeRope().MoveToWorld(new Point3D(6299, 2887, 0), map);
            new GumshoeRope().MoveToWorld(new Point3D(6299, 2887, 1), map);

            new GumshoeMap().MoveToWorld(new Point3D(6294, 2888, 6), map);
            new GumshoeMap().MoveToWorld(new Point3D(6294, 2888, 7), map);

            new GumshoeTools().MoveToWorld(new Point3D(6294, 2889, 6), map);

            // Gravestones
            var grave = new DamagedHeadstone(1158607); // brit

            grave.MoveToWorld(new Point3D(1378, 1445, 10), map);

            grave        = new DamagedHeadstone(1158608); // vesper
            grave.ItemID = 4477;
            grave.MoveToWorld(new Point3D(2747, 882, 0), map);

            grave = new DamagedHeadstone(1158609); // moonglow
            grave.MoveToWorld(new Point3D(4545, 1316, 8), map);

            grave = new DamagedHeadstone(1158610); // yew
            grave.MoveToWorld(new Point3D(723, 1104, 0), map);

            // footprints
            var footprints = new BloodyFootPrints(0x1E06);

            footprints.MoveToWorld(new Point3D(1383, 1452, 10), map);

            footprints = new BloodyFootPrints(0x1E06);
            footprints.MoveToWorld(new Point3D(1383, 1456, 10), map);

            footprints = new BloodyFootPrints(0x1E06);
            footprints.MoveToWorld(new Point3D(1383, 1461, 10), map);

            footprints = new BloodyFootPrints(0x1E06);
            footprints.MoveToWorld(new Point3D(1383, 1464, 10), map);

            footprints = new BloodyFootPrints(0x1E03);
            footprints.MoveToWorld(new Point3D(1378, 1464, 10), map);

            var st = new Static(0x2006);

            st.Stackable = true;
            st.Amount    = 0x191;
            st.Hue       = 0x47E;
            st.MoveToWorld(new Point3D(5808, 3270, -15), map);
            st.Name = "A Corpse of Liane";

            st           = new Static(0x2006);
            st.Stackable = true;
            st.Amount    = 86;
            st.Hue       = 0x47E;
            st.MoveToWorld(new Point3D(5807, 3268, -15), map);
            st.Name = "A Corpse of an Ophidian Beserker";
        }
Exemplo n.º 5
0
 public TrapDoorPrompt(TrapDoor door)
 {
     Door = door;
 }
Exemplo n.º 6
0
 public MysteriousBook(TrapDoor door)
     : base(0xFF2)
 {
     Movable = false;
     Door    = door;
 }