Worker slot control in the inspector (#136) #154
No reviewers
Labels
No labels
assets
bug
duplicate
enhancement
help wanted
invalid
question
testing
ui
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
liamjd/UntitledColonyBuilder!154
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "136-worker-slot-control"
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?
Adds a Timberborn-style worker slot control to the inspector for construction and demolition sites.
Workers: a / b(assignees / open slots) with-and+, which callTaskManager.set_open_slots().-is disabled at 1 and+at the task's maximum.WorkerSlotper worker the task can take. Each slot is closed, open or occupied, and occupied slots show the pawn's id. Occupied slots come first, in claim order, then open, then closed. Slots only display; clicking them does nothing.Verification
test/unit/test_worker_slot_section.gdhas 29 tests, written to the spec before the implementation.tools/screenshot_worker_slots.gd: the grid sits under the header, and occupied and closed slots render.Closes #136
🤖 Generated with Claude Code