Added NPC kill counts with message display (#644)

* Added kill counts with message display

* Fixed barrows chest count

* Preserve insertion order of NPC IDs for Constants

* Added KC command and interfaces

* Added more robustness to KC command

* Added alias and documentation to new commands

* Added more aliases for new commands

* Merged slayer KC interface names

* Preserve slayerkc nameToKills insertion order and formatting fix

* Updated comment

* Added missing boss NPC id

* Moved giant mole up in set

* Emptied out quest interface properly for kc

* Fixed whitespace

* Fixed formatting

* Hide boss KC messages by default
This commit is contained in:
ipkpjersi
2024-09-20 21:40:58 -04:00
committed by GitHub
parent fd731242dd
commit e404eadb3b
7 changed files with 318 additions and 5 deletions
@@ -65,6 +65,10 @@ public class Npc {
transformUpdateRequired = true;
updateRequired = true;
}
public String name() {
return NpcHandler.getNpcListName(this.npcType);
}
public void shearSheep(Player player, int itemNeeded, int itemGiven, int animation, final int currentId, final int newId, int transformTime) {
if (!player.getItemAssistant().playerHasItem(itemNeeded)) {