Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make creature overlay icons optional #78053

Merged

Conversation

Procyonae
Copy link
Contributor

Summary

None

Purpose of change

Supersedes the sees_player_retro mod by allowing it to be changed in game without save file editing and across all tilesets

Describe the solution

Add a cached option to hide/show creature overlay "icons", specifically effects, sees_player and move_mode (not clothing, mutations etc)

Describe alternatives you've considered

Including an Auto option as the default that allows the selected tileset to pick instead (see first commit). I think this would've been nicer but it seemed like it would be awkward to cache and as far as I can tell this needs to be checked pretty often.
Splitting it into more nuanced options or going completely crazy and adding something akin to the autopickup manager for it so you could whitelist/blacklist individual effects etc
I'm not entirely happy with where the option is but idk where better to put it

Testing

Tested effects, sees_player and move_mode

Additional context

See #51910 (comment)
I'm saving removing sees_player_retro until I've merged its sprites into the base tileset and they're live

Works but isn't easily cacheable so I think I'll drop the tileset field which'll have the benefit of making this alot neater too
@github-actions github-actions bot added [C++] Changes (can be) made in C++. Previously named `Code` astyled astyled PR, label is assigned by github actions json-styled JSON lint passed, label assigned by github actions labels Nov 21, 2024
@github-actions github-actions bot added the BasicBuildPassed This PR builds correctly, label assigned by github actions label Nov 22, 2024
@Night-Pryanik Night-Pryanik merged commit d42cfd9 into CleverRaven:master Nov 22, 2024
23 of 26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
astyled astyled PR, label is assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions [C++] Changes (can be) made in C++. Previously named `Code` json-styled JSON lint passed, label assigned by github actions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants