Combat Locket - What monsters do you lack?

Irrat

Member
With the iotm of feb 2022, we have a locket that stores monsters.

But what happens if you want to know what monsters you're lacking? This is a bit frustrating!

This script reads locket_monsters.txt to tell you what locket monsters in that list, you still do not have.

locket_monsters.txt is a list of monster names, that can be separated with a tab to include the monster group.

If the monster group is included, the group is collapsed to be a bit less spammy.
You can hover over the monster to see what locations it is found in, but of course some monsters may lack a location or the location is just vague enough a name that it's not immediately obvious.

The source is found here

Installation is

Code:
svn checkout https://github.com/libraryaddict/KolLocket/branches/release/

Usage is as simple as "locket" or to provide a different limit on how many lines to print than the default of 10, provide a number. "locket 20"

Example picture is
1645664966474.png

Just about all the monsters in the list has been provided by the members of ASS, and taken from their spreadsheet for spading the locket.
The black crayon monsters, understandably they could definitely be whittled down. But some people like the reminder there. Even if the monsters are all basically the same.

Spreadsheet link

There is one limitation of this script that is worth noting, because of the way the locket works in mafia, it cannot pull any locket data if you did not open the locket page in that session. So restarting after using all 3 reminisces, will mean it can't pull data. Which is why it saves a preference so if you call the script while the data is accessible; It can still work after you restart it that day.

This isn't really worth noting honestly, if you encounter this scenario you will see a message explaining it regardless.
 
Last edited:
Handy!
To help out with the vague locations, you could include the .zone of the location too. That's the container thingy that mafia uses to organize the locations in the adventure tab.
> ash $location[the bandit crossroads].zone

Returned: FantasyRealm

> ash $location[the battlefield (hippy uniform)].zone

Returned: IsleWar
 

Veracity

Developer
Staff member
Your file has the War Frat Mobile Grill Unit but the Hippy equivalent is Bailey's Beetle and is missing.
(I have both of them in my locket. :)
 

VladYvhuce

Member
I can see this being particularly helpful for Grey You runs. While there are links one can go to find out what monsters one needs to absorb, this script is good for seeing if those are missing from the locket, without having to sort all those tables by alphabetical order and switch back and forth between the locket's dropdown and any open browser tabs that have those tables.
 

Magus_Prime

Active member
Would you be willing to expand the script to cover the "every monster possible" category in some fashion?

> locket 10

Hover over the monsters to see locations
KoL High School Monsters: X-fingered Shop Teacher
You have 141 / 142. Including every monster possible*, you have 464 / 1366
 

Magus_Prime

Active member
Updated to r58 and this is the result.
> locket *

The string "*" is not an integer; returning 0 (file:/C:/Users/John/Sync/Kol/scripts/locket.js#655)
Hover over the monsters to see locations
KoL High School Monsters: X-fingered Shop Teacher
You have 141 / 142. Including every monster possible*, you have 464 / 1366
> locket all

The string "all" is not an integer; returning 0 (file:/C:/Users/John/Sync/Kol/scripts/locket.js#655)
Hover over the monsters to see locations
KoL High School Monsters: X-fingered Shop Teacher
You have 141 / 142. Including every monster possible*, you have 464 / 1366
 

Magus_Prime

Active member
Thanks for the tip. Is there any way to exclude "Locationless" monsters from the results if you specify "all"'; or do I have to modify locket_monsters.txt to include location information for the "Locationless" monsters?
 

Irrat

Member
Pushed an update to the script.

You can now filter what monsters to show.
The file doesn't actually use the same logic, just a warning.

My favorite be "canadv", showing what monsters I can get from places I can access.
A side effect from the update is that it'll hide monsters that are "not available" in that location. Such as oil baron and the like, could be effected depending on your account status.

Just provide 'help'
 
Top