-
Notifications
You must be signed in to change notification settings - Fork 4
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
Wrench support extend #2
Conversation
…rench.enable_crafting
crafting only in combination with technic modpack #1
I made some changes and added support for |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I think that unit tests can only ensure a stable and consistent API. The interaction with other mods we can only ensure with integration tests (with loading other mods). |
Could possibly try separate integration tests with actual player interaction by actually loading mods and writing simple test loop where player picks up and places whitelisted nodes. Probably need to implement some missing functionality for Mineunit and allow disabling test failures that happen because of deprecated Minetest Lua API use, many mods are using deprecated functions and currently Mineunit throws errors for some if deprecated version is used. |
@OgelGames i found some issues with your changes: digistuff:detector digistuff:eeprom
|
It works fine for me...
Ah... that doesn't set it's formspec the same was as Fixed here: mt-mods/digistuff@b60d9b3 |
Sorry, my mistake |
Looks good to me so far. I think it would be good if we include support for |
IMO we should only support the versions stated in the readme, the API can be used for adding support for other versions/nodes. While it would be good to support more, I think in the long run it will be a lot easier to manage if we only support specific versions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is still stuff I want to add, but I don't have time for that at the moment, and it's better to make another PR anyway.
I think everything is good enough to merge 👍
@S-S-X please review. |
Picking up bones: So no for blacklisting or whitelisting certain names but checking if that specific node has inventory and prevent pickup if it does not have, I would also recommend against digging said node because that can increase complexity and not exactly what wrench should be doing. Simply do not do anything, maybe chat message telling that node cannot be picked up with wrench because it does not have inventory. |
Fixed.
A chat message 'Cannot pickup node. Node has no inventory.' is written. |
if no objections come, I will merge this weekend and create a new branch / merge request for further customization. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems "mostly" fine... mostly because I've actually only read at most half of it, you know it is huge PR with over 2200 LoC added...
It's been two months since I approved this, I think we should just merge this now. |
I don't know why github deleted the branch automatically, but I'm gonna leave it to exist for a little bit... :) |
Adds wrench support for bones, connected_chests and some nodes from pipeworks and xdecor.
For more information see: https://github.com/mt-mods/wrench/tree/wrench_support_extend#supported-mods-and-nodes
Related to mt-mods/technic#251