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

Add charge set/get callbacks #600

Merged
merged 4 commits into from
Jun 6, 2022

Conversation

sfence
Copy link
Contributor

@sfence sfence commented May 31, 2022

Add technic_set_charge and technic_get_charge optional callbacks for tems/tools.

For the easier making of multi mod chargeable tools.

sfence added 2 commits May 31, 2022 21:38
…items/tools (For easier making of multi mod chargable tools).
@sfence sfence changed the title Add charge set/get xcallbacks Add charge set/get callbacks May 31, 2022
@sfence
Copy link
Contributor Author

sfence commented Jun 6, 2022

Fixed potentially metadata values lost in default_set_charge function.

@SmallJoker
Copy link
Member

Thank you. I noticed that the previous code did the same thing, hence removed the comment shortly afterwards. Nevertheless, a good addition.

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