Package games.stendhal.server.entity.npc.behaviour.impl

Examples of games.stendhal.server.entity.npc.behaviour.impl.OutfitChangerBehaviour


          "Please tell me which outfit you would like, ask to #hire #glasses, #hire a #goblin #face, #hire a #thing #face, #hire a #purple #slime outfit, #hire a #green #slime, #hire a #red #slime, #hire a #blue #slime, or #hire a #gingerbread #man outfit.",
          new ExamineChatAction("outfits2.png", "Outfits", "Price varies"));
        addJob("I work with magic in a fun way! Ask about the #offer.");
        addHelp("I can cast a spell to dress you in a magical outfit. They wear off after some time. I hope I can #offer you something you like. If not Liliana also rents out from a different range.");
        addGoodbye("Bye!");
        final OutfitChangerBehaviour behaviour = new SpecialOutfitChangerBehaviour(priceList, endurance, "Your magical outfit has worn off.");
        new OutfitChangerAdder().addOutfitChanger(this, behaviour, "hire", false, false);
      }
    };

    npc.setEntityClass("wizardwomannpc");
View Full Code Here


          new ExamineChatAction("outfits.png", "Outfits", "Price varies"));
        addJob("I work in this clothes boutique. It's no ordinary shop, we use magic to put our clients into fantastic outfits. Ask about the #offer.");
        // addJob("I normally work in a clothes boutique, we use magic to put our clients into fantastic outfits. I'm here for Semos Mine Town Revival Weeks, where we #offer our outfits at greatly reduced prices, but they last for less time!");
        addHelp("Our hired outfits wear off after some time, but you can always come back for more!");
        addGoodbye("Bye!");
        final OutfitChangerBehaviour behaviour = new SpecialOutfitChangerBehaviour(priceList, endurance, "Your magical outfit has worn off.");
        new OutfitChangerAdder().addOutfitChanger(this, behaviour, "hire", false, false);
      }
    };

    npc.setEntityClass("slim_woman_npc");
View Full Code Here

        addHelp("Just tell me if you want to #'borrow a swimsuit'!");
        addGoodbye("Have fun!");

        final Map<String, Integer> priceList = new HashMap<String, Integer>();
        priceList.put("swimsuit", 5);
        final OutfitChangerBehaviour behaviour = new OutfitChangerBehaviour(priceList);
        new OutfitChangerAdder().addOutfitChanger(this, behaviour, "borrow");

        // stuff needed for the SuntanCreamForZara quest
        // (uses sorted TreeMap instead of HashMap)
        final Map<String, Integer> requiredResources = new TreeMap<String, Integer>();
View Full Code Here

        final Map<String, Integer> priceList = new HashMap<String, Integer>();
        priceList.put("mask", 20);
        // wears off in 12000 turns = 60 minutes
        // if you change it change her Help message too please
        final OutfitChangerBehaviour behaviour = new OutfitChangerBehaviour(priceList, 12000, "Your mask has worn off.");
        new OutfitChangerAdder().addOutfitChanger(this, behaviour, "buy");
      }
    };

    npc.setEntityClass("woman_008_npc");
View Full Code Here

        addHelp("Just tell me if you want to #borrow #trunks!");
        addGoodbye("Have fun!");

        final Map<String, Integer> priceList = new HashMap<String, Integer>();
        priceList.put("trunks", 5);
        final OutfitChangerBehaviour behaviour = new OutfitChangerBehaviour(priceList);
        new OutfitChangerAdder().addOutfitChanger(this, behaviour, "borrow");

        // stuff needed for the SuntanCreamForZara quest
        // (uses sorted TreeMap instead of HashMap)
        final Map<String, Integer> requiredResources = new TreeMap<String, Integer>();
View Full Code Here

        addQuest("You should probably be thinking about your wedding.");
        addGoodbye("Good bye, I hope everything goes well for you.");

        final Map<String, Integer> priceList = new HashMap<String, Integer>();
        priceList.put("suit", 50);
        final OutfitChangerBehaviour behaviour = new OutfitChangerBehaviour(priceList);
        new OutfitChangerAdder().addOutfitChanger(this, behaviour, "wear");
      }
    };

    npc.setEntityClass("executivenpc");
View Full Code Here

        addReply("gown", "Every bride needs a beautiful wedding dress! It's a charge of 100 money if you want to #wear a #gown.");
        addGoodbye("Have a lovely time!");

        final Map<String, Integer> priceList = new HashMap<String, Integer>();
        priceList.put("gown", 100);
        final OutfitChangerBehaviour behaviour = new OutfitChangerBehaviour(priceList);
        new OutfitChangerAdder().addOutfitChanger(this, behaviour, "wear");
      }
    };

    npc.setEntityClass("woman_003_npc");
View Full Code Here

TOP

Related Classes of games.stendhal.server.entity.npc.behaviour.impl.OutfitChangerBehaviour

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.