Commit Graph

53 Commits

Author SHA1 Message Date
6c369e2b6b optionally depend on waypoint_announce; use hook to update recent 2023-05-14 17:47:32 +03:00
73bb4a1eab add an API to push recent locations from code 2023-05-14 16:39:35 +03:00
1193508202 add feature that scans chat for coords and allows navigating to it
Scan chat messages for coordinates and store N most recent.
Formspecs allows choosing one of the messages later and setting coords
to ones which were mentioned.
2023-05-14 10:57:00 +03:00
637a2b949f Revert "add: cooking a compass will reset it"
This reverts commit 4da4a63c6c.
2023-05-12 22:22:48 +03:00
38ca0a6480 add readme 2023-05-12 22:21:01 +03:00
05f47c2445 fix overwriting a non-compass item because of switching during lag 2023-05-12 20:54:52 +03:00
4da4a63c6c add: cooking a compass will reset it 2023-05-12 17:52:07 +03:00
f4299c2cda don't show label/owner if position is not set 2023-05-12 17:10:46 +03:00
bc8166e365 add [owner] to compass item description 2023-05-12 16:54:51 +03:00
3f30011448 when crafting a copy, make crafting player the owner of copy 2023-05-12 16:32:34 +03:00
aa575ae02b hack to fix overlapping label/distance of waypoint display 2023-05-08 00:47:10 +03:00
ffd618cee0 add MIT license 2023-05-05 20:06:33 +03:00
f5964b962d use DIR_DELIM for portability 2021-06-22 16:25:56 +03:00
0516abbc59 Fix public make_compass 2021-06-21 15:15:19 +02:00
185994da45 better pos arg check for waypoint_compass.make_compass() 2021-06-21 00:35:27 +03:00
63bcd595ec add waypoint_compass.make_compass function that makes compass w/meta 2021-06-21 00:10:56 +03:00
a1a5c874df remove non-existing function from waypoint_lib exports 2021-06-07 23:02:31 +03:00
a4e7f092cc add arrows and shadows back to inv image to properly draw wielded
Since alpha of overlay is in clip mode, it does not matter
2021-06-07 03:51:14 +03:00
ffbb4c4015 make inventory item change color according to waypoint color 2021-06-06 21:59:16 +03:00
cefafaef3b change background picture size to odd numbers, add north line 2021-06-03 09:58:10 +03:00
c7398ef8ca make owner changable if position is unset 2021-06-02 15:37:16 +03:00
0e7d7247f4 increase update interval 2021-05-31 09:56:55 +03:00
ee04e06144 cleanup duplicated check 2021-05-31 09:33:58 +03:00
393ef6a80b fix being unable to craft new compass (detect it in craft_predict) 2021-05-28 20:44:21 +03:00
81d9733ba5 add ability to unset compass when coords field is empty 2021-05-28 15:57:30 +03:00
677d6a47f7 make textures nicer 2021-05-28 15:57:09 +03:00
de0becf1d8 tweak icon 2021-05-28 15:36:19 +03:00
827766a92f add copy crafting recipie 2021-05-28 15:36:04 +03:00
48e265aae7 add compass crafting recipie 2021-05-28 14:28:36 +03:00
99fd9076e7 add compass background 2021-05-28 14:13:03 +03:00
b49427f283 if label is empty, show coords instead 2021-05-28 10:41:58 +03:00
75223aa448 handle incorrect point_pos arg 2021-05-28 10:05:49 +03:00
f521c193dc add special handling of label string 2021-05-28 10:05:24 +03:00
ac0f1a299b cleanup 2021-05-28 10:03:23 +03:00
5da1285a18 fix setting description to coords without need 2021-05-28 10:01:22 +03:00
8fb45f1e94 rename textures to avoid name collisions 2021-05-27 16:32:51 +03:00
040c325087 fix lib file path 2021-05-27 12:51:48 +03:00
ba891c36d8 make coords_from_string take more string formats 2021-05-27 12:41:20 +03:00
0114c295e6 make compass formspec wider 2021-05-27 09:15:35 +03:00
037930fec0 use waypoint_lib 2021-05-27 09:15:35 +03:00
f3a39cba09 use naming convention for globals 2021-05-27 07:18:18 +03:00
3ee54fb685 clean up after players who left 2021-05-18 16:24:16 +03:00
bc9040d551 do not return nil from get_compass_meta_pos, add is_set instead 2021-05-17 21:26:17 +03:00
e14d942193 do not show unset position 2021-05-17 21:06:47 +03:00
cbc5cda07b add owner check - first user is owner and only owner can edit 2021-05-17 20:12:08 +03:00
ac9d3f2368 add basic dialog for editing compass settings 2021-05-17 17:16:12 +03:00
0357e8a267 split code into compass_use_callback to use with on_place and on_use 2021-05-17 13:26:09 +03:00
3633a0cabf make hud update instant on using the compass 2021-05-16 21:07:45 +03:00
ef4adb9613 use raycast to find pointed object, add some config variables 2021-05-16 18:31:50 +03:00
b1b233033b add texture, increase range 2021-05-15 15:15:26 +03:00