CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10.24k stars 4.11k forks source link

Magiclysm spellcasting menu is missing its category selector #75666

Open db48x opened 4 weeks ago

db48x commented 4 weeks ago

Describe the bug

This menu was the only one in the game to use a uilist with categories, and now the code to implement the category selector has been removed.

The best way to fix this may be to have a unique implementation just for this menu, rather than to complicate the uilist further.

Attach save file

n/a

Steps to reproduce

Cast a spell in the Magiclsym mod.

Expected behavior

n/a

Screenshots

Screenshot 2024-08-14 at 10-33-46 uilist issues from migration #74341 · Issue #75661 · CleverRaven_Cataclysm-DDA

Versions and configuration

Additional context

No response

PatrikLundell commented 4 weeks ago

Dumbing down the functionality of support tools because it might be convenient for a change of implementation shouldn't be the first course of action. It may well be that whoever did this didn't think that functionality was used because the usage was hidden away in a mod.

db48x commented 4 weeks ago

It wasn’t done as the first course of action, it was done as a result of exhaustion.

PatrikLundell commented 4 weeks ago

Then it's even weirder. Knowingly break functionality for the time being because of being too tired to deal with it.

If it was known the functionality was used then the PR should have been kept on hold until a way to not break game functionality had been implemented.

db48x commented 4 weeks ago

Meh, the branch is called “experimental” for a reason. I presented the patch and accurately described the current state, including its known limitations. The developers committed it in spite of those limitations. If you don’t like it, take it up with them.