action · ui.action.work
work.assign
Requests assignment of the selected actor to the displayed Work target.
ui.action.work.assign
- Stable ID
ui.action.work.assign- Owner
- controls.ControlState
- Authority
- presentation
- Timing
- immediate
- Availability
- Phase 16D player direction
- Side effects
- Invokes the package action callback; gameplay requests still use commands.
- Determinism
- Action identity is stable and independent of physical input.
- Introduced
- 1.5.0
Usage
Assign the displayed work target to the selected villager through the normal Work command.
Parameters
- None
Returns
No direct value; the package handler submits command.work.assign.
Cost
One action callback, bounded detached reads, and one command submission.
Fields
This symbol has no fields.
Errors
Examples
ui.button("Assign", "ui.action.work.assign", "Assign this work", 1)
API history
- 1.5.0: Standard Work assignment action added.