Class SayTimeRemainingAction

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

@Dev(category=TIME, label="\"...\"") public class SayTimeRemainingAction extends Object implements ChatAction
Tells the time remaining between the timestamp on quest slot + delay time, and now.
See Also:
TimePassedCondition, *
  • Constructor Details

    • SayTimeRemainingAction

      @Dev public SayTimeRemainingAction(String questname, @Dev(defaultValue="1") int index, int delay, String message)
      Creates a new SayTimeRemainingAction.
      Parameters:
      questname - name of quest-slot to check
      index - index of sub state
      delay - delay in minutes
      message - message to come before statement of remaining time
    • SayTimeRemainingAction

      public SayTimeRemainingAction(String questname, int delay, String message)
      Creates a new SayTimeRemainingAction.
      Parameters:
      questname - name of quest-slot to check
      delay - delay in minutes
      message - message to come before statement of remaining time
    • SayTimeRemainingAction

      @Dev public SayTimeRemainingAction(String questname, @Dev(defaultValue="1") int index, int delay, String message, String secondMessage)
      Parameters:
      questname - Name of quest slot to check.
      index - Index of sub-state.
      delay - Delay in minutes.
      message - Message to come before statement of remaining time.
      secondMessage - Message to come after statement of remaining time.
    • SayTimeRemainingAction

      public SayTimeRemainingAction(String questname, int delay, String message, String secondMessage)
      Parameters:
      questname - Name of quest slot to check.
      delay - Delay in minutes.
      message - Message to come before statement of remaining time.
      secondMessage - Message to come after statement of remaining time.
  • Method Details