Skip to content

Show the cursor of the followed player in surveillance - #467

Merged
Cooldude2606 merged 3 commits into
explosivegaming:mainfrom
bbassie:feat/surveillance-cursor
Sep 6, 2026
Merged

Show the cursor of the followed player in surveillance#467
Cooldude2606 merged 3 commits into
explosivegaming:mainfrom
bbassie:feat/surveillance-cursor

Conversation

@bbassie

@bbassie bbassie commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Closes #427.

A label under the surveillance camera shows what the followed player holds in their cursor: the item with quality and count (Cursor: [item=deconstruction-planner,quality=normal] x1) or the ghost item, and Cursor: empty otherwise. It is refreshed every 10 ticks through a cursor_label define which holds its camera in element data and reads the camera's target, and is hidden while the camera shows a fixed location. Locale added in en, zh-CN and zh-TW.

Lua lint is clean and the scenario loads on my dev instance; the label needs a player to view.

bbassie and others added 3 commits September 5, 2026 20:54
A label under the camera shows what the player being followed holds in
their cursor, item and count or the ghost item, so that using a
deconstruction planner or similar can be seen. It is hidden while the
camera shows a fixed location.

Closes explosivegaming#427
The cursor was a line of text under the camera, which read as an
afterthought next to the framed header. It is now a slot button in the
header after the zoom buttons: the item sprite with its count, greyed out
for a ghost, an empty slot for an empty cursor, and the item name in the
tooltip. The window keeps its shape whatever the item is called.
@Cooldude2606
Cooldude2606 merged commit bad80ed into explosivegaming:main Sep 6, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

surveillance add cursor

2 participants