Make easy crafting hook for ox inventory #1869
Merged
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.
I've been using this method for a very long time, it's time for me to share hehe
This will make you not have to worry if you create a new crafting in writing random inline code.
In the doc, we need benchId and/or benchIndex for specific bench what we want.
But we will make it easier and safer when making a hook by just giving it its name
This add new parameter for documentation in crafting hooks
For usage, just like this
Conclusion: This method only helps make it easier for you to create a hook using a pre-set name without having to look at or calculate the benchId that has been created in crafting.lua. Sorry for my bad english, hope it helps
Discord Forum Post : Overextended Discord