Mid-Measure is a Minetest mod which can be used for quickly calculating the distance (in all three axes) between two nodes, and ascertaining their mid-point, both of which are displayed in the chat (as of now; refer to TODO section below)
The calculations are performed right after pos2 has been marked, and if auto-reset has been enabled, will reset after the configured number of seconds.
Partly inspired by Minetest-WorldEdit
mid_measure.auto_reset
- Auto-reset duration. Accepts a value ofn
seconds, where0 <= n <= 3600
. Ifn==0
, auto-reset is disabled (not recommended for server environments).mid_measure.enable_crafting
- Enables crafting (disabled by default) of marker tool if true. The craft-recipe depends ondefault
mod.
- Mark the first node by either of the two methods given below:
- Standing on a node and typing
/mark1
. - Left-clicking on a node with the Marker.
- Standing on a node and typing
- Mark the second node by either of the two methods given below:
- Standing on a node and typing
/mark2
. - Left-clicking on another node with the Marker.
- Standing on a node and typing
- The distance will automatically be calculated after marking the second node, and the mid-point will be highlighted as well.
- Click on pos1 / pos2 / mid-point or type
/reset_mark
to manually reset at anytime.
The craft-recipe is quite simple actually. It's very similar to the recipe for torches, but the coal lump is replaced by a mese crystal fragment here.
[Mese Crystal fragment]
[Stick]
- Re-implement mod using HUD elements to output distance and mid-point co-ords.