5 Commits

Author SHA1 Message Date
Michal Cieslakiewicz
e0fa4333ed minertools: code rewritten and reorganized.
Major changes:
* all code now in init.lua which eliminates need for global functions
  and variables
* all item-specific data is now stored within item definition
* item configuration stored in metadata
* double-click mechanics eliminated completely, device settings
  available via right-click menu (formspec)
* code reusability by various devices improved dramatically
* flashlight option removed as light level is global item property
  and cannot be set independently for each device

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2018-10-11 16:44:24 +02:00
Michal Cieslakiewicz
fb277e512a minertools: add optional dependency on wielded_light.
For UMG Flashlight mode.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2018-10-07 20:17:09 +02:00
Michal Cieslakiewicz
e828c5bac4 minertools: mineral finder added.
This tool detects selected ore in front of device
(directional scanner) but can be obstructed by obsidian
deposits to make things a little harder.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2018-10-05 16:53:00 +02:00
Michal Cieslakiewicz
3930d068ad minertools: add optional dependency on moreores.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2018-10-05 10:03:46 +02:00
Michal Cieslakiewicz
3b96c952d0 Geothermometer renamed to minertools, chip added.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2018-10-04 09:41:39 +02:00