No reviewers
Labels
No labels
accessibility
animation
audio
bake
blocked
bug report
controversial
cosmetics
documentation
easy
economy
events
feature request
gadgets
hard
impossible
medium
multiplayer
physics
rendering
social
ui
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
elsie/liuverse!123
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/37-38-search-for-a-room"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
closes #37 closes #38
What the worker did
Commit
57110bfonfeat/37-38-search-for-a-room.What changed:
liuverse-world/src/search.rs(new) builds a baked localSearchIndexover rooms, signs and buildings, withfold, ranking, distance/bearingDirection, and tests.liuverse-datagainedroom_function_name,room_function_aliases,room_displayandchat::command.main.rsbuilds the index and handles/querychat commands: searches from the player's ENU position, pushes answer lines with distance + cardinal bearing + floor/building, and limits to the top 5.chat.rs/hud.rscolor self-answered lines as own.main.rsgained awaypointfield; the best search hit becomes a floatingWorldLabelmarker (visible through walls, on its floor) shown in both first-person and theMmap overview.net.rsgainedpush_localfor client-only answer lines.How a human sees it: type
/231or/toalettin chat and press Enter; the log answers with matches like231 WC · 40 m north (floor 2, A-huset), and a marker floats over the destination, including on theMoverview.Deliberately left out: MazeMap's indoor routing service (straight-line distance/bearing only, per the issue's fallback), clearing a waypoint, and any rebake.
assets/baked/valla.binuntouched.How to test
Type
/231or/toalettin the chat field and press Enter. The log answerswith matches like
231 WC · 40 m north (floor 2, A-huset), and a markerfloats over the destination, on its floor, visible through walls and on the
Moverview.A 👍 reaction on this pull request flags it for merge.
Pull request closed