26a37d3076
allow setting fuzzy matching pattern after mod load
2025-04-06 08:01:49 +03:00
f501c89a4e
support decimal number matching
2025-04-06 08:01:49 +03:00
6c14da350b
defend against malformed formspecs
2025-03-14 23:02:35 +03:00
7cb0c49f09
don't use ":" (colon) as possible separator - reduce false positives
2024-11-09 09:38:09 +03:00
fda81ced37
remove unused variable
2024-11-09 09:36:44 +03:00
3b67989f3c
check if position is not nil when teleporting
2023-07-27 07:13:22 +03:00
f43ff56fb1
add a teleport button for people with teleport priv
2023-07-27 06:42:06 +03:00
4c5437da71
strip/sanitze escape sequences to try to prevent formspec errors
2023-06-26 17:33:21 +03:00
421bc76081
increase the length of messages in history
2023-05-30 08:29:29 +03:00
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
c01ba435b7
fix overwriting other compass if switched before formspec appears
2023-05-24 19:44:38 +03:00
83b4002aaa
fix the matching of negative numbers again (hopefully)
2023-05-15 00:45:04 +03:00
fd520efce6
fixes to copying coordinates from chat
2023-05-14 11:35:03 -07:00
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
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
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
ffbb4c4015
make inventory item change color according to waypoint color
2021-06-06 21:59:16 +03:00
c7398ef8ca
make owner changable if position is unset
2021-06-02 15:37:16 +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
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
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