Package marauroa.common.game

Examples of marauroa.common.game.RPClass.addAttribute()


    player.addAttribute("grumpy", Type.LONG_STRING, Definition.VOLATILE);

    // Use this for admin menus and usage.
    player.addAttribute("admin", Type.FLAG);
    player.addAttribute("adminlevel", Type.INT);
    player.addAttribute("invisible", Type.FLAG, Definition.HIDDEN);
    player.addAttribute("ghostmode", Type.FLAG);
    player.addAttribute("teleclickmode", Type.FLAG, Definition.HIDDEN);

    player.addAttribute("release", Type.STRING, Definition.PRIVATE);
View Full Code Here


    // Use this for admin menus and usage.
    player.addAttribute("admin", Type.FLAG);
    player.addAttribute("adminlevel", Type.INT);
    player.addAttribute("invisible", Type.FLAG, Definition.HIDDEN);
    player.addAttribute("ghostmode", Type.FLAG);
    player.addAttribute("teleclickmode", Type.FLAG, Definition.HIDDEN);

    player.addAttribute("release", Type.STRING, Definition.PRIVATE);

    player.addAttribute("age", Type.INT, Definition.HIDDEN);
View Full Code Here

    // Use this for admin menus and usage.
    player.addAttribute("admin", Type.FLAG);
    player.addAttribute("adminlevel", Type.INT);
    player.addAttribute("invisible", Type.FLAG, Definition.HIDDEN);
    player.addAttribute("ghostmode", Type.FLAG);
    player.addAttribute("teleclickmode", Type.FLAG, Definition.HIDDEN);

    player.addAttribute("release", Type.STRING, Definition.PRIVATE);

    player.addAttribute("age", Type.INT, Definition.HIDDEN);
View Full Code Here

    player.addAttribute("adminlevel", Type.INT);
    player.addAttribute("invisible", Type.FLAG, Definition.HIDDEN);
    player.addAttribute("ghostmode", Type.FLAG);
    player.addAttribute("teleclickmode", Type.FLAG, Definition.HIDDEN);

    player.addAttribute("release", Type.STRING, Definition.PRIVATE);

    player.addAttribute("age", Type.INT, Definition.HIDDEN);

    // Store sheep at DB
    player.addRPSlot("#flock", 1, Definition.HIDDEN);
View Full Code Here

    player.addAttribute("ghostmode", Type.FLAG);
    player.addAttribute("teleclickmode", Type.FLAG, Definition.HIDDEN);

    player.addAttribute("release", Type.STRING, Definition.PRIVATE);

    player.addAttribute("age", Type.INT, Definition.HIDDEN);

    // Store sheep at DB
    player.addRPSlot("#flock", 1, Definition.HIDDEN);
    player.addAttribute("sheep", Type.INT);
View Full Code Here

    player.addAttribute("age", Type.INT, Definition.HIDDEN);

    // Store sheep at DB
    player.addRPSlot("#flock", 1, Definition.HIDDEN);
    player.addAttribute("sheep", Type.INT);

    // Store pets at DB
    player.addRPSlot("#pets", 1, Definition.HIDDEN);
    player.addAttribute("pet", Type.INT);
    player.addAttribute("cat", Type.INT);
View Full Code Here

    player.addRPSlot("#flock", 1, Definition.HIDDEN);
    player.addAttribute("sheep", Type.INT);

    // Store pets at DB
    player.addRPSlot("#pets", 1, Definition.HIDDEN);
    player.addAttribute("pet", Type.INT);
    player.addAttribute("cat", Type.INT);
    player.addAttribute("baby_dragon", Type.INT);

    // Bank system
    player.addRPSlot("bank", 30, Definition.HIDDEN);
View Full Code Here

    player.addAttribute("sheep", Type.INT);

    // Store pets at DB
    player.addRPSlot("#pets", 1, Definition.HIDDEN);
    player.addAttribute("pet", Type.INT);
    player.addAttribute("cat", Type.INT);
    player.addAttribute("baby_dragon", Type.INT);

    // Bank system
    player.addRPSlot("bank", 30, Definition.HIDDEN);
    player.addRPSlot("bank_ados", 30, Definition.HIDDEN);
View Full Code Here

    // Store pets at DB
    player.addRPSlot("#pets", 1, Definition.HIDDEN);
    player.addAttribute("pet", Type.INT);
    player.addAttribute("cat", Type.INT);
    player.addAttribute("baby_dragon", Type.INT);

    // Bank system
    player.addRPSlot("bank", 30, Definition.HIDDEN);
    player.addRPSlot("bank_ados", 30, Definition.HIDDEN);
    player.addRPSlot("zaras_chest_ados", 30, Definition.HIDDEN);
View Full Code Here

    // Kills recorder - needed for quest
    player.addRPSlot("!kills", 1, Definition.HIDDEN);

    // Count looted items
    player.addAttribute("looted_items", Type.MAP, Definition.HIDDEN);

    // We use this for the buddy system
    player.addRPSlot("!buddy", 1, Definition.PRIVATE);
    // using additionally a proof of concept for buddies here
    player.addAttribute("buddies", Type.MAP, Definition.PRIVATE);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.