randomevents: Add missing events
This commit adds options and handling for the Beekeeper, Sandwich Lady, and Jekyll & Hyde random events.
This commit is contained in:
committed by
Jordan Atwood
parent
0fce0f75e2
commit
f9ef48584b
@@ -161,4 +161,37 @@ public interface RandomEventConfig extends Config
|
|||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ConfigItem(
|
||||||
|
keyName = "notifyJekyll",
|
||||||
|
name = "Notify on Jekyll & Hyde",
|
||||||
|
description = "",
|
||||||
|
section = notificationSection
|
||||||
|
)
|
||||||
|
default boolean notifyJekyll()
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
@ConfigItem(
|
||||||
|
keyName = "notifyBeekeeper",
|
||||||
|
name = "Notify on Beekeeper",
|
||||||
|
description = "",
|
||||||
|
section = notificationSection
|
||||||
|
)
|
||||||
|
default boolean notifyBeekeeper()
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
@ConfigItem(
|
||||||
|
keyName = "notifySandwich",
|
||||||
|
name = "Notify on Sandwich Lady",
|
||||||
|
description = "",
|
||||||
|
section = notificationSection
|
||||||
|
)
|
||||||
|
default boolean notifySandwich()
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -177,6 +177,8 @@ public class RandomEventPlugin extends Plugin
|
|||||||
|
|
||||||
switch (id)
|
switch (id)
|
||||||
{
|
{
|
||||||
|
case NpcID.BEE_KEEPER_6747:
|
||||||
|
return config.notifyBeekeeper();
|
||||||
case NpcID.SERGEANT_DAMIEN_6743:
|
case NpcID.SERGEANT_DAMIEN_6743:
|
||||||
return config.notifyDemon();
|
return config.notifyDemon();
|
||||||
case NpcID.FREAKY_FORESTER_6748:
|
case NpcID.FREAKY_FORESTER_6748:
|
||||||
@@ -186,6 +188,9 @@ public class RandomEventPlugin extends Plugin
|
|||||||
case NpcID.GENIE:
|
case NpcID.GENIE:
|
||||||
case NpcID.GENIE_327:
|
case NpcID.GENIE_327:
|
||||||
return config.notifyGenie();
|
return config.notifyGenie();
|
||||||
|
case NpcID.DR_JEKYLL:
|
||||||
|
case NpcID.DR_JEKYLL_314:
|
||||||
|
return config.notifyJekyll();
|
||||||
case NpcID.EVIL_BOB:
|
case NpcID.EVIL_BOB:
|
||||||
case NpcID.EVIL_BOB_6754:
|
case NpcID.EVIL_BOB_6754:
|
||||||
return config.notifyBob();
|
return config.notifyBob();
|
||||||
@@ -200,6 +205,8 @@ public class RandomEventPlugin extends Plugin
|
|||||||
return config.notifyQuiz();
|
return config.notifyQuiz();
|
||||||
case NpcID.DUNCE_6749:
|
case NpcID.DUNCE_6749:
|
||||||
return config.notifyDunce();
|
return config.notifyDunce();
|
||||||
|
case NpcID.SANDWICH_LADY:
|
||||||
|
return config.notifySandwich();
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user