public override void Accept() { base.Accept(); AddConversation( new GenericConversation("Ok cool, go for it, kill the bunnies and be back for your reward") ); AddObjective(new KillBunniesObjective()); /* Create the rabbits */ Point3D pt = From.Location, rabbitpos = new Point3D(); int i; for (i = 0; i < 5; i++) { rabbitpos.X = pt.X + Utility.Random(6) - 3; rabbitpos.Y = pt.Y + Utility.Random(6) - 3; rabbitpos.Z = pt.Z; BobsRabbit br = new BobsRabbit(); br.Home = pt; br.RangeHome = 4; br.MoveToWorld(rabbitpos, Map.Trammel); } LoggedQuestSystem.questAccepted(From, (string)Name); }
public override void Accept() { base.Accept(); AddConversation( new GenericConversation("Fabulous, kill 5 rats and be sure to come back!") ); AddObjective(new AlfredsKillsObjective()); LoggedQuestSystem.questAccepted(From, (string)Name); }