Class TutorialStep
java.lang.Object
games.stendhal.server.maps.quests.tutorial.TutorialStep
- Direct Known Subclasses:
PrepareStepChat,PrepareStepCombat,PrepareStepFinal,PrepareStepItems,PrepareStepNPCs,PrepareStepOffer,PrepareStepPets,PrepareStepQuests,PrepareStepRules
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ChatActiondelayMessage(int delay, String msg) Creates a chat action that has NPC say a phrase after a set number of turns has passed.static voiddismantleIsland(Player player) abstract voidstatic voidsetAttributes(String slot, String basename)
-
Field Details
-
SLOT
-
tutorBasename
-
ST_RULES
- See Also:
-
ST_NPCS
- See Also:
-
ST_CHAT
- See Also:
-
ST_ITEMS
- See Also:
-
ST_COMBAT
- See Also:
-
ST_QUESTS
- See Also:
-
ST_PETS
- See Also:
-
ST_FINAL
- See Also:
-
-
Constructor Details
-
TutorialStep
public TutorialStep()
-
-
Method Details
-
init
-
setAttributes
-
delayMessage
Creates a chat action that has NPC say a phrase after a set number of turns has passed.- Parameters:
delay- Number of turns to wait.msg- The phrase that the NPC will say.- Returns:
- New ChatAction instance.
-
dismantleIsland
-