You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: BossChecklistUI.cs
+38-4Lines changed: 38 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,7 @@
8
8
usingTerraria.ID;
9
9
usingTerraria.UI.Chat;
10
10
usingTerraria.ModLoader;
11
+
usingMicrosoft.Xna.Framework.Input;
11
12
12
13
namespaceBossChecklist.UI
13
14
{
@@ -16,6 +17,7 @@ class BossChecklistUI : UIState
16
17
publicUIHoverImageButtontoggleCompletedButton;
17
18
publicUIHoverImageButtontoggleMiniBossButton;
18
19
publicUIHoverImageButtontoggleEventButton;
20
+
publicUIHoverImageButtontoggleHiddenButton;
19
21
publicUIPanelchecklistPanel;
20
22
publicUIListchecklistList;
21
23
@@ -24,6 +26,7 @@ class BossChecklistUI : UIState
24
26
publicstaticboolshowCompleted=true;
25
27
publicstaticboolshowMiniBoss=true;
26
28
publicstaticboolshowEvent=true;
29
+
publicstaticboolshowHidden=false;
27
30
publicstaticstringhoverText="";
28
31
29
32
publicoverridevoidOnInitialize()
@@ -55,6 +58,12 @@ public override void OnInitialize()
55
58
toggleEventButton.Top.Pixels=spacing;
56
59
checklistPanel.Append(toggleEventButton);
57
60
61
+
toggleHiddenButton=newUIHoverImageButton(Main.itemTexture[ItemID.InvisibilityPotion],"Toggle Show Hidden Bosses\n- Alt Click to clear Hidden bosses\n-Alt Click on boss to hide");
newBossInfo(BossChecklistType.MiniBoss,"Mourning Wood",Plantera+0.6f,()=>true,()=>NPC.downedHalloweenTree,$"Spawns during Wave 4 of Pumpkin Moon. Start Pumpkin Moon with [i:{ItemID.PumpkinMoonMedallion}]"),
215
246
newBossInfo(BossChecklistType.Event,"Martian Madness",Golem+0.4f,()=>true,()=>NPC.downedMartians,$"After defeating Golem, find a Martian Probe above ground and let it escape."),
216
247
newBossInfo(BossChecklistType.Event,"Pirate Invasion",WallOfFlesh+0.7f,()=>true,()=>NPC.downedPirates,$"Occurs randomly in Hardmode after an Altar has been destroyed. Alternatively, spawn with [i:{ItemID.PirateMap}]"),
217
-
newBossInfo(BossChecklistType.Event,"Old One's Army 1",EaterOfWorlds+0.5f,()=>true,()=>Terraria.GameContent.Events.DD2Event.DownedInvasionT1,$"After finding the Tavernkeep, activate [i:{ItemID.DD2ElderCrystalStand}] with [i:{ItemID.DD2ElderCrystal}]"),
218
-
newBossInfo(BossChecklistType.Event,"Old One's Army 2",TheTwins+0.5f,()=>true,()=>Terraria.GameContent.Events.DD2Event.DownedInvasionT2,$"After defeating a mechanical boss, activate [i:{ItemID.DD2ElderCrystalStand}] with [i:{ItemID.DD2ElderCrystal}]"),
219
-
newBossInfo(BossChecklistType.Event,"Old One's Army 3",Golem+0.5f,()=>true,()=>Terraria.GameContent.Events.DD2Event.DownedInvasionT3,$"After defeating Golem, activate [i:{ItemID.DD2ElderCrystalStand}] with [i:{ItemID.DD2ElderCrystal}]"),
248
+
newBossInfo(BossChecklistType.Event,"Old One's Army Any Tier",EaterOfWorlds+0.5f,()=>true,()=>Terraria.GameContent.Events.DD2Event.DownedInvasionAnyDifficulty,$"After finding the Tavernkeep, activate [i:{ItemID.DD2ElderCrystalStand}] with [i:{ItemID.DD2ElderCrystal}]"),
249
+
//new BossInfo(BossChecklistType.Event, "Old One's Army 1", EaterOfWorlds + 0.5f, () => true, () => Terraria.GameContent.Events.DD2Event.DownedInvasionT1, $"After finding the Tavernkeep, activate [i:{ItemID.DD2ElderCrystalStand}] with [i:{ItemID.DD2ElderCrystal}]"),
250
+
//new BossInfo(BossChecklistType.Event, "Old One's Army 2", TheTwins + 0.5f, () => true, () => Terraria.GameContent.Events.DD2Event.DownedInvasionT2, $"After defeating a mechanical boss, activate [i:{ItemID.DD2ElderCrystalStand}] with [i:{ItemID.DD2ElderCrystal}]"),
0 commit comments