Package games.stendhal.server.entity.npc

Examples of games.stendhal.server.entity.npc.ChatCondition


            }
        });
        removeSheepAction.add(new SetQuestAction(QUEST_SLOT, "handed_over"));

        // Hand-Over condition
        ChatCondition playerHasFullWeightSheep = new ChatCondition() {
            public boolean fire(Player player, Sentence sentence, Entity npc) {
                return player.hasSheep()
                    && player.getSheep().getWeight() >= Sheep.MAX_WEIGHT;
            }
        };
View Full Code Here

TOP

Related Classes of games.stendhal.server.entity.npc.ChatCondition

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.