Add in more fun status messages.

This commit is contained in:
sigonasr2 2018-09-28 06:06:21 -05:00
parent bd744fe3c7
commit 42b959c73a
2 changed files with 62 additions and 2 deletions

Binary file not shown.

View File

@ -48,19 +48,43 @@ public class BandoriBot extends ListenerAdapter{
"Having a picnic at Kokoro's Mansion", "Having a picnic at Kokoro's Mansion",
"Trying to make Arisa smile", "Trying to make Arisa smile",
"Shopping at the mall w/<CHARACTER>", "Shopping at the mall w/<CHARACTER>",
"Shopping", "Shopping at <STORE> <POSSIBLECHAR>",
"Eating at <FOOD> <POSSIBLECHAR>",
"a Heart-pounding Song", "a Heart-pounding Song",
"Dokidoki SING OUT!" "Doki-Doki SING OUT!",
"Playing at the Live House",
"Playing at CiRCLE",
"Playing with Oddie",
"Collecting <ITEMS>",
"Rolling Gacha"
}; };
public static String[] makeeatList = new String[]{ public static String[] makeeatList = new String[]{
"Making", "Making",
"Eating" "Eating"
}; };
public static String[] itemList = new String[]{
"Studio Tickets",
"Coins",
"Michelle Monakas",
"Miracle Crystals",
};
public static String[] scoldyellList = new String[]{ public static String[] scoldyellList = new String[]{
"Scolded", "Scolded",
"Yelled at" "Yelled at"
}; };
public static String[] storeList = new String[]{
"Edogawa Music",
"Ryuseido",
"the mall",
"CiRCLE"
};
public static String[] foodList = new String[]{
"the Fast Food Store",
"the Cafeteria",
"Yamabuki Bakery",
"CiRCLE"
};
public static String[] popipaList = new String[]{ public static String[] popipaList = new String[]{
"w/Tae", "w/Tae",
"w/Rimi", "w/Rimi",
@ -69,6 +93,33 @@ public class BandoriBot extends ListenerAdapter{
"w/Poppin' Party", "w/Poppin' Party",
}; };
public static String[] possibleCharList = new String[]{
"Tae",
"Rimi",
"Saaya",
"Arisa",
"Ran",
"Moca",
"Himari",
"Tomoe",
"Tsugumi",
"Kokoro",
"Kaoru",
"Hagumi",
"Kanon",
"Misaki",
"Aya",
"Hina",
"Chisato",
"Maya",
"Eve",
"Yukina",
"Sayo",
"Lisa",
"Ako",
"Rinko"
};
public static String[] characterList = new String[]{ public static String[] characterList = new String[]{
"Tae", "Tae",
"Rimi", "Rimi",
@ -142,6 +193,15 @@ public class BandoriBot extends ListenerAdapter{
currentEvent = currentEvent.replace("<MAKEEAT>", makeeatList[(int)(Math.random()*makeeatList.length)]); currentEvent = currentEvent.replace("<MAKEEAT>", makeeatList[(int)(Math.random()*makeeatList.length)]);
currentEvent = currentEvent.replace("<WITHPOPIPA>", popipaList[(int)(Math.random()*popipaList.length)]); currentEvent = currentEvent.replace("<WITHPOPIPA>", popipaList[(int)(Math.random()*popipaList.length)]);
currentEvent = currentEvent.replace("<SCOLDYELL>", scoldyellList[(int)(Math.random()*scoldyellList.length)]); currentEvent = currentEvent.replace("<SCOLDYELL>", scoldyellList[(int)(Math.random()*scoldyellList.length)]);
currentEvent = currentEvent.replace("<FOOD>", foodList[(int)(Math.random()*foodList.length)]);
currentEvent = currentEvent.replace("<STORE>", storeList[(int)(Math.random()*storeList.length)]);
currentEvent = currentEvent.replace("<STORE>", storeList[(int)(Math.random()*storeList.length)]);
currentEvent = currentEvent.replace("<ITEMS>", itemList[(int)(Math.random()*itemList.length)]);
if (Math.random()<=0.6) {
currentEvent = currentEvent.replace("<POSSIBLECHAR>", possibleCharList[(int)(Math.random()*possibleCharList.length)]);
} else {
currentEvent = currentEvent.replace("<POSSIBLECHAR>", "");
}
currentEventTimer = 300 + (int)((30*60)*Math.random()); currentEventTimer = 300 + (int)((30*60)*Math.random());
bot.getPresence().setGame(Game.of(GameType.DEFAULT,currentEvent)); bot.getPresence().setGame(Game.of(GameType.DEFAULT,currentEvent));
} }