* Example: "Requires Catacombs Skill 10 while in The Catacombs"
*
* @return lore line for this requirement
*/
public String buildLoreLine() {
String line;
if (type.equals("DUNGEON_SKILL")) {
String readableDungeonType = WordUtils.capitalizeFully(dungeonType);
line =
"§7§4❣ §cRequires " + readableDungeonType + " Skill " + EnumChatFormatting.GREEN + level +
"\n" + EnumChatFormatting.RED + "while in The " + readableDungeonType +
".";
} else {
line = "Unexpected Requirement: " + type;
}
return line;
}
}
/**
* Simple dataclass holding an x and y value to be used when describing the location of something to be rendered
*/
@Getter
private static class RenderLocation {
private final int x;
private final int y;
public RenderLocation(int x, int y) {
this.x = x;
this.y = y;
}
}
/**
* Dataclass holding information about the items and essence required to upgrade an item to a specific tier
*/
@Getter
public static class TierUpgrade {
private final int tier;
private final String essenceType;
private final int essenceRequired;
private Map