Class SayTimeRemainingUntilTimeReachedAction

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

@Dev(category=TIME, label="\"...\"") public class SayTimeRemainingUntilTimeReachedAction extends Object implements ChatAction
Tells the time remaining from current system time to a timestamp stored in a quest slot
Author:
omero
See Also:
TimeReachedCondition, SetQuestToFutureRandomTimeStampAction
  • Constructor Details

    • SayTimeRemainingUntilTimeReachedAction

      public SayTimeRemainingUntilTimeReachedAction(String questname, String message)
      Creates a new SayTimeRemainingUntilTimeReachedAction.
      Parameters:
      questname - quest slot to check
      message - what to say before stating the approximated remaining time
    • SayTimeRemainingUntilTimeReachedAction

      @Dev public SayTimeRemainingUntilTimeReachedAction(String questname, @Dev(defaultValue="1") int index, String message)
      Creates a new SayTimeRemainingUntilTimeReachedAction.
      Parameters:
      questname - quest slot to check
      index - index of sub state
      message - what to say before saying the approximated remaining time
  • Method Details