aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2024-09-06 12:27:44 -0700
committerPinapelz <yukais@pinapelz.com>2024-09-06 12:29:37 -0700
commite6c5dbb82e1fa286d5b9db7c3bfcb776f56a09b8 (patch)
tree8aa81c5735de2cf112d8a3f699c7a9d0b3b87389
parentfb567284db251d09e283e3eb65ef5bbaa1032b62 (diff)
add tooltips for config options
-rw-r--r--Malmstone/Malmstone.csproj2
-rw-r--r--Malmstone/Malmstone.json2
-rw-r--r--Malmstone/Windows/ConfigWindow.cs31
-rw-r--r--Malmstone/Windows/MainWindow.cs2
4 files changed, 34 insertions, 3 deletions
diff --git a/Malmstone/Malmstone.csproj b/Malmstone/Malmstone.csproj
index 8aa6086..c80d795 100644
--- a/Malmstone/Malmstone.csproj
+++ b/Malmstone/Malmstone.csproj
@@ -3,7 +3,7 @@
<Import Project="Dalamud.Plugin.Bootstrap.targets" />
<PropertyGroup>
- <Version>1.0.5.0</Version>
+ <Version>1.0.5.5</Version>
<Description>A PVP Series Malmstones Level Calculator</Description>
<PackageProjectUrl>https://github.com/goatcorp/Malmstone</PackageProjectUrl>
<PackageLicenseExpression>AGPL-3.0-or-later</PackageLicenseExpression>
diff --git a/Malmstone/Malmstone.json b/Malmstone/Malmstone.json
index 09a881e..1bd6504 100644
--- a/Malmstone/Malmstone.json
+++ b/Malmstone/Malmstone.json
@@ -2,7 +2,7 @@
"Author": "pinapelz",
"Name": "Malmstone Calculator",
"Punchline": "Keep tabs on how much more PVP you have to play before unlocking your next Series Malmstone reward!",
- "Description": "Calculate the number of wins/losses required in different modes of PVP before reaching your target Series Level.\nUse /pmalm to get started",
+ "Description": "Calculate the number of wins/losses needed in different modes of PVP before achieving your target Series Level.\nUse /pmalm to get started",
"ApplicableVersion": "any",
"Tags": [
"pvp",
diff --git a/Malmstone/Windows/ConfigWindow.cs b/Malmstone/Windows/ConfigWindow.cs
index 7d9e44e..05e75a1 100644
--- a/Malmstone/Windows/ConfigWindow.cs
+++ b/Malmstone/Windows/ConfigWindow.cs
@@ -56,6 +56,13 @@ public class ConfigWindow : Window, IDisposable
Configuration.Save();
}
+ if (ImGui.IsItemHovered())
+ {
+ ImGui.BeginTooltip();
+ ImGui.Text("Shows a notification with current series level EXP progression after ALL PVP matches");
+ ImGui.EndTooltip();
+ }
+
ImGui.Text("Notification Type");
int selectedPostMatchToastType = Configuration.PostmatchProgressionToastType;
if (ImGui.Combo("##MatchOptions", ref selectedPostMatchToastType, ToastOptions, ToastOptions.Length))
@@ -90,6 +97,12 @@ public class ConfigWindow : Window, IDisposable
Plugin.PvPAddon.DisableCrystallineConflictPostMatch();
Configuration.Save();
}
+ if (ImGui.IsItemHovered())
+ {
+ ImGui.BeginTooltip();
+ ImGui.Text("Show Wins/Losses needed until next Series Level in chat after Crystalline Conflict matches");
+ ImGui.EndTooltip();
+ }
ImGui.SameLine();
ImGui.Text("Crystalline Conflict");
@@ -104,6 +117,12 @@ public class ConfigWindow : Window, IDisposable
Plugin.PvPAddon.DisableFrontlinePostMatch();
Configuration.Save();
}
+ if (ImGui.IsItemHovered())
+ {
+ ImGui.BeginTooltip();
+ ImGui.Text("Show placements needed until next Series Level in chat after Frontline matches\nRoulettes shown in parentheses");
+ ImGui.EndTooltip();
+ }
ImGui.SameLine();
ImGui.Text("Frontlines");
@@ -118,6 +137,12 @@ public class ConfigWindow : Window, IDisposable
Plugin.PvPAddon.DisableRivalWingsPostMatch();
Configuration.Save();
}
+ if (ImGui.IsItemHovered())
+ {
+ ImGui.BeginTooltip();
+ ImGui.Text("Show Wins/Losses needed until next Series Level in chat after Rival Wings matches");
+ ImGui.EndTooltip();
+ }
ImGui.SameLine();
ImGui.Text("Rival Wings");
@@ -136,6 +161,12 @@ public class ConfigWindow : Window, IDisposable
Configuration.ShowMainWindowOnPVPReward = showMainWindowOnPVPReward;
Configuration.Save();
}
+ if (ImGui.IsItemHovered())
+ {
+ ImGui.BeginTooltip();
+ ImGui.Text("Automatically open the calculator window when viewing Series Malmstone rewards");
+ ImGui.EndTooltip();
+ }
ImGui.Text("Changes saved automatically");
diff --git a/Malmstone/Windows/MainWindow.cs b/Malmstone/Windows/MainWindow.cs
index 4d4ca4c..0e91c4d 100644
--- a/Malmstone/Windows/MainWindow.cs
+++ b/Malmstone/Windows/MainWindow.cs
@@ -44,7 +44,7 @@ namespace Malmstone.Windows
if (pvpInfo != null)
{
ImGui.Text($"Current Series Level: {pvpInfo.CurrentSeriesRank}");
- ImGui.Text($"Current Level Experience Progress: {pvpInfo.SeriesExperience} XP");
+ ImGui.Text($"Current Level Experience Progress: {pvpInfo.SeriesExperience} EXP");
ImGui.Spacing();
ImGui.Text("Target Series Level:");
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage