README.md

Sacralium Improver

Chrome extension (MV3) for sorting inventory items by set and name on sacralium.game.

Features

  • Auto-sorts Things and Skills item grids when opened
  • Sort order: set group → item name → level → rarity
  • Direction toggle (asc/desc) applies to level and rarity
  • Set filter: dropdown in Things sortbar to show only items from a specific set
  • Tier filter: dropdown in Things sortbar to show only items of a specific level (I–X)
  • Quality filter: dropdown in Things sortbar to show only items of a specific rarity (Обычный/Редкий/Уникальный/Легендарный/Эпический)
  • Reset button: appears in Things sortbar when any filter is active, resets all filters on click
  • Filters apply simultaneously (AND): show items matching all selected set, tier, and quality
  • Intercepts game API (dictionary/get_current) to get item names and set data
  • No build step — vanilla JS, load unpacked at chrome://extensions

Files

File Role
manifest.json MV3 manifest, content script on https://sacralium.game/game
utils/roman.js romanToArabic() — global function
utils/constants.js DOM selectors, CSS classes, regex, constants, SET_NAMES_FILTER, TIER_FILTER, QUALITY_FILTER
content/core.js __ss — settings hub, loadSettings(), applySettings(), onGameDataReady()
content/gamedata.js Intercepts dictionary/get_current, builds item/set lookup maps
content/shared.js sortKey(), cleanTitle(), isAlreadySorted(), getItemGroupInfo(), setGroupSortKey()
content/inventory.js Things tab grid sorting + set filter + tier filter + quality filter
content/skills.js Skills tab (equipments + abilities) sorting
content/content.js Message listener (popup → content)
popup/popup.* Settings UI: direction
Описание
Конвейеры
0 успешных
0 с ошибкой
Разработчики