action · ui.action.actor

actor.contribute-one

Contributes one currency unit from the selected actor to their household.

ui.action.actor.contribute-one
Stable ID
ui.action.actor.contribute-one
Owner
controls.ControlState
Authority
presentation
Timing
immediate
Availability
Phase 14H standard interface
Side effects
Invokes the package action callback; gameplay requests still use commands.
Determinism
Action identity is stable and independent of physical input.
Introduced
1.4.0

Usage

Bind this action to a standard-interface control after the selected Actor is directly controlled and both custody queries are available.

Parameters

Returns

No direct value. The package handler submits command.money.contribute for one minor currency unit.

Cost

One package action callback, three detached queries, and one bounded command submission.

Fields

This symbol has no fields.

Errors

Examples

ui.button("Contribute One", "ui.action.actor.contribute-one", "Move one coin to this villager's household", 1)

API history

Related symbols

Project references