-
Notifications
You must be signed in to change notification settings - Fork 472
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prevent labors from being set on visitors #4973
Comments
You can use could the "fix" here possibly be to disallow setting of labors for visitors from their info sheets? I'm not sure that capability is intended. |
Ah awesome, makeown will do! Is there a way to select all visitors at once? |
i am fairly certain that the ability to manipulate the labors of nonresidents is a bug |
This should do it: :lua for _,unit in ipairs(world.units.active) do if dfhack.units.isActive(unit) and dfhack.units.isVisitor(unit) then print('Converting ' .. dfhack.units.getReadableName(unit)) reqscript('makeown').make_own(unit) end end Note that this will also pick up forgotten beasts, who are classified as "visitor, unwanted" |
So to explain this issue, there seems to be a bug in the game, where if you have visitors , let's say, 20, and you have a total of 30 population, in the Labor tab there will only show 10 of them (the original dwarves). However, if you go to any of those visitors and click on their own labour tab, you can assign works there. Yeah, 2 years later, those visitors will ask for citizenship, but meanwhile you're unable to see them in main labor matrix.
Would it be possible to display everyone in the main Labor tab? Or maybe force the conversion of those visitors
The text was updated successfully, but these errors were encountered: