Class TheMissingBooks

java.lang.Object
games.stendhal.server.maps.quests.AbstractQuest
games.stendhal.server.maps.quests.TheMissingBooks
All Implemented Interfaces:
IQuest

public class TheMissingBooks extends AbstractQuest
QUEST: Quest to get a recipe for a potion for Imorgen

PARTICIPANTS:

  • Cameron
STEPS:
  • The librarian, Cameron, of Constantines Villa needs to find some books.
  • There are seven books missing in the library shelves.
  • Cameron knows the beginning of a sentence out of each book he is searching for.
  • You have to find the book and tell Cameron the rest of the sentence. He chooses the book randomly.
  • He knows then that you found the book and that these aren't lost.
  • You'll reward you for your efforts.
REWARD:
  • A recipe which Imorgen needs for her potion
REPETITIONS:
  • no repetitions
Author:
storyteller and bluelads4
  • Constructor Details

    • TheMissingBooks

      public TheMissingBooks()
  • Method Details

    • getSlotName

      public String getSlotName()
      Description copied from class: AbstractQuest
      The slot-name in !quests.
      Specified by:
      getSlotName in interface IQuest
      Specified by:
      getSlotName in class AbstractQuest
      Returns:
      the slot's name
    • getHistory

      public List<String> getHistory(Player player)
      Description copied from interface: IQuest
      Gets a the quest history for the given player, written in the first person.
      Parameters:
      player - Player
      Returns:
      list of history item-names
    • addToWorld

      public void addToWorld()
      Description copied from interface: IQuest
      adds the quest to the game world (e.g. by placing SpeakerNPCs there)
      Specified by:
      addToWorld in interface IQuest
      Specified by:
      addToWorld in class AbstractQuest
    • getName

      public String getName()
      Description copied from interface: IQuest
      Returns the name of the quest.
      Specified by:
      getName in interface IQuest
      Specified by:
      getName in class AbstractQuest
      Returns:
      name
    • getNPCName

      public String getNPCName()
      Description copied from class: AbstractQuest
      Returns the starter NPC for the quest, or null if there is none
      Specified by:
      getNPCName in interface IQuest
      Overrides:
      getNPCName in class AbstractQuest
      Returns:
      NPC name, or null for quests with no starter NPC