DigglesMods / BugFix

Fixes bugs like 'forever pregnancy', Guard-House, 'transport experience calculation error'
GNU General Public License v3.0
1 stars 1 forks source link

Cut tree vs get from storage #16

Closed cech12 closed 2 months ago

cech12 commented 2 years ago

reji: Also not sure it's bug out supposed, but gnomes mainly go to cut trees for mushroom's hats/stems instead of picking them from storage (i have like dozen). Probably priority thing - give will not use storage, if he can cut new tree?

saibantes commented 2 months ago

The work-time planning is all done in compiled code, not the Tcl scripts. Therefore I don't see a way to change this - unless you replace the work scheduler completely, which is what the RevisedPlanner mod does.

In RevsedPlanner, gnomes prefer material that is closer to the manufacturing site (there is no difference between storage and stuff just laying around). Cutting down a tree/mushroom is equivalent to walking another 50 units of distance (currently line 337 in prod_autoprod.tcl).

cech12 commented 2 months ago

Thanks for your answer! I think, this issue is not really an issue and the searched behaviour could be achieved by using the Revised Planner mod :)