philmasterplus
Active member
I'm talking about the in HP/MP Usage panel under the Adventure tab.

The two lists have grown massive over the years and it is daunting. If we could separate them by type, it would be easier to manage.
I also made a mockup of the reorganized HP/MP restoration panel (edit: fixed link, also see thumbnail below) to give you a general idea of what I'm talking about. This showcases two changes: (1) categorizing the sources, and (2) sorting items by name. I'm pushing for idea (1) here, and idea (2) is just an afterthought for now.

I'm still exploring how to implement this. For now, it makes sense to convert
I'm well out of my depth in this area, so opinions are welcome.

The two lists have grown massive over the years and it is daunting. If we could separate them by type, it would be easier to manage.
- Items: All usable items. Includes "spleen" items, once-per-day items, and NPC store items.
- Skills: Skills that can be cast to restore HP or MP
- Actions: Anything other than the above. Includes resting (campground/campaway/chateau) or doing something special (meatpasting quarks)
HPRestoreItemList.java
and 71 MP restoring options in MPRestoreItemList.java
. Check out the google sheet.I also made a mockup of the reorganized HP/MP restoration panel (edit: fixed link, also see thumbnail below) to give you a general idea of what I'm talking about. This showcases two changes: (1) categorizing the sources, and (2) sorting items by name. I'm pushing for idea (1) here, and idea (2) is just an afterthought for now.

I'm still exploring how to implement this. For now, it makes sense to convert
HPRestoreItem
into an abstract class and make three concrete child classes: HPRestoreItemItem
, HPRestoreItemSkill
, HPRestoreItemAction
. We would still have a single array of HPRestoreItem
for managing configuration and actually restoring HP/MP. We could make some instanceof
checks in RestoreOptionsPanel.java
to build three lists.I'm well out of my depth in this area, so opinions are welcome.
Last edited by a moderator: