[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [glob2-devel] Inn maintenance bug
From: |
Nuage |
Subject: |
Re: [glob2-devel] Inn maintenance bug |
Date: |
Mon, 09 Jan 2006 04:36:32 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051107 |
Alright, you can take a look inside the places it's tuned:
Team::findBestFoodable()
Team::findBestFillable()
Building::subscribeToBringRessourcesStep()
Did change the allocation system to tune it a bit better.
1 - in inns, units won't try to work on it if the number of units already
working is equal or higher than the needed ressources.
2 - in other buildings, at worst, there are twice as many units working as the
needed ressouces. Both per resource and for all resources. (exception when an
unit is already carying a ressouces, in order to save it)
3 - an unit is twice less likely to work on a building where there are enough
units bringing the neeed ressouces than another one.
I hope it will help.
Nuage
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [glob2-devel] Inn maintenance bug,
Nuage <=