Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR is related to #302.
I went over the code and removed as many hardcoded references to the skills as I found.
This means the following things are reworked:
The only drawback is that the new command implementation also requires you to pass a number to the get subcommand.
If anyone has an suggestion on how make that optional depending on the subcommand that would be appreciated.
Another change is that the order of skills in the inventory is different now.
This is done because before the skills where added column by column and now they are added row by row.
This could be changed by reordering the skills in the Skill class.
One thing that need to be done for this to be actually useful is making the SkillScreen is Scrollable.
Once that is done other mods can add as many skills as they want and everything will be updated as needed.
The buttons get added and work at the moment but they are outside of the window.
Also can someone explain why my IconsStitcher class only works with the main texture.
The correct Identifier gets passed to the draw function and also the correct coordinates but the texture does not appear in game.