Skip to content

Add World Workers management tab for 2.2 alpha2 - #18

Draft
SimGamerJen wants to merge 10 commits into
agent/world-workers-alpha1from
agent/world-workers-alpha2-ui
Draft

Add World Workers management tab for 2.2 alpha2#18
SimGamerJen wants to merge 10 commits into
agent/world-workers-alpha1from
agent/world-workers-alpha2-ui

Conversation

@SimGamerJen

Copy link
Copy Markdown
Owner

Summary

Builds the first GUI layer on top of the validated Alpha 1 standalone world-worker manager.

Alpha 2 UI

  • extends Helper Management from two tabs to three: Appearances / Roster / World
  • adds a dedicated World Workers fullscreen dialog
  • lists all permanent A-T identities regardless of operational roster filtering
  • shows roster state, AI work state, world placement state, and saved X/Z coordinates
  • adds Place Here, Move Here, and Remove actions
  • delegates actions directly to the tested HP_WorldWorkerManager / HP_WorldState implementation
  • keeps world presence independent from roster ON/OFF state
  • preserves staged Appearance/Roster changes when moving between management tabs
  • adds hpWorldManage as a direct diagnostic/UI command

Test focus

  1. Open Helper Management with RCTRL+; and confirm all three tabs render.
  2. Switch repeatedly between Appearances, Roster, and World.
  3. In World, select an unplaced worker and choose Place Here.
  4. Walk elsewhere and choose Move Here.
  5. Remove the worker and confirm status refreshes immediately.
  6. Confirm OFF-roster workers remain visible/manageable in World.
  7. Confirm an active AI worker with a saved placement shows PLACED / WORKING and is not duplicated in-world.

This PR is intentionally based on agent/world-workers-alpha1 and should remain draft until in-game GUI validation is complete.

Copy link
Copy Markdown
Owner Author

In-game Alpha 2 validation (2026-08-08): WORLD tab renders correctly; tab switching works; Place Here, Move Here, and Remove all work; multiple workers spawn correctly; persistent world state restores workers on reload (K restored with reason=persistent-state). One UI defect found: PLACE HERE and MOVE HERE both inherited buttonExtra1 and displayed X. Fixed in 91c6e1f by assigning MOVE HERE the existing A-menu action profile, giving X=Place Here, A=Move Here, C=Remove. Note: world placement state writes immediately to worldWorkers.xml, so a manual Farming Simulator save is not required for placement persistence.

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.

1 participant