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

Examples of games.stendhal.server.entity.npc.behaviour.adder.OutfitChangerAdder


          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");
    npc.setPosition(5, 7);
View Full Code Here


        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");
    npc.setPosition(16, 5);
View Full Code Here

        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>();
        requiredResources.put("arandula", 1);
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");
    npc.setPosition(x, y);
View Full Code Here

        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>();
        requiredResources.put("arandula", 1);
View Full Code Here

        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");
    npc.setPosition(20, 10);
View Full Code Here

        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");
    npc.setDirection(Direction.RIGHT);
View Full Code Here

TOP

Related Classes of games.stendhal.server.entity.npc.behaviour.adder.OutfitChangerAdder

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.