[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"mod-raider-approach-lag-fix":3,"mods-more-author-raider-approach-lag-fix":25,"mods-more-category-raider-approach-lag-fix":26,"mods-similar-raider-approach-lag-fix":87},{"id":4,"slug":5,"name":6,"shortDescription":7,"author":8,"workshopUrl":9,"imageKey":10,"thumbnailUrl":11,"packageId":12,"category":13,"tags":14,"downloadCount":17,"rating":18,"publishedAt":19,"updatedAt":19,"description":20,"ratingCount":21,"version":10,"gameVersion":10,"images":22,"videos":23,"kofiUrl":24,"patreonUrl":24},"61cc81ae-07a5-48bf-abd3-6946eed88d79","raider-approach-lag-fix","Raider Approach Lag Fix","Raider Approach Lag Fix Reduces periodic freezes that can occur while hostile raiders are approaching the colony.","OldManYoung","https:\u002F\u002Fsteamcommunity.com\u002Fsharedfiles\u002Ffiledetails\u002F?id=3781897112","","https:\u002F\u002Fimages.steamusercontent.com\u002Fugc\u002F16589361055813527480\u002FFF51EB5A666D8FDC9618A605F45FB2D78830821F\u002F","oldmanyoung.raiderapproachlagfix","management",[15,16],"mod","1.6",2271,4.7,"2026-08-11T21:56:29.0000000Z","\u003Ch2>Raider Approach Lag Fix\u003C\u002Fh2>\r\n\r\nReduces periodic freezes that can occur while hostile raiders are approaching the colony.\r\n\r\n\u003Cstrong>This mod does not address freezes that happen while a raid is initially being generated.\u003C\u002Fstrong> It targets a separate performance problem that occurs after the raiders have already entered the map.\r\n\r\n\u003Ch3>The Problem\u003C\u002Fh3>\r\n\r\nDuring the approach phase, RimWorld periodically checks whether valuable objects are located near the raiders. This allows the raid to transition from attacking the colony to stealing valuables.\r\n\r\nThe vanilla scan searches around every eligible raider. Because raiders travel together, their search areas overlap heavily. The same nearby trees, stone chunks, walls and items can consequently have their MarketValue calculated dozens of times during a single scan.\r\n\r\nTrees and stone chunks are especially resource intensive. Their MarketValue can use a fallback calculation that searches the loaded recipe database. Mods can make this worse by adding both more candidate objects and more recipes, which explains why the stuttering may gradually increase along with the number of mods without one particular mod being responsible.\r\n\r\nOur diagnostics recorded approximately 7,000–9,000 value requests during individual scans, despite approximately 250–400 distinct map objects being examined. Some objects were recalculated more than 20 times during the same synchronous scan.\r\n\r\n\u003Ch3>The Fix\u003C\u002Fh3>\r\n\r\nRaider Approach Lag Fix creates a temporary MarketValue cache for the duration of each high-value-object scan.\r\n\r\n\u003Cul>\u003Cli>The first value request for an individual object runs normally.\u003C\u002Fli>\u003Cli>Additional requests for the same object during that scan reuse the completed result.\u003C\u002Fli>\u003Cli>The cache is cleared immediately after the scan.\u003C\u002Fli>\u003Cli>Values are calculated again during the next scan.\u003C\u002Fli>\u003C\u002Ful>\r\n\r\nThe cache does not persist between game ticks and does not create a permanent wealth database.\r\n\r\nThe mod does not intentionally change the scan interval, search radius, reachability checks, stealing threshold, candidate validation or target-selection behavior. It reduces repeated calculations rather than removing the stealing check.\r\n\r\n\u003Ch3>Test Results\u003C\u002Fh3>\r\n\r\nIn heavily modded tests, the unmodified scan required approximately:\r\n\r\n\u003Cul>\u003Cli>28–43 milliseconds on average\u003C\u002Fli>\u003Cli>41–50 milliseconds for the slowest scans\u003C\u002Fli>\u003Cli>Thousands of repeated MarketValue calculations\u003C\u002Fli>\u003C\u002Ful>\r\n\r\nWith caching enabled, later representative tests measured:\r\n\r\n\u003Cul>\u003Cli>Approximately 2.5–3.8 milliseconds per scan\u003C\u002Fli>\u003Cli>A maximum complete scan of approximately 4.4 milliseconds\u003C\u002Fli>\u003Cli>Approximately 93–96% of repeated requests served by the cache\u003C\u002Fli>\u003C\u002Ful>\r\n\r\nThe exact conditions differed somewhat between tests, so these figures should be treated as representative rather than universal benchmarks. In the test environment, the visible approach-phase freezes effectively disappeared.\r\n\r\nStealing behavior was also tested by placing accessible gold and silver along the raiders’ route. The raiders detected the valuables, transitioned into stealing and carried the items away as expected.\r\n\r\n\u003Ch3>Diagnostic Logging\u003C\u002Fh3>\r\n\r\nOptional performance diagnostics are available through:\r\n\r\n\u003Ccode>\r\nOptions → Mod settings → Raider Approach Lag Fix\r\n\u003C\u002Fcode>\r\n\r\nDiagnostics are disabled by default. When enabled, the mod reports scan duration, cache hits, actual calculations, raider count and the most recent nearby-value result.\r\n\r\nThe optimization remains active regardless of whether or not diagnostic logging is enabled.\r\n\r\n\u003Ch3>Compatibility\u003C\u002Fh3>\r\n\r\nNo direct Harmony conflicts were found in the fully modded test configuration.\r\n\r\nMods that add items, trees, stone chunks, recipes or other content are not inherently incompatible. Their MarketValue behavior still runs for the first request made for each individual object.\r\n\r\nPotential compatibility review may be required for mods that directly replace or heavily patch:\r\n\r\n\u003Ccode>\r\nStealAIUtility.GetValue\r\nStealAIUtility.TotalMarketValueAround\r\n\u003C\u002Fcode>\r\n\r\n\u003Ch3>Requirements\u003C\u002Fh3>\r\n\r\n\u003Cul>\u003Cli>RimWorld 1.6\u003C\u002Fli>\u003Cli>\u003Ca href=\"https:\u002F\u002Fsteamcommunity.com\u002Fworkshop\u002Ffiledetails\u002F?id=2009463077\" target=\"_blank\" rel=\"noopener noreferrer\">Harmony\u003C\u002Fa>\u003C\u002Fli>\u003C\u002Ful>\r\n\r\n\r\nIf reporting a problem, please include your raid type, approximate raider count, map biome, full mod list and Player.log. Enabling the optional diagnostics before reproducing the issue will provide additional useful information.\r\n\r\n\u003Ch3>Source Code\u003C\u002Fh3>\r\n\r\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002FOldManYounger\u002FRimworld-Raider-Approach-Lag-Fix\" target=\"_blank\" rel=\"noopener noreferrer\">GitHub repository and issue tracker\u003C\u002Fa>\r\n\r\nLicensed under the MIT License.\r\n\r\nThis is unofficial community-created content and is not endorsed by Ludeon Studios.",67,[],[],null,[],[27,47,60,73],{"id":28,"slug":29,"name":30,"shortDescription":31,"author":32,"workshopUrl":33,"imageKey":10,"thumbnailUrl":34,"packageId":35,"category":13,"tags":36,"downloadCount":43,"rating":44,"publishedAt":45,"updatedAt":46},"e1fa0b06-1dcb-4198-9303-ece406f4de08","camera","Camera+","Camera+ gives RimWorld a better camera for both close detail and wide map control.","Brrainz","https:\u002F\u002Fsteamcommunity.com\u002Fsharedfiles\u002Ffiledetails\u002F?id=867467808","https:\u002F\u002Fimages.steamusercontent.com\u002Fugc\u002F1469814660532590020\u002F8D6E6E0241F7B496903E751AB72BBBF12ED58B39\u002F","brrainz.cameraplus",[15,16,37,38,39,40,41,42],"1.5","1.4","1.3","1.2","1.1","1.0",1671998,4.9,"2017-02-19T10:34:00.0000000Z","2026-05-29T15:00:36.0000000Z",{"id":48,"slug":49,"name":50,"shortDescription":51,"author":52,"workshopUrl":53,"imageKey":10,"thumbnailUrl":54,"packageId":55,"category":13,"tags":56,"downloadCount":57,"rating":44,"publishedAt":58,"updatedAt":59},"a9225303-0064-40d9-aa94-1658652d0410","defensive-positions","Defensive Positions","Allows your colonists to remember their position during base defense.","Symbolic","https:\u002F\u002Fsteamcommunity.com\u002Fsharedfiles\u002Ffiledetails\u002F?id=761219125","https:\u002F\u002Fimages.steamusercontent.com\u002Fugc\u002F258219525688881448\u002F571E34E4639D0B7438CCAA5A4A8D7F100E9A706E\u002F","unlimitedhugs.defensivepositions",[15,42,41,40,37,38,39,16],1295726,"2016-09-10T14:12:42.0000000Z","2025-07-27T19:25:55.0000000Z",{"id":61,"slug":62,"name":63,"shortDescription":64,"author":65,"workshopUrl":66,"imageKey":10,"thumbnailUrl":67,"packageId":68,"category":13,"tags":69,"downloadCount":70,"rating":44,"publishedAt":71,"updatedAt":72},"88f5e80a-100a-4ccf-8466-c7ae57283cb2","vanilla-fishing-expanded","Vanilla Fishing Expanded","Vanilla Fishing Expanded is a first module in a brand new mod series “Vanilla Cuisine Expanded” from the Vanilla Expanded team.","Sarg Bjornson","https:\u002F\u002Fsteamcommunity.com\u002Fsharedfiles\u002Ffiledetails\u002F?id=1914064942","https:\u002F\u002Fimages.steamusercontent.com\u002Fugc\u002F11871394281737654254\u002FB9A50B582C76B8C281B16DC1C03EA9AAAA5D31AC\u002F","vanillaexpanded.vcef",[15,16,37,38],1486392,"2019-11-16T13:40:27.0000000Z","2026-03-20T07:46:57.0000000Z",{"id":74,"slug":75,"name":76,"shortDescription":77,"author":78,"workshopUrl":79,"imageKey":10,"thumbnailUrl":80,"packageId":81,"category":13,"tags":82,"downloadCount":83,"rating":84,"publishedAt":85,"updatedAt":86},"66029291-97e1-4a29-943c-5ed35f3dbbf9","wall-light","Wall Light","As of update 1.5, Rimworld now contains wall lamps that serve the same purpose that this mod served for many, many years. So, what does this do now? Adds wall sun lamps. Lets you configure the vanilla wall lamps (and the added wall sun lamps) like you could with the old wall ligh","76561197974772219","https:\u002F\u002Fsteamcommunity.com\u002Fsharedfiles\u002Ffiledetails\u002F?id=1423699208","https:\u002F\u002Fimages.steamusercontent.com\u002Fugc\u002F2470859602987524086\u002F3A138ADCA16713DB6E5A160D655D391E3C5C6B7D\u002F","murmur.walllight",[15,41,40,37,38,39],1818868,5,"2018-06-26T22:46:07.0000000Z","2024-04-18T18:59:22.0000000Z",[88,101,103,117],{"id":89,"slug":90,"name":91,"shortDescription":92,"author":93,"workshopUrl":94,"imageKey":10,"thumbnailUrl":95,"packageId":96,"category":13,"tags":97,"downloadCount":98,"rating":44,"publishedAt":99,"updatedAt":100},"04f09c3c-0430-4892-9ce0-83aab8e491c1","common-sense","Common Sense","Allows your pawns to act smarter.","avil","https:\u002F\u002Fsteamcommunity.com\u002Fsharedfiles\u002Ffiledetails\u002F?id=1561769193","https:\u002F\u002Fimages.steamusercontent.com\u002Fugc\u002F1738926765441255834\u002F5887EBFD41E92A778CEA523A485A761BC163A761\u002F","avilmask.commonsense",[15,16,37,38,39,40,41,42],1591711,"2018-11-10T19:39:35.0000000Z","2025-10-12T15:40:19.0000000Z",{"id":48,"slug":49,"name":50,"shortDescription":51,"author":52,"workshopUrl":53,"imageKey":10,"thumbnailUrl":54,"packageId":55,"category":13,"tags":102,"downloadCount":57,"rating":44,"publishedAt":58,"updatedAt":59},[15,42,41,40,37,38,39,16],{"id":104,"slug":105,"name":106,"shortDescription":107,"author":108,"workshopUrl":109,"imageKey":10,"thumbnailUrl":110,"packageId":111,"category":112,"tags":113,"downloadCount":114,"rating":44,"publishedAt":115,"updatedAt":116},"6440285d-08ba-4767-81ff-dbb3e796f628","vanilla-furniture-expanded-production","Vanilla Furniture Expanded - Production","1.1.0 (24\u002F02\u002F2020): We are now 1.1 compatible. 1.0.2 (05\u002F10\u002F2019): Now compatible with Dubs: Hygiene. Also, fixed the linkables not connecting to vanilla stoves. 1.0.1 (04\u002F10\u002F2019): Fixed the bills not being worked. 1.0.0 (04\u002F10\u002F2019): Release This module is a part of Vanilla Fur","Oskar Potocki","https:\u002F\u002Fsteamcommunity.com\u002Fsharedfiles\u002Ffiledetails\u002F?id=1880253632","https:\u002F\u002Fimages.steamusercontent.com\u002Fugc\u002F13641350758078043794\u002FD1D88F9BE584D54AF0680B418135DE55D60B08DA\u002F","vanillaexpanded.vfeproduction","furniture",[15,37,38,16],1595475,"2019-10-04T15:36:52.0000000Z","2025-06-30T11:07:32.0000000Z",{"id":118,"slug":119,"name":120,"shortDescription":121,"author":52,"workshopUrl":122,"imageKey":10,"thumbnailUrl":123,"packageId":124,"category":13,"tags":125,"downloadCount":126,"rating":44,"publishedAt":127,"updatedAt":128},"54ff6b67-f141-4816-822f-ad10a2fab1b0","hugslib","HugsLib","This is a library that provides shared functionality for other mods.","https:\u002F\u002Fsteamcommunity.com\u002Fsharedfiles\u002Ffiledetails\u002F?id=818773962","https:\u002F\u002Fimages.steamusercontent.com\u002Fugc\u002F103978299280169442\u002FA67F10574269C336608796DAF2A6ECF3B96B0F59\u002F","unlimitedhugs.hugslib",[15,42,41,40,37,38,39,16],3393497,"2016-12-15T17:06:09.0000000Z","2025-07-13T19:18:38.0000000Z"]