mirror of
https://github.com/GTNewHorizons/IguanaTweaksTConstruct.git
synced 2026-11-26 23:03:11 +00:00
Changed "Head XP" to "Boost XP"
This commit is contained in:
1 parent
b7c49e4da2
commit
773f41d1c3
4 files changed
+6
-4
No files matched your search
@@ -61,7 +61,7 @@ public class IguanaLevelingLogic {
|
||||
float xpPercentage = ((float)currentXp / (float)requiredXp) * 100f;
|
||||
String xpPercentageString = String.format("%.2f", xpPercentage) + "%";
|
||||
|
||||
String prefix = pick ? "Head XP: " : "XP: ";
|
||||
String prefix = pick ? "Boost XP: " : "XP: ";
|
||||
|
||||
if (IguanaConfig.detailedXpTooltip)
|
||||
return prefix + Long.toString(currentXp) + " / " + Integer.toString(requiredXp) + " (" + xpPercentageString + ")";
|
||||
@@ -171,7 +171,7 @@ public class IguanaLevelingLogic {
|
||||
if (tags.hasKey(tip))
|
||||
{
|
||||
String tipString = tags.getString(tip);
|
||||
if (!tipString.startsWith("XP:") && !tipString.startsWith("Head XP:")
|
||||
if (!tipString.startsWith("XP:") && !tipString.startsWith("Head XP:") && !tipString.startsWith("Boost XP:")
|
||||
&& !tipString.startsWith("Skill Level:") && !tipString.startsWith("Mining Level:")
|
||||
&& !tipString.startsWith("Requires boost"))
|
||||
{
|
||||
|
||||
@@ -83,7 +83,8 @@ public class IguanaModHeads extends ToolMod {
|
||||
if (toolTag.hasKey(tip))
|
||||
{
|
||||
String tipString = toolTag.getString(tip);
|
||||
if (!tipString.startsWith("Head XP:") && !tipString.startsWith("Mining Level:") && !tipString.startsWith("Requires boost"))
|
||||
if (!tipString.startsWith("Head XP:") && !tipString.startsWith("Boost XP:")
|
||||
&& !tipString.startsWith("Mining Level:") && !tipString.startsWith("Requires boost"))
|
||||
{
|
||||
tips.add(toolTag.getString(tip));
|
||||
modifierTips.add(toolTag.getString("ModifierTip" + tipNum));
|
||||
|
||||
@@ -183,7 +183,7 @@ public class IguanaModRedstone extends ToolMod {
|
||||
if (tags.hasKey(tip))
|
||||
{
|
||||
String tipString = tags.getString(tip);
|
||||
if (!tipString.startsWith("XP:") && !tipString.startsWith("Head XP:"))
|
||||
if (!tipString.startsWith("XP:") && !tipString.startsWith("Head XP:") && !tipString.startsWith("Boost XP:"))
|
||||
{
|
||||
tips.add(tipString);
|
||||
modifierTips.add(tags.getString("ModifierTip" + tipNum));
|
||||
|
||||
@@ -331,6 +331,7 @@ public class IguanaModUpgrade extends ToolMod {
|
||||
&& !tipString.startsWith("Skill Level:")
|
||||
&& !tipString.startsWith("XP:")
|
||||
&& !tipString.startsWith("Head XP:")
|
||||
&& !tipString.startsWith("Boost XP:")
|
||||
&& !tipString.startsWith("Requires boost"))
|
||||
{
|
||||
tips.add(tipString);
|
||||
|
||||
Reference in new issue
Block a user