Commit Graph

36 Commits

Author SHA1 Message Date
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
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