边缘世界 RimWorld

边缘世界 RimWorld

93 个评价
Switch Worker
   
奖励
收藏
已收藏
取消收藏
Mod, 1.4, 1.5, 1.6
文件大小
发表于
更新日期
184.511 KB
2022 年 12 月 18 日 下午 10:50
9 月 14 日 上午 1:51
4 项改动说明 ( 查看 )

订阅以下载
Switch Worker

描述
Lets you switch the worker for an item in the process of crafting, at the cost of half the work done so far.

Safe to add or remove at any time.
28 条留言
Kathanon  [作者] 10 月 26 日 下午 5:13 
Works for me when owner is dead.
Kathanon  [作者] 10 月 26 日 上午 2:08 
That it doesn't work when the bill is deleted seems reasonable to me, but not working when the current worker is dead is a bug. I'll see what I can do.
Garlic 10 月 25 日 下午 10:21 
nvm seems the UI/icon only pops up when the bill is not deleted or the owner is alive. So I guess you're still have to cancel unfinished items if the crafter is dead.
Kathanon  [作者] 9 月 14 日 上午 2:14 
In all, I suggest you first try verifying the game files from your game library (right-click RimWorld -> Properties... -> Installed Files -> Verify Integrity of game files), and if that does not help disabling any performance mods you are using and seeing if that helps. If it does, there is likely to be some option that you can disable in the performance mod that you can disable to fix it. The function in question is BillDialogUtility.GetPawnRestrictionOptionsForBill. I know some performance mods mention the function names in their options.
Kathanon  [作者] 9 月 14 日 上午 2:14 
So I can see two possibilities for the cause:
1. Something (another mod) breaks the connection between the unfinished thing and the crafting bill. I did make an update that prevents the error in that case, but instead it just doesn't show the control for switching workers. Unfortunately I can't say what mod might cause that.
2. One of your mods alters the function I use to get the list of pawns that could craft it instead (it is the same one used to generate the menu for selecting a specific pawn to be allowed to do the bill). In this case the issue is that it changes it in a way that is simply wrong. The most probable culprit for that would be any performance mod. I can't see what mod changes that code from your log, because the part of it where that information is listed failed (likely due to a faulty mod or possibly corrupted game files).
Gatoviejo =^,^= 9 月 13 日 下午 2:10 
hello I always get this when I click an unfinished stuff:
https://gist.github.com/HugsLibRecordKeeper/7d06df816c8b2ceefa892fedc2e6bf44
Kathanon  [作者] 7 月 14 日 下午 6:49 
Update:
- Support for RimWorld 1.6.
lieyingyes 7 月 13 日 上午 7:43 
1.6:steamthumbsup:
thorman123456789 7 月 4 日 下午 12:35 
1.6 please?
Kathanon  [作者] 2024 年 4 月 10 日 下午 7:11 
Updated for RimWorld 1.5.