-
Notifications
You must be signed in to change notification settings - Fork 6
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
VanessaE's changes + useable with technic mod + minetest.find_node_near #5
base: master
Are you sure you want to change the base?
Conversation
technic_power_tool
technic.register_technic_power_tool
minetest.find_node_near(pos, radius, nodename)
.. "label[0,0;Charge: "..meta:get_int("charge")) | ||
end | ||
furnace_pos = minetest.find_node_near(pos, UFO_CHARGE_RADIUS, "ufos:furnace") | ||
if furnace_pos then |
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.
lt looks like this breaks ufo fuelling, it's supposed to work faster with more furnaces.
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.
what? its already very fast with one furnace.
But u could also use "find_nodes_in_area".
This Pullrequest makes 3 new things:
1.It does make VanessaE's changes like in her pullrequest
2.it makes the ufos:ufo tool to a technic_power_tool chargable in technic battery (very slow)
3.it replaces the algorithm to find the UFO-charging furnace with the minetest buildin minetest.find_node_near