Java Code Examples for net.runelite.api.NpcID#MYSTERIOUS_OLD_MAN_6753

The following examples show how to use net.runelite.api.NpcID#MYSTERIOUS_OLD_MAN_6753 . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: RandomEventPlugin.java    From plugins with GNU General Public License v3.0 5 votes vote down vote up
private boolean shouldNotify(int id)
{
	if (config.notifyAllEvents())
	{
		return true;
	}

	switch (id)
	{
		case NpcID.SERGEANT_DAMIEN_6743:
			return config.notifyDemon();
		case NpcID.FREAKY_FORESTER_6748:
			return config.notifyForester();
		case NpcID.FROG_5429:
			return config.notifyFrog();
		case NpcID.GENIE:
		case NpcID.GENIE_327:
			return config.notifyGenie();
		case NpcID.EVIL_BOB:
		case NpcID.EVIL_BOB_6754:
			return config.notifyBob();
		case NpcID.LEO_6746:
			return config.notifyGravedigger();
		case NpcID.MYSTERIOUS_OLD_MAN_6750:
		case NpcID.MYSTERIOUS_OLD_MAN_6751:
		case NpcID.MYSTERIOUS_OLD_MAN_6752:
		case NpcID.MYSTERIOUS_OLD_MAN_6753:
			return config.notifyMoM();
		case NpcID.QUIZ_MASTER_6755:
			return config.notifyQuiz();
		case NpcID.DUNCE_6749:
			return config.notifyDunce();
		case NpcID.DR_JEKYLL:
		case NpcID.DR_JEKYLL_314:
			return config.notifyDrJekyll();
		default:
			return false;
	}
}
 
Example 2
Source File: RandomEventPlugin.java    From runelite with BSD 2-Clause "Simplified" License 5 votes vote down vote up
private boolean shouldNotify(int id)
{
	if (config.notifyAllEvents())
	{
		return true;
	}

	switch (id)
	{
		case NpcID.SERGEANT_DAMIEN_6743:
			return config.notifyDemon();
		case NpcID.FREAKY_FORESTER_6748:
			return config.notifyForester();
		case NpcID.FROG_5429:
			return config.notifyFrog();
		case NpcID.GENIE:
		case NpcID.GENIE_327:
			return config.notifyGenie();
		case NpcID.EVIL_BOB:
		case NpcID.EVIL_BOB_6754:
			return config.notifyBob();
		case NpcID.LEO_6746:
			return config.notifyGravedigger();
		case NpcID.MYSTERIOUS_OLD_MAN_6750:
		case NpcID.MYSTERIOUS_OLD_MAN_6751:
		case NpcID.MYSTERIOUS_OLD_MAN_6752:
		case NpcID.MYSTERIOUS_OLD_MAN_6753:
			return config.notifyMoM();
		case NpcID.QUIZ_MASTER_6755:
			return config.notifyQuiz();
		case NpcID.DUNCE_6749:
			return config.notifyDunce();
		default:
			return false;
	}
}