public override void AddComponents() { Visible = false; AddItem(new Static(0x10ee), 0, 0, 0); AddItem(new Static(0xfac), 0, 6, 0); switch (Utility.Random(3)) { case 0: { AddItem(new Item(0xDE3), 0, 6, 0); // Campfire AddItem(new Item(0x974), 0, 6, 1); // Cauldron break; } case 1: { AddItem(new Item(0x1E95), 0, 6, 1); // Rabbit on a spit break; } default: { AddItem(new Item(0x1E94), 0, 6, 1); // Chicken on a spit break; } } AddItem(new Item(0x41F), 5, 5, 0); // Gruesome Standart South AddCampChests(); for (int i = 0; i < 4; i++) { AddMobile(Ratmen, Utility.RandomMinMax(-7, 7), Utility.RandomMinMax(-7, 7), 0); } switch (Utility.Random(2)) { case 0: Prisoner = new EscortableNoble(); break; default: Prisoner = new EscortableSeekerOfAdventure(); break; } Prisoner.IsPrisoner = true; Prisoner.CantWalk = true; Prisoner.YellHue = Utility.RandomList(0x57, 0x67, 0x77, 0x87, 0x117); AddMobile(Prisoner, Utility.RandomMinMax(-2, 2), Utility.RandomMinMax(-2, 2), 0); }
public override void AddComponents() { IronGate gate = new IronGate(DoorFacing.EastCCW); m_Gate = gate; gate.KeyValue = Key.RandomValue(); gate.Locked = true; AddItem(gate, -2, 1, 0); AddCampChests(); switch (Utility.Random(4)) { case 0: { AddMobile(new Orc(), 0, -2, 0); AddMobile(new OrcishMage(), 0, 1, 0); AddMobile(new OrcishLord(), 0, -2, 0); AddMobile(new OrcCaptain(), 0, 1, 0); AddMobile(new Orc(), 0, -1, 0); AddMobile(new OrcChopper(), 0, -2, 0); } break; case 1: { AddMobile(new Ratman(), 0, -2, 0); AddMobile(new Ratman(), 0, 1, 0); AddMobile(new RatmanMage(), 0, -2, 0); AddMobile(new Ratman(), 0, 1, 0); AddMobile(new RatmanArcher(), 0, -1, 0); AddMobile(new Ratman(), 0, -2, 0); } break; case 2: { AddMobile(new Lizardman(), 0, -2, 0); AddMobile(new Lizardman(), 0, 1, 0); AddMobile(new Lizardman(), 0, -2, 0); AddMobile(new Lizardman(), 0, 1, 0); AddMobile(new Lizardman(), 0, -1, 0); AddMobile(new Lizardman(), 0, -2, 0); } break; case 3: { AddMobile(new Brigand(), 0, -2, 0); AddMobile(new Brigand(), 0, 1, 0); AddMobile(new Brigand(), 0, -2, 0); AddMobile(new Brigand(), 0, 1, 0); AddMobile(new Brigand(), 0, -1, 0); AddMobile(new Brigand(), 0, -2, 0); } break; } switch (Utility.Random(2)) { case 0: Prisoner = new EscortableNoble(); break; case 1: Prisoner = new EscortableSeekerOfAdventure(); break; } Prisoner.IsPrisoner = true; Prisoner.CantWalk = true; Prisoner.YellHue = Utility.RandomList(0x57, 0x67, 0x77, 0x87, 0x117); AddMobile(Prisoner, -2, 0, 0); }