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

Mod items in inventory #3190

Closed

Conversation

Pepe20129
Copy link
Contributor

@Pepe20129 Pepe20129 commented Sep 13, 2023

This PR allows for runtime registration of custom items with callbacks to retrieve the item icon, item name texture and item action func.

Item name texture currently doesn't work and more advanced items (items that have more complex behaviour that just execute code on use like bow, hammer, etc.) can't be implemented yet in this system.

Build Artifacts

@garrettjoecox
Copy link
Contributor

Going to close this, the documentation changes, and some of the changes to the save editor are welcome to come in a separate PR, but I think most of the code here falls under the more invasive mod territory than we want in the main codebase for now. I think plenty of people will still be interested in this code so I would recommend keeping the branch around and creating a post in the modding forum if you haven't already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants