roadtripping.ph Posted August 9, 2019 Report Share Posted August 9, 2019 The Petrabot´s worker class says that it "makes a worker do as instructed by the economy manager". However, I did not find the economy manager class script. Where is it? Quote Link to comment Share on other sites More sharing options...
Nescio Posted August 9, 2019 Report Share Posted August 9, 2019 You can browse all AI files at: [A24, development version]: https://trac.wildfiregames.com/browser/ps/trunk/binaries/data/mods/public/simulation/ai [A23, latest stable]: https://github.com/0ad/0ad/tree/eb2fc5c53d0c55de308be6dc5bb7f952cfbc210d/binaries/data/mods/public/simulation/ai You could consider doing a `grep -ir econom`. 1 Quote Link to comment Share on other sites More sharing options...
roadtripping.ph Posted August 9, 2019 Author Report Share Posted August 9, 2019 (edited) I found only the class bellow in config.js. Would it be the "economy manager"? **It doesn´t look like the "economy manager". this.Economy = { "popPhase2": 38, // How many units we want before aging to phase2. "workPhase3": 65, // How many workers we want before aging to phase3. "workPhase4": 80, // How many workers we want before aging to phase4 or higher. "popForDock": 25, "targetNumWorkers": 40, // dummy, will be changed later "targetNumTraders": 5, // Target number of traders "targetNumFishers": 1, // Target number of fishers per sea "supportRatio": 0.35, // fraction of support workers among the workforce "provisionFields": 2 }; Edited August 9, 2019 by roadtripping.ph Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.