On 12/16/05, Stéphane Magnenat <[EMAIL PROTECTED]> wrote: > Please note that if there is no implementation bug (at there may be some as > the market has not bee extensively tested), if you set a market to store all > fruits, it will be filled until full. Then if you set it to unstore all > fruits, it can provide fruits to nearby inns. > > If you want to test this theoretical behaviour, you'll be very welcomed :-) Hmm. Well, I've put in the framework for such a thing. However... I'm not sure how to go about it. I have looked into the code, and I'm unable to figure out where the ressources variable in building gets updated. I have added in a new variable to team, teamRessources, changed the save/load code, updated and the save format version number. I've also added a new variable to building types indicating whether that building gets its ressources from the global resevoir or from the local one, i've modified the save/load code and the data/buildings.txt and data/buildings.default.txt approprietly. However, i'm not sure how to approach this otherwise.
> Steph > > -- > http://nct.ysagoon.com > > > _______________________________________________ > glob2-devel mailing list > [email protected] > http://lists.nongnu.org/mailman/listinfo/glob2-devel > _______________________________________________ glob2-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/glob2-devel
