[Mod] Prospector [1.0] [prospector]

Post Reply
New member
Posts: 9
Joined: Fri Oct 30, 2020 23:06
GitHub: Oblomov
IRC: tango_
In-game: Oblomov

[Mod] Prospector [1.0] [prospector]

by Oblomov » Post

This mod provides a prospecting kit, that combines the capabilities of the mapping kit and binoculars, enables radar view in the minimap, and can give hints about the location of hidden ores.

Lastest version: 1.0.1

GitHub link: https://github.com/Oblomov/minetest-mod-prospector

Mod dependencies: default, map, binoculars

The kit is built combining the mapping kit, binoculars, and two prospecting lenses, assembled from 4 gold ingots, 4 diamond and 1 mese crystal each.



Code: Select all


Code: Select all

where L is the lens, B the binoculars, M the mapping kit.

When the prospecting kit is in the (main) inventory, the minimap can be enabled with the appropriate key (cycling through both aerial and radar views), and the user can use zoom view (with a FOV that is even smaller than the one provided by the binoculars).

Using the prospecting kit will make all surrounding ores emit glowing particles that float towards the user. Using this feature will provisionally disable all uses of the kit (including mapping and binoculars) for a few seconds.

The recovery time and the range of the detection function can be set via the config options prospector.recovery_time and prospector.ore_detection_range. Setting prospector.ore_detection_range to 0 disables the ore detection feature altogether.


The source code is published under the Creative Commons 0 (CC0) 1.0 Universal license: https://creativecommons.org/publicdomain/zero/1.0/

The textures is licensed under Creative Commons Attribution-ShareAlike (CC BY-SA) 4.0 https://creativecommons.org/licenses/by-sa/4.0/

(The only texture present is the one for the lens, which is horrible, because I suck at art, so if anyone wants to provide a better one, please do.)

Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests