mirror of
https://github.com/IvarK/AntimatterDimensionsSourceCode.git
synced 2024-11-10 06:02:13 +00:00
Change tooltip text for glyph purge
This commit is contained in:
parent
ecef2f9baf
commit
2a03fa052b
@ -19,11 +19,11 @@ export default {
|
||||
},
|
||||
autoCleanTooltip() {
|
||||
return `${this.removeString} Glyphs that are worse in every way than
|
||||
enough other Glyphs${this.hasPerkShop ? " (ignores Music Glyphs)" : ""}`;
|
||||
enough other Glyphs${this.hasPerkShop ? " (ignores customized Glyphs)" : ""}`;
|
||||
},
|
||||
harshAutoCleanTooltip() {
|
||||
return `${this.removeString} Glyphs that are worse in every way than
|
||||
ANY other Glyph${this.hasPerkShop ? " (includes Music Glyphs)" : ""}`;
|
||||
ANY other Glyph${this.hasPerkShop ? " (includes customized Glyphs)" : ""}`;
|
||||
},
|
||||
deleteRejectedTooltip() {
|
||||
const negativeWarning = AutoGlyphProcessor.hasNegativeEffectScore()
|
||||
|
@ -572,7 +572,7 @@ export const Glyphs = {
|
||||
const glyph = (inventoryCopy ?? this.inventory)[inventoryIndex];
|
||||
// Never clean companion, and only clean cursed if we choose to sacrifice all
|
||||
if (glyph === null || glyph.type === "companion" || (glyph.type === "cursed" && threshold !== 0)) continue;
|
||||
// Don't auto-clean custom glyphs (eg. music glyphs) unless it's harsh or delete all
|
||||
// Don't auto-clean individually customized glyphs unless it's harsh or delete all
|
||||
const isCustomGlyph = glyph.color !== undefined || glyph.symbol !== undefined;
|
||||
if (isCustomGlyph && !isHarsh) continue;
|
||||
// If the threshold for better glyphs needed is zero, the glyph is definitely getting deleted
|
||||
|
Loading…
Reference in New Issue
Block a user