Class SetQuestToYearAction

java.lang.Object
games.stendhal.server.entity.npc.action.SetQuestToYearAction
All Implemented Interfaces:
ChatAction, PostTransitionAction

@Dev(category=TIME, label="State") public class SetQuestToYearAction extends Object implements ChatAction
Sets the state of a quest to the current year.
  • Constructor Details

    • SetQuestToYearAction

      public SetQuestToYearAction(String questname)
      Creates a new SetQuestToYearAction.
      Parameters:
      questname - name of quest-slot to change
    • SetQuestToYearAction

      @Dev public SetQuestToYearAction(String questname, @Dev(defaultValue="1") int index)
      Creates a new SetQuestToYearAction.
      Parameters:
      questname - name of quest-slot to change
      index - index of sub state
  • Method Details