This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
if (typeof api === 'undefined' || !api || !api.ui || !api.ui.components) { | |
console.error('[Missing Monsters] BestiaryModAPI not available'); | |
return; | |
} | |
/** | |
* Build an index of owned equipment keyed by base name + variant type. | |
* Uses each instance's `stat` (hp/ap/ad) when available for accurate variant detection, | |
* then falls back to metadata-based inference. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Global debug mode flag | |
window.COLLECTION_HELPER_DEBUG = { | |
allMonstersMissing: false, | |
includeUnobtainable: false | |
}; | |
// Debug function to toggle all monsters as missing | |
window.toggleDebugMode = function(includeUnobtainable = false) { | |
window.COLLECTION_HELPER_DEBUG.allMonstersMissing = !window.COLLECTION_HELPER_DEBUG.allMonstersMissing; | |
if (includeUnobtainable !== undefined) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Simple test to verify script is loaded | |
console.log('=== Collection Helper Script Loaded ==='); | |
console.log('Current time:', new Date().toISOString()); | |
// Add a global debug function that can be called from console | |
window.debugGameState = function() { | |
console.clear(); | |
console.log('=== DEBUG GAME STATE ==='); | |
// 1. Check global objects |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
if (typeof api === 'undefined' || !api || !api.ui || !api.ui.components) { | |
console.error('[Missing Monsters] BestiaryModAPI not available'); | |
return; | |
} | |
/** | |
* Build an index of owned equipment keyed by base name + variant type. | |
* Uses each instance's `stat` (hp/ap/ad) when available for accurate variant detection, | |
* then falls back to metadata-based inference. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
if (typeof api === 'undefined' || !api || !api.ui || !api.ui.components) { | |
console.error('[Missing Monsters] BestiaryModAPI not available'); | |
return; | |
} | |
/** | |
* Build an index of owned equipment keyed by base name + variant type. | |
* Uses each instance's `stat` (hp/ap/ad) when available for accurate variant detection, | |
* then falls back to metadata-based inference. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
if (typeof api === 'undefined' || !api || !api.ui || !api.ui.components) { | |
console.error('[Missing Monsters] BestiaryModAPI not available'); | |
return; | |
} | |
/** | |
* Build an index of owned equipment keyed by base name + variant type. | |
* Uses each instance's `stat` (hp/ap/ad) when available for accurate variant detection, | |
* then falls back to metadata-based inference. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
if (typeof api === 'undefined' || !api || !api.ui || !api.ui.components) { | |
console.error('[Missing Monsters] BestiaryModAPI not available'); | |
return; | |
} | |
/** | |
* Build an index of owned equipment keyed by base name + variant type. | |
* Uses each instance's `stat` (hp/ap/ad) when available for accurate variant detection, | |
* then falls back to metadata-based inference. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
if (typeof api === 'undefined' || !api || !api.ui || !api.ui.components) { | |
console.error('[Missing Monsters] BestiaryModAPI not available'); | |
return; | |
} | |
/** | |
* Build an index of owned equipment keyed by base name + variant type. | |
* Uses each instance's `stat` (hp/ap/ad) when available for accurate variant detection, | |
* then falls back to metadata-based inference. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
if (typeof api === 'undefined' || !api || !api.ui || !api.ui.components) { | |
console.error('[Missing Monsters] BestiaryModAPI not available'); | |
return; | |
} | |
const BUTTON_ID = 'missing-monsters-button'; | |
const MODAL_TITLE = 'Bestiary Helper'; | |
// Hardcoded unobtainable monsters list |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
if (typeof api === 'undefined' || !api || !api.ui || !api.ui.components) { | |
console.error('[Missing Monsters] BestiaryModAPI not available'); | |
return; | |
} | |
const BUTTON_ID = 'missing-monsters-button'; | |
const MODAL_TITLE = 'Bestiary Helper'; | |
// Hardcoded unobtainable monsters list |
NewerOlder