Class SayRequiredItemsFromCollectionAction
java.lang.Object
games.stendhal.server.entity.npc.action.SayRequiredItemsFromCollectionAction
- All Implemented Interfaces:
ChatAction
,PostTransitionAction
@Dev(category=ITEMS_OWNED,
label="\"...\"")
public class SayRequiredItemsFromCollectionAction
extends Object
implements ChatAction
States the name of the items missing from a quest slot with items like item=amount;item2=amount2;item3=amount3
- See Also:
CollectRequestedItemsAction
-
Constructor Summary
ConstructorDescriptionSayRequiredItemsFromCollectionAction(String questname, int index, String message)
Creates a new SayRequiredItemssFromCollectionAction.SayRequiredItemsFromCollectionAction(String questname, int index, String message, boolean commaString)
SayRequiredItemsFromCollectionAction(String questname, String message)
Creates a new SayRequiredItemssFromCollectionAction.SayRequiredItemsFromCollectionAction(String questname, String message, boolean commaString)
-
Method Summary
-
Constructor Details
-
SayRequiredItemsFromCollectionAction
Creates a new SayRequiredItemssFromCollectionAction.- Parameters:
questname
- name of quest-slot to checkmessage
- message with substitution [items] for the list of items
-
SayRequiredItemsFromCollectionAction
Creates a new SayRequiredItemssFromCollectionAction.- Parameters:
questname
- name of quest-slot to checkindex
- index of sub statemessage
- message with substitution [items] for the list of items
-
SayRequiredItemsFromCollectionAction
-
SayRequiredItemsFromCollectionAction
-
-
Method Details
-
fire
Description copied from interface:PostTransitionAction
does some action after a transition.- Specified by:
fire
in interfaceChatAction
- Specified by:
fire
in interfacePostTransitionAction
- Parameters:
player
- player who caused the transitionsentence
- text he/she saidraiser
- the NPC doing the transition
-
toString
-
hashCode
public int hashCode() -
equals
-