RimWorld

RimWorld

Vanilla Furniture Expanded
Large bin problem
I'm not sure if this issue should be filed as a bug report, so I'm writing a separate thread. The problem is that with the mod update, trash bins now have a mechanic of filling and cleaning, and this mechanic creates a large delay that greatly reduces TPS. Having 44 large trash bins in the DPA, I see that the delay created by calling "VanillaFurnitureEC.CompBinClean:CompTick" is on average 0.600-0.700 ms, but it can easily grow to 1.200-1.300 ms, which causes strong TPS drops and makes playing with trash bins almost impossible. I tried assigning pawns only to garbage collection, but cleaning the trash bins did not give results, only disassembling them and reinstalling them helps for a while.

Also, the mechanics of the fill slider at 0% work strangely, in this case the pawn begins to endlessly clean the trash bin even when there is no trash in it.