@@ -129,6 +129,14 @@ class ItemChargeOverlay extends WidgetItemOverlay
 			}
 			charges = plugin.getChronicle();
 		}
+		else if (itemId == ItemID.KHAREDSTS_MEMOIRS)
+		{
+			if (!plugin.isShowKharedstsMemoirs())
+			{
+				return;
+			}
+			charges = plugin.getKharedstsMemoirs();
+		}
 		else if (itemId >= ItemID.EXPLORERS_RING_1 && itemId <= ItemID.EXPLORERS_RING_4)
 		{
 			if (!plugin.isShowExplorerRingCharges())
/*
 * Copyright (c) 2017, Seth <Sethtroll3@gmail.com>
 * Copyright (c) 2019, Aleios <https://github.com/aleios>
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * 1. Redistributions of source code must retain the above copyright notice, this
 *    list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright notice,
 *    this list of conditions and the following disclaimer in the documentation
 *    and/or other materials provided with the distribution.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
package net.runelite.client.plugins.itemcharges;

import java.awt.Graphics2D;
import java.awt.Point;
import java.awt.Rectangle;
import javax.inject.Inject;
import javax.inject.Singleton;
import net.runelite.api.ItemID;
import net.runelite.api.widgets.WidgetItem;
import static net.runelite.client.plugins.itemcharges.ItemChargeType.ABYSSAL_BRACELET;
import static net.runelite.client.plugins.itemcharges.ItemChargeType.BELLOWS;
import static net.runelite.client.plugins.itemcharges.ItemChargeType.FRUIT_BASKET;
import static net.runelite.client.plugins.itemcharges.ItemChargeType.FUNGICIDE_SPRAY;
import static net.runelite.client.plugins.itemcharges.ItemChargeType.IMPBOX;
import static net.runelite.client.plugins.itemcharges.ItemChargeType.SACK;
import static net.runelite.client.plugins.itemcharges.ItemChargeType.TELEPORT;
import static net.runelite.client.plugins.itemcharges.ItemChargeType.WATERCAN;
import static net.runelite.client.plugins.itemcharges.ItemChargeType.WATERSKIN;
import net.runelite.client.ui.FontManager;
import net.runelite.client.ui.overlay.WidgetItemOverlay;
import net.runelite.client.ui.overlay.components.TextComponent;

@Singleton
class ItemChargeOverlay extends WidgetItemOverlay
{
	private final ItemChargePlugin plugin;

	@Inject
	ItemChargeOverlay(final ItemChargePlugin itemChargePlugin)
	{
		this.plugin = itemChargePlugin;
		showOnInventory();
		showOnEquipment();
	}

	@Override
	public void renderItemOverlay(Graphics2D graphics, int itemId, WidgetItem itemWidget)
	{
		if (!displayOverlay())
		{
			return;
		}

		graphics.setFont(FontManager.getRunescapeSmallFont());

		int charges;
		if (itemId == ItemID.DODGY_NECKLACE)
		{
			if (!plugin.isShowDodgyCount())
			{
				return;
			}

			charges = plugin.getDodgyNecklace();
		}
		else if (itemId == ItemID.BRACELET_OF_SLAUGHTER)
		{
			if (!plugin.isShowSlayerBracelets())
			{
				return;
			}

			charges = plugin.getSlaughter();
		}
		else if (itemId == ItemID.EXPEDITIOUS_BRACELET)
		{
			if (!plugin.isShowSlayerBracelets())
			{
				return;
			}

			charges = plugin.getExpeditious();
		}
		else if (itemId == ItemID.BINDING_NECKLACE)
		{
			if (!plugin.isShowBindingNecklaceCharges())
			{
				return;
			}

			charges = plugin.getBindingNecklace();
		}
		else if (itemId == ItemID.XERICS_TALISMAN)
		{
			if (!plugin.isShowXericTalismanCharges())
			{
				return;
			}
			charges = plugin.getXericTalisman();
		}
		else if (itemId == ItemID.SOUL_BEARER)
		{
			if (!plugin.isShowSoulBearerCharges())
			{
				return;
			}
			charges = plugin.getSoulBearer();
		}
		else if (itemId == ItemID.CHRONICLE)
		{
			if (!plugin.isShowChronicleCharges())
			{
				return;
			}
			charges = plugin.getChronicle();
		}
		else if (itemId >= ItemID.EXPLORERS_RING_1 && itemId <= ItemID.EXPLORERS_RING_4)
		{
			if (!plugin.isShowExplorerRingCharges())
			{
				return;
			}

			charges = plugin.getExplorerRing();
		}
		else if (itemId == ItemID.RING_OF_FORGING)
		{
			if (!plugin.isShowRingOfForgingCount())
			{
				return;
			}

			charges = plugin.getRingOfForging();
		}
		else
		{
			ItemWithCharge chargeItem = ItemWithCharge.findItem(itemId);
			if (chargeItem == null)
			{
				return;
			}

			ItemChargeType type = chargeItem.getType();
			if ((type == TELEPORT && !plugin.isShowTeleportCharges())
				|| (type == FUNGICIDE_SPRAY && !plugin.isShowFungicideCharges())
				|| (type == IMPBOX && !plugin.isShowImpCharges())
				|| (type == WATERCAN && !plugin.isShowWateringCanCharges())
				|| (type == WATERSKIN && !plugin.isShowWaterskinCharges())
				|| (type == BELLOWS && !plugin.isShowBellowCharges())
				|| (type == FRUIT_BASKET && !plugin.isShowBasketCharges())
				|| (type == SACK && !plugin.isShowSackCharges())
				|| (type == ABYSSAL_BRACELET && !plugin.isShowAbyssalBraceletCharges()))
			{
				return;
			}

			charges = chargeItem.getCharges();
		}

		final Rectangle bounds = itemWidget.getCanvasBounds();
		final TextComponent textComponent = new TextComponent();
		textComponent.setPosition(new Point(bounds.x - 1, bounds.y + 15));
		textComponent.setText(charges < 0 ? "?" : String.valueOf(charges));
		textComponent.setColor(plugin.getColor(charges));
		textComponent.render(graphics);
	}

	private boolean displayOverlay()
	{
		return plugin.isShowTeleportCharges() || plugin.isShowDodgyCount() || plugin.isShowFungicideCharges()
			|| plugin.isShowImpCharges() || plugin.isShowWateringCanCharges() || plugin.isShowWaterskinCharges()
			|| plugin.isShowBellowCharges() || plugin.isShowBasketCharges() || plugin.isShowSackCharges() || plugin.isShowAbyssalBraceletCharges() || plugin.isShowExplorerRingCharges()
			|| plugin.isShowRingOfForgingCount();
	}
}

This is a varbit (6035), meaning this can be relpaced wiht `charges = client.getVar(Varbits.KKK_MEMOIRS);` (once you add it to that class obviously) Nothing else but config checks needed