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 effector with capability to break nodes #664

Closed
lolbinarycat opened this issue Dec 19, 2023 · 2 comments
Closed

add effector with capability to break nodes #664

lolbinarycat opened this issue Dec 19, 2023 · 2 comments

Comments

@lolbinarycat
Copy link
Contributor

brought up in #543, this would greatly increase the types of automation possible with mesecons.

unsure if this already exists in another mod.

the node would have a single inventory slot with a tool.

when given power, it would calculate mining time for the node it was facing based on the tool it contained.

after the calculated amount of time had passed, calls minetest.dig_node and adds wear to the contained tool.

the item is dropped where the node previously was.

@Desour
Copy link
Contributor

Desour commented Dec 20, 2023

Apart from the dig time, the node breaker in pipeworks already does this.

This feature is more work to implement properly than you might think, because you need a fake player for on_dig callbacks and similar.

(Also mesecons currently doesn't do anything with items, so it wouldn't really fit in. Disclaimer: That's just my opinion. I'm not a maintainer.)

@lolbinarycat
Copy link
Contributor Author

thanks! that basically answers my question.

closing this as out of scope/covered by other mods.

@lolbinarycat lolbinarycat closed this as not planned Won't fix, can't repro, duplicate, stale Dec 20, 2023
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

No branches or pull requests

2 participants