Commit Graph

61 Commits

Author SHA1 Message Date
whosit 3b67989f3c check if position is not nil when teleporting 2023-07-27 07:13:22 +03:00
whosit f43ff56fb1 add a teleport button for people with teleport priv 2023-07-27 06:42:06 +03:00
whosit 4c5437da71 strip/sanitze escape sequences to try to prevent formspec errors 2023-06-26 17:33:21 +03:00
whosit 421bc76081 increase the length of messages in history 2023-05-30 08:29:29 +03:00
whosit 4004eb9ce5 be more strict about matching the coords from chat
Match 3 integer numbers separated by spaces and/or ",:;"
2023-05-30 08:21:35 +03:00
whosit c01ba435b7 fix overwriting other compass if switched before formspec appears 2023-05-24 19:44:38 +03:00
whosit 83b4002aaa fix the matching of negative numbers again (hopefully) 2023-05-15 00:45:04 +03:00
flux fd520efce6
fixes to copying coordinates from chat 2023-05-14 11:35:03 -07:00
whosit 6c369e2b6b optionally depend on waypoint_announce; use hook to update recent 2023-05-14 17:47:32 +03:00
whosit 73bb4a1eab add an API to push recent locations from code 2023-05-14 16:39:35 +03:00
whosit 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
whosit 637a2b949f Revert "add: cooking a compass will reset it"
This reverts commit 4da4a63c6c.
2023-05-12 22:22:48 +03:00
whosit 38ca0a6480 add readme 2023-05-12 22:21:01 +03:00
whosit 05f47c2445 fix overwriting a non-compass item because of switching during lag 2023-05-12 20:54:52 +03:00
whosit 4da4a63c6c add: cooking a compass will reset it 2023-05-12 17:52:07 +03:00
whosit f4299c2cda don't show label/owner if position is not set 2023-05-12 17:10:46 +03:00
whosit bc8166e365 add [owner] to compass item description 2023-05-12 16:54:51 +03:00
whosit 3f30011448 when crafting a copy, make crafting player the owner of copy 2023-05-12 16:32:34 +03:00
whosit aa575ae02b hack to fix overlapping label/distance of waypoint display 2023-05-08 00:47:10 +03:00
whosit ffd618cee0 add MIT license 2023-05-05 20:06:33 +03:00
whosit f5964b962d use DIR_DELIM for portability 2021-06-22 16:25:56 +03:00
AliasAlreadyTaken 0516abbc59 Fix public make_compass 2021-06-21 15:15:19 +02:00
whosit 185994da45 better pos arg check for waypoint_compass.make_compass() 2021-06-21 00:35:27 +03:00
whosit 63bcd595ec add waypoint_compass.make_compass function that makes compass w/meta 2021-06-21 00:10:56 +03:00
whosit a1a5c874df remove non-existing function from waypoint_lib exports 2021-06-07 23:02:31 +03:00
whosit 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
whosit ffbb4c4015 make inventory item change color according to waypoint color 2021-06-06 21:59:16 +03:00
whosit cefafaef3b change background picture size to odd numbers, add north line 2021-06-03 09:58:10 +03:00
whosit c7398ef8ca make owner changable if position is unset 2021-06-02 15:37:16 +03:00
whosit 0e7d7247f4 increase update interval 2021-05-31 09:56:55 +03:00
whosit ee04e06144 cleanup duplicated check 2021-05-31 09:33:58 +03:00
whosit 393ef6a80b fix being unable to craft new compass (detect it in craft_predict) 2021-05-28 20:44:21 +03:00
whosit 81d9733ba5 add ability to unset compass when coords field is empty 2021-05-28 15:57:30 +03:00
whosit 677d6a47f7 make textures nicer 2021-05-28 15:57:09 +03:00
whosit de0becf1d8 tweak icon 2021-05-28 15:36:19 +03:00
whosit 827766a92f add copy crafting recipie 2021-05-28 15:36:04 +03:00
whosit 48e265aae7 add compass crafting recipie 2021-05-28 14:28:36 +03:00
whosit 99fd9076e7 add compass background 2021-05-28 14:13:03 +03:00
whosit b49427f283 if label is empty, show coords instead 2021-05-28 10:41:58 +03:00
whosit 75223aa448 handle incorrect point_pos arg 2021-05-28 10:05:49 +03:00
whosit f521c193dc add special handling of label string 2021-05-28 10:05:24 +03:00
whosit ac0f1a299b cleanup 2021-05-28 10:03:23 +03:00
whosit 5da1285a18 fix setting description to coords without need 2021-05-28 10:01:22 +03:00
whosit 8fb45f1e94 rename textures to avoid name collisions 2021-05-27 16:32:51 +03:00
whosit 040c325087 fix lib file path 2021-05-27 12:51:48 +03:00
whosit ba891c36d8 make coords_from_string take more string formats 2021-05-27 12:41:20 +03:00
whosit 0114c295e6 make compass formspec wider 2021-05-27 09:15:35 +03:00
whosit 037930fec0 use waypoint_lib 2021-05-27 09:15:35 +03:00
whosit f3a39cba09 use naming convention for globals 2021-05-27 07:18:18 +03:00
whosit 3ee54fb685 clean up after players who left 2021-05-18 16:24:16 +03:00