# Kittens Resource Tooltip

An extension script for Kittens Game that adds a tooltip to each resource name, showing a list of buildings that require that resource.

## Included Files

- `kittens_resource_tooltip.min.js`
  Minified version for normal use. Use this file for distribution.

- `kittens_resource_tooltip.js`
  Unminified version with preserved readability. Intended for code review, modification, and reference.

## Usage

1. Install this script in a userscript manager or in a browser extension that can run custom JavaScript.
2. Open Kittens Game.
3. After the game has finished loading, move the mouse cursor over a resource name.
4. A tooltip will appear, showing a list of buildings that require that resource.

## Recommended File

In most cases, use `kittens_resource_tooltip.min.js`.
If you want to inspect the code or modify it yourself, use `kittens_resource_tooltip.js`.

## Notes

- This script may stop working if Kittens Game changes its UI class names or internal implementation in a future update.
- Tooltip behavior may conflict with other UI-modifying scripts.
- This is an unofficial extension. Use it at your own risk.

## License

MIT License. See `LICENSE` for details.
