34 Commits

Author SHA1 Message Date
Michal Cieslakiewicz
886cbcefa7 minertools: changed flashlight control to item 'use' function.
Flashlight on/off switching moved to 'use' (left click) key.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2018-10-07 22:38:20 +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
74958f5c97 minertools: add flashlight mode to umg.
UMG can now be the source of very bright light if
wielded_light mod is also enabled.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2018-10-07 19:35:21 +02:00
Michal Cieslakiewicz
4bf88c360f minertools: fix incorrect message label in umg.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2018-10-07 19:20:34 +02:00
Michal Cieslakiewicz
2ab53b81e7 minertools: fix computer mode indexing.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2018-10-07 19:18:15 +02:00
Michal Cieslakiewicz
80de2f1ed5 minertools: double-click mechanics improved for ama and umg.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2018-10-07 17:22:03 +02:00
Michal Cieslakiewicz
23f48b77ed minertools: sound changed for computer function toggle.
New sound added for toggle to make it different from parameter
change click. Affects PMC, AMA and UMG.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2018-10-07 15:40:44 +02:00
Michal Cieslakiewicz
98867c7cd8 minertools: fix incorrect mineralfinder stone indexing.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2018-10-07 15:29:16 +02:00
Michal Cieslakiewicz
7ba50dcf2c minertools: fix error in mineralfinder_use() in functions.lua.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2018-10-07 14:36:14 +02:00
Michal Cieslakiewicz
371639ecbb minertools: major code cleanup and optimisation.
Common code and variables moved to functions.lua, device
code updated.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2018-10-07 14:00:13 +02:00
Michal Cieslakiewicz
dc223e3516 minertools: description.txt updated.
PMC, AMA and UMG mentioned in file.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2018-10-06 15:48:16 +02:00
Michal Cieslakiewicz
8dd1fbb5f0 minertools: ultimate mining gizmo (UMG) added.
Enhanced version of AMA, designed to be the ultimate mining computer module.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2018-10-06 15:31:28 +02:00
Michal Cieslakiewicz
49b7e445df minertools: AMA upgraded to show signal strength in MF mode.
When working as MineralFinder, AMA now shows signal strength which
is function of distance to nearest ore block (it drops with
1/3 radius range, from HIGH through MEDIUM to LOW). Thanks to this
AMA which has quite long MF range compared to standalone MF,
can be more useful in locating ores.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2018-10-06 14:33:11 +02:00
Michal Cieslakiewicz
09257d99a9 minertools: advanced mining assistant (AMA) added.
AMA is upgraded version of PMC. Ranges and sensivity
are increased.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2018-10-05 23:45:43 +02:00
Michal Cieslakiewicz
3d9fc4e5e4 TODO: file updated.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2018-10-05 23:27:56 +02:00
Michal Cieslakiewicz
acef5d8283 minertools: personal mining computer (PMC) added.
This device is 3-in-1, it combines geothermometer,
mineral scanner and mineral finder in one compartment
while retaining each device's characteristics.
Double right-click to change device mode.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2018-10-05 23:23:57 +02:00
Michal Cieslakiewicz
b6933064a9 minertools: common code moved to functions.lua.
functions.lua file contains functions planned for reuse
with coming all-in-one devices.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2018-10-05 20:57:21 +02:00
Michal Cieslakiewicz
cc503d5663 minertools: mineral finder always starts with coal selected.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2018-10-05 17:28:16 +02:00
Michal Cieslakiewicz
6f1407e7b9 minertools: reverse mineral scanner range selection.
Mineral scanner now starts with maximum range, right-clicking
decreases range.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2018-10-05 17:23:05 +02:00
Michal Cieslakiewicz
f77b38bd22 TODO: file updated.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2018-10-05 17:00:59 +02:00
Michal Cieslakiewicz
a9f0954d71 minertools: description.txt updated.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2018-10-05 16:56:54 +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
b9c4662d09 minertools: small sound fix and info for mineral scanner.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2018-10-05 09:32:24 +02:00
Michal Cieslakiewicz
73e78a64f4 minertools: portable mineral scanner added.
Handheld scanner shows ores (including obsidian) in cubic area
centered at player current position within preset range.

Left click (use) - scan for ores and send result via chat
Right click (place, secondary use) - change scan range

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2018-10-05 08:59:27 +02:00
Michal Cieslakiewicz
71f8a9e948 minertools: update sounds.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2018-10-04 17:16:31 +02:00
Michal Cieslakiewicz
3740deeb12 minertools: geothermometer now recognizes gravel and clay.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2018-10-04 17:15:32 +02:00
Michal Cieslakiewicz
1bd8599b93 minertools: geothermometer: color messages, add error beep.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2018-10-04 17:01:32 +02:00
Michal Cieslakiewicz
4b55129887 minertools: add beep to geothermometer scan.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2018-10-04 13:41:44 +02:00
Michal Cieslakiewicz
7f0bfc949d minertools: geothermometer now scans only 'natural' nodes.
Geothermometer is now limited to natural (mineral) nodes like
stones, sand, dirt, raw ore blocks and simple processed stones
that retain 'natural' characteristics.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2018-10-04 13:06:57 +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
Michal Cieslakiewicz
dc897b1377 TODO: file updated.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2018-10-04 00:23:02 +02:00
Michal Cieslakiewicz
1e9c6a4d68 geothermometer: inventory image and chat message updated.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2018-10-04 00:20:22 +02:00
Michal Cieslakiewicz
2e40c91d05 Initial commit.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
2018-10-03 21:49:04 +02:00