1package com.runehive.content.bot;
3import com.runehive.content.tittle.PlayerTitle;
4import com.runehive.game.world.World;
5import com.runehive.game.world.entity.mob.player.Player;
6import com.runehive.game.world.entity.mob.player.appearance.Appearance;
7import com.runehive.game.world.entity.mob.player.appearance.Gender;
8import com.runehive.game.world.items.Item;
9import com.runehive.util.MutableNumber;
10import com.runehive.util.Utility;
21 public static Map<Integer, MutableNumber>
BOOT_LOOT =
new HashMap<>();
55 public static final Appearance APPEARANCE =
new Appearance(
Gender.
MALE,
Utility.
random(0, 8),
Utility.
random(10, 17),
Utility.
random(18, 25),
Utility.
random(26, 31),
Utility.
random(33, 34),
Utility.
random(36, 40),
Utility.
random(42, 43), 7, 8, 9, 5, 0);
59 "Time to kick ass and take names!",
60 "I am the eco cleaner and cleanse I shall!",
61 "Time to make my daddy, Daniel proud!"
68 "Let's see what you got"
95 "Ugh.. Developers needs to make me stronger!"
105 List<String> names =
new ArrayList<>(
BOT_NAMES.length);
112 if (
bot.getName().equalsIgnoreCase(nameList)) {
113 names.remove(nameList);
Holds all the constants used by bot.
static final String[] FIGHT_START_MESSAGES
Array of all the possible fight start message.
static final String[] BOT_NAMES
List of all available bot names.
static final String[] FIGHT_END_MESSAGES
Array of all the possible fight end message.
static final String[] DEATH_MESSAGES
Array of all the possible death message.
static final Appearance APPEARANCE
The default bot appearance.
static final String[] GEAR_UP_MESSAGES
Array of all the possible fight start message.
static List< String > getAvailableBotNames()
Generates a list of all available names.
static void logLoot(Item item)
static Map< Integer, MutableNumber > BOOT_LOOT
static final String[] KILLED_MESSAGES
Array of all the possible fight start message.
static String nameGenerator()
Generates a random bot named based on the available names.
static final PlayerTitle TITLE
The default bot title.
static PlayerTitle create(String title, int color)
Creates a player title.
Represents the game world.
static MobList< Player > getPlayers()
This class represents a character controlled by a player.
Represents a Players appearance.
The container class that represents an item that can be interacted with.
final int getId()
Gets the identification of this item.
final int getAmount()
Gets the quantity of this item.
The container class that contains functions to simplify the modification of a number.
int incrementAndGet(int amount, int maximum)
Increments the value within this counter by amount to a maximum of maximum and then returns it.
Handles miscellaneous methods.
static int random(int bound)
static< T > T randomElement(Collection< T > collection)
Picks a random element out of any array type.
Represents a gender for a player character.