fluffy-mods / ColonyManager

Colony manager for RimWorld
Other
72 stars 38 forks source link

Unmark Trees for Chop Wood if over Target Count? #67

Closed maarxx closed 6 years ago

maarxx commented 7 years ago

If the colony achieves / surpasses the target count for wood, I'd expect the manager to unmark trees for chop wood that the manager had previously marked.

I don't think it does this?

FluffierThanThou commented 7 years ago

you're right, it does not. It's a good idea though!

FluffierThanThou commented 6 years ago

I've had a look at this, but it gets tricky. The main problem are interactions with designations made by the user manually.

I'm currently taking those into account, and make new designations accordingly. Keeping user and manager designations separate isn't a huge deal during the current game, but after a save/load it becomes a problem, as I have no reliable way to reference designations upon loading. In technical terms, the Designation class does not implement the ILoadReferenceable interface.

I'm therefore shelving this suggestion until the inevitable Colony Manager V3 rewrite.

shiribailem commented 6 years ago

A possibly easier option to consider (as this is the problem I run into constantly), perhaps have it track wood outside of stockpiles as well?

My typical issue is that they're chopping the wood and not bringing it back before the next round of management, which marks more trees because it sees a drop in the amount expected from designations and doesn't register that it's already chopped and waiting for transport.