update some strings

This commit is contained in:
2026-07-08 08:49:28 +02:00
parent 131eedb626
commit 8725c34fc6
5 changed files with 76 additions and 78 deletions
+3 -3
View File
@@ -39,7 +39,7 @@ namespace KernelPanic.UI
private Label entropyLabel;
private Label bitsLabel;
private Label bandwidthLabel;
private Label computeCreditsLabel;
private Label rootCreditsLabel;
private Label seedLabel;
private VisualElement playerPanel;
private VisualElement interpreterStrip;
@@ -309,7 +309,7 @@ namespace KernelPanic.UI
bitsLabel = AddStatusReadout(bar, "bits", "0", false);
entropyLabel = AddStatusReadout(bar, "entropy", "0", false);
bandwidthLabel = AddStatusReadout(bar, "bandwidth", "0", false);
computeCreditsLabel = AddStatusReadout(bar, "compute credits", "TODO", false);
rootCreditsLabel = AddStatusReadout(bar, "root credits", "TODO", false);
VisualElement spacer = new();
spacer.AddToClassList("status-spacer");
@@ -383,7 +383,7 @@ namespace KernelPanic.UI
bitsLabel.text = runManager.Bits.ToString();
entropyLabel.text = FormatWalletWithAccrual(data.entropyBalance, runManager.AccruedEntropy);
bandwidthLabel.text = FormatWalletWithAccrual(data.standardPullCurrency, runManager.AccruedBandwidth);
computeCreditsLabel.text = "TODO";
rootCreditsLabel.text = "TODO";
seedLabel.text = $"seed {config?.RunSeed ?? 0}";
}
+2 -2
View File
@@ -159,7 +159,7 @@ namespace KernelPanic.UI
_bannerDetail.Add(BuildInfoLine("entropy", _wallet == null ? "--" : _wallet.Balance.ToString()));
_bannerDetail.Add(BuildInfoLine("pulls", $"{state.totalPulls}/{GachaService.BeginnerMaxPulls}"));
_bannerDetail.Add(BuildInfoLine("4-star pity", $"{state.pityCounter}/{GachaService.FourStarHardPity}"));
_bannerDetail.Add(BuildInfoLine("ten pull", $"{GachaService.BeginnerTenPullCost} Bandwidth for 10 pulls"));
_bannerDetail.Add(BuildInfoLine("ten pull", $"{GachaService.BeginnerTenPullCost} Commits for 10 pulls"));
_bannerDetail.Add(BuildInfoLine("guarantees", FormatBeginnerGuarantees()));
Label rules = new("Base result is a 3-star equipment cache. A 4-star equipment cache or starter distro can appear early, with one 4-star+ result guaranteed every 10 pulls.");
@@ -348,7 +348,7 @@ namespace KernelPanic.UI
prompt.AddToClassList("gacha-entropy-prompt");
int entropyCost = _pendingMissingTokens * GachaService.EntropyPerPullToken;
Label copy = new($"missing {_pendingMissingTokens} Bandwidth. spend {entropyCost} entropy to complete git pull?");
Label copy = new($"missing {_pendingMissingTokens} Commits. spend {entropyCost} entropy to complete git pull?");
copy.AddToClassList("gacha-result");
prompt.Add(copy);
+1 -1
View File
@@ -822,7 +822,7 @@ namespace KernelPanic.UI
_rootCreditsToEntropyButton?.SetEnabled(true);
bool showPullTokens = IsGachaVisible();
_pullTokensLabel.text = showPullTokens
? $"bandwidth={_gachaService.PullTokens} compute-credits={_gachaService.LimitedPullTokens} distro-merges={GetTotalDistroMerges()}"
? $"commits={_gachaService.PullTokens} root-credits={_gachaService.LimitedPullTokens} distro-merges={GetTotalDistroMerges()}"
: string.Empty;
_pullTokensLabel.EnableInClassList(HiddenClassName, !showPullTokens);
}