Class QuestCompletedSellerBehaviour
java.lang.Object
games.stendhal.common.grammar.ItemParser
games.stendhal.server.entity.npc.behaviour.impl.Behaviour
games.stendhal.server.entity.npc.behaviour.impl.TransactionBehaviour
games.stendhal.server.entity.npc.behaviour.impl.MerchantBehaviour
games.stendhal.server.entity.npc.behaviour.impl.SellerBehaviour
games.stendhal.server.entity.npc.behaviour.impl.QuestCompletedSellerBehaviour
-
Field Summary
Fields inherited from class games.stendhal.server.entity.npc.behaviour.impl.SellerBehaviour
BAD_BOY_BUYING_PENALTY
Fields inherited from class games.stendhal.server.entity.npc.behaviour.impl.MerchantBehaviour
priceCalculator
Fields inherited from class games.stendhal.common.grammar.ItemParser
itemNames
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiona chat action that is executed in case transaction are not possiblea chat condition that checks whether transactions are possible at allMethods inherited from class games.stendhal.server.entity.npc.behaviour.impl.SellerBehaviour
getAskedItem, getAskedItem, transactAgreedDeal, updatePlayerTransactions
Methods inherited from class games.stendhal.server.entity.npc.behaviour.impl.MerchantBehaviour
dealtItems, getCharge, getUnitPrice, hasItem
Methods inherited from class games.stendhal.common.grammar.ItemParser
getErrormessage, getItemNames, parse
-
Constructor Details
-
QuestCompletedSellerBehaviour
-
-
Method Details
-
getTransactionCondition
Description copied from class:Behaviour
a chat condition that checks whether transactions are possible at all- Overrides:
getTransactionCondition
in classBehaviour
- Returns:
- ChatCondition
-
getRejectedTransactionAction
Description copied from class:Behaviour
a chat action that is executed in case transaction are not possible- Overrides:
getRejectedTransactionAction
in classBehaviour
- Returns:
- ChatAction
-