Ради вашего удобства наш сайт использует cookies! Узнать больше! Мы используем cookies

Improve This

Mark buildings to have their quality improved: - Marked buildings will be improved as a construction task, priority just below all other construction tasks (has its own tab) - The existing building is NOT deconstructed, the task is an in-place quality improvement attempt -- Note: The task DOES count as using the building, so for things like chairs it will block sitting and sitting will block improving - Any pawn can do most of the improve work, but only pawns with sufficient skill can finish the task; this can be used to safely train construction - Improve cost is calculated from the building cost and deconstruct returned items (a wood bed that costs 45 wood will cost 23 wood to improve, since you normally get 22 back) - Improve work time is the same as constructing that building again, but can be freely cancelled to get the items back - If the new quality is worse than the current quality, the quality is NOT changed This makes it equivalent to building a new building and deconstructing whichever one has worse quality, with the added bonuses of not needing the full cost tied up in a second building and not needing to relocate the new building if it's better. I made this primarily because Quality Builder was becoming a chore with how it works. It's a nice mod, but if you have an existing building you want to be better it's a pain to do, and until it's done you don't have that building anymore. Config settings: - Per-quality option for required skill to improve to that quality (default 5% odds) - "Do Trials" option, generates 1mil results per skill level and calculates per-quality settings to chosen odds NOTE: This mod does not in any way change how quality odds work, the effect of improving a building is identical to building a second copy of that building and then deconstructing whichever one is worse, except that it's more convenient. Changing these settings will only change which pawns are allowed to finish an improvement task, it will not make outcomes any more or less likely. The 5% odds is purely to calculate level cutoffs so pawns finishing the task have at least 5% chance of succeeding. Known issues: - Quality Of Building appearance doesn't update to new quality - Quality Builder adding quality to buildings doesn't add the option to improve them - No check to prevent improving things not owned by you (i.e. mech cluster buildings) - No check to prevent improving things that you can't build due to not having researched it Planned additions: - Right-click option to specify target quality GitHub: [url=https://steamcommunity.com/linkfilter/?u=https%3A%2F%2Fgithub.com%2FHexicube%2FRimWorld-Mods]https://github.com/Hexicube/RimWorld-Mods[/url] For other modders: If you add your own ways of having pawns produce higher-quality buildings (similar to inspired creativity), you can let this mod know about it via ImproveThis_Mod.PawnModifiers.Add(delegate (Pawn pawn) {...}), returning an int modifier on the input quality (inspired creativity is -2). If you get a null pawn, return the best-case scenario; this is for checking the minimum possible skill for fail messages. Place this mod after all other mods that add buildings with quality.