-
-
Field Summary
Fields inherited from interface games.stendhal.server.maps.quests.piedpiper.ITPPQuestConstants
AWAITING, AWAITING_TIME_MAX, AWAITING_TIME_MIN, CHILDRENS, CHILDRENS_TIME_MAX, CHILDRENS_TIME_MIN, FINAL, FINAL_TIME_MAX, FINAL_TIME_MIN, INACTIVE, INACTIVE_TIME_MAX, INACTIVE_TIME_MIN, INVASION, INVASION_TIME_MAX, INVASION_TIME_MIN, OUTGOING, OUTGOING_TIME_MAX, OUTGOING_TIME_MIN, QUEST_SLOT, RAT_REWARDS, RAT_TYPES, RAT_ZONES, SHOUT_TIME
-
Method Summary
int
return maximal timeout period for quest phase
int
return minimal timeout period for quest phase
function return shout message when quest going to default phase
function return shout message when quest going to next phase
void
function will reset quest state to default phase (INACTIVE).
void
Function will change phase to next phase.
void
function will perform necessary actions at phase start
-
Method Details
-
phaseToNextPhase
Function will change phase to next phase.
- Parameters:
nextPhase
-
comments
-
-
phaseToDefaultPhase
function will reset quest state to default phase (INACTIVE).
- Parameters:
comments
-
-
getSwitchingToNextPhaseMessage
String getSwitchingToNextPhaseMessage()
function return shout message when quest going to next phase
- Returns:
- next phase message
-
getSwitchingToDefPhaseMessage
String getSwitchingToDefPhaseMessage()
function return shout message when quest going to default phase
- Returns:
- default phase message
-
getMinTimeOut
int getMinTimeOut()
return minimal timeout period for quest phase
- Returns:
- minimum timeout
-
getMaxTimeOut
int getMaxTimeOut()
return maximal timeout period for quest phase
- Returns:
- maximum timeout
-
getPhase
Get the current phase.
- Returns:
- quest phase
-
prepare
void prepare()
function will perform necessary actions at phase start