Sell page: drop explanatory info line
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
502366e7c4
commit
cc4d570b52
3 files changed
+3
-8
No files matched your search
@@ -294,10 +294,8 @@ nightlog.bm.sale_rug,"Black market: the platform rugged; your {0} and the payout
|
|||||||
black.sub.sell,Sell
|
black.sub.sell,Sell
|
||||||
black.sell.h,Sell
|
black.sell.h,Sell
|
||||||
black.sell.mult,"Price x{0}"
|
black.sell.mult,"Price x{0}"
|
||||||
black.sell.info,"Price {0} ~{1} days to sell payout tainted {2}% of the time ({3}% of it)"
|
|
||||||
black.sell.list,List
|
black.sell.list,List
|
||||||
black.sell.none,Nothing sellable in storage.
|
black.sell.none,Nothing sellable in storage.
|
||||||
black.sell.ref,"Ref {0}"
|
|
||||||
black.sell.listed,"Listed: {0} at {1}."
|
black.sell.listed,"Listed: {0} at {1}."
|
||||||
black.sell.delist,Take down
|
black.sell.delist,Take down
|
||||||
black.sell.rating,"Rating {0}%"
|
black.sell.rating,"Rating {0}%"
|
||||||
|
|||||||
|
@@ -293,10 +293,8 @@ nightlog.bm.sale_rug,"黑市:平台跑路,你的 {0} 和货款({1})没
|
|||||||
black.sub.sell,出售
|
black.sub.sell,出售
|
||||||
black.sell.h,出售
|
black.sell.h,出售
|
||||||
black.sell.mult,"标价 ×{0}"
|
black.sell.mult,"标价 ×{0}"
|
||||||
black.sell.info,"标价 {0} 约 {1} 天成交 货款带污点 {2}%(比例 {3}%)"
|
|
||||||
black.sell.list,上架
|
black.sell.list,上架
|
||||||
black.sell.none,储藏区里没有能卖的货。
|
black.sell.none,储藏区里没有能卖的货。
|
||||||
black.sell.ref,"参考价 {0}"
|
|
||||||
black.sell.listed,"已上架:{0},标价 {1}。"
|
black.sell.listed,"已上架:{0},标价 {1}。"
|
||||||
black.sell.delist,撤下
|
black.sell.delist,撤下
|
||||||
black.sell.rating,"好评 {0}%"
|
black.sell.rating,"好评 {0}%"
|
||||||
|
|||||||
|
@@ -374,8 +374,7 @@ namespace Decentralized
|
|||||||
b.AddButton(Math.Abs(mult - _sellMult) < 1e-9 ? $"[×{n}]" : "×" + n, () => { _sellMult = mult; Open(); });
|
b.AddButton(Math.Abs(mult - _sellMult) < 1e-9 ? $"[×{n}]" : "×" + n, () => { _sellMult = mult; Open(); });
|
||||||
}
|
}
|
||||||
b.End();
|
b.End();
|
||||||
b.AddLabel(L.T("black.sell.info", "×" + _sellMult.ToString("0.0", CultureInfo.InvariantCulture), (int)Math.Round(BlackMarket.ExpectedDays(_sellMult)), (int)Math.Round(BlackMarket.TaintChance(_sellMult) * 100), (int)Math.Round(BlackMarket.TaintRatio(_sellMult) * 100)) + " " + L.T("black.sell.rating", d.Black.Rating));
|
b.AddLabel(L.T("mixer.balance", _payAsset, Fmt.Num(d.Hot.Avail(_payAsset))) + " " + L.T("black.sell.rating", d.Black.Rating));
|
||||||
b.AddLabel(L.T("mixer.balance", _payAsset, Fmt.Num(d.Hot.Avail(_payAsset))));
|
|
||||||
b.AddSeparator();
|
b.AddSeparator();
|
||||||
var items = BlackDelivery.Sellable();
|
var items = BlackDelivery.Sellable();
|
||||||
if (items.Count == 0) { b.AddLabel(L.T("black.sell.none")); return; }
|
if (items.Count == 0) { b.AddLabel(L.T("black.sell.none")); return; }
|
||||||
@@ -390,7 +389,7 @@ namespace Decentralized
|
|||||||
}).Select(x => { SellCards[x.g] = x.it; return x.g; }).ToList(), (c, g) =>
|
}).Select(x => { SellCards[x.g] = x.it; return x.g; }).ToList(), (c, g) =>
|
||||||
{
|
{
|
||||||
var it = SellCards[g];
|
var it = SellCards[g];
|
||||||
GoodHead(c, g, L.T("black.sell.ref", BlackDelivery.RefValue(it)));
|
GoodHead(c, g, "");
|
||||||
c.AddLabel(L.T("black.price", g.Price));
|
c.AddLabel(L.T("black.price", g.Price));
|
||||||
c.AddFlexibleSpace();
|
c.AddFlexibleSpace();
|
||||||
c.AddButton(L.T("black.sell.list"), () => ListItem(it));
|
c.AddButton(L.T("black.sell.list"), () => ListItem(it));
|
||||||
@@ -439,7 +438,7 @@ namespace Decentralized
|
|||||||
if (sprite != null) c.AddImage(sprite, 64f, 64f); else c.AddSpace(64f);
|
if (sprite != null) c.AddImage(sprite, 64f, 64f); else c.AddSpace(64f);
|
||||||
c.AddLabel("<b>" + ItemName(g.Item) + "</b>");
|
c.AddLabel("<b>" + ItemName(g.Item) + "</b>");
|
||||||
c.AddLabel(g.Kind == GoodKind.Gpu ? L.T("black.kind.gpu", (int)Math.Round(g.Health)) : L.T("black.kind." + g.Kind + (g.Kind == GoodKind.Contraband ? "." + g.Level : "")));
|
c.AddLabel(g.Kind == GoodKind.Gpu ? L.T("black.kind.gpu", (int)Math.Round(g.Health)) : L.T("black.kind." + g.Kind + (g.Kind == GoodKind.Contraband ? "." + g.Level : "")));
|
||||||
c.AddLabel(line2);
|
if (!string.IsNullOrEmpty(line2)) c.AddLabel(line2);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static string ItemName(string id) => BlackDelivery.ItemName(id);
|
private static string ItemName(string id) => BlackDelivery.ItemName(id);
|
||||||
|
|||||||
Reference in new issue
Block a user