Commit Graph

24 Commits

Author SHA1 Message Date
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
1f92dac762 set new position on right click, store pos and label in item meta 2021-05-15 03:01:38 +03:00
dc151342fd Show waypoint when holding a compass 2021-05-14 23:40:37 +03:00
e793c26f64 Just basic HUD waypoint toggle on use 2021-05-14 19:16:50 +03:00