Skip to content

work-for-factions: never take player focus (always work in background) - #1

Open
jiransj wants to merge 1 commit into
mainfrom
no-focus-work
Open

work-for-factions: never take player focus (always work in background)#1
jiransj wants to merge 1 commit into
mainfrom
no-focus-work

Conversation

@jiransj

@jiransj jiransj commented Aug 28, 2026

Copy link
Copy Markdown
Owner

Summary

Makes the work script never steal player focus:

  • \shouldFocus\ is now always \ alse, so faction/company work, studying and crimes are always performed in the background (even at the cost of the 20% non-focus penalty).
  • The crime code path also defaults to non-focused when running as an imported function.
  • Existing --no-focus\ / --no-tail-windows\ options remain available for compatibility.

Motivation

The work-for-factions script was taking player focus, blocking other activities. This forces all its work to be backgrounded.

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