LordStark Posted June 26, 2022 Report Share Posted June 26, 2022 I would like the female citizens and citizen soldiers to gain experience simply by doing a particular kind of work (chopping down trees, mining, building). Any ideas how to do this? Even better would be if certain upgrades could be unlocked based on the tasks the citizen had been doing. As an example, if they do a lot of chopping down of trees they could have the option of being appointed (upgraded) to a "Lumberjack". Everyone in my mod can be upgraded from a normal citizen once they reach elite status. The can follow the nobleman path upgrade, the retinue path upgrade, or the peasant upgrade path. For the female villagers I want there to be a "Lady" path upgrade. The problem is that the female citizens will never get the chance to have a choice because it is very difficult to gain them experience. Quote Link to comment Share on other sites More sharing options...
Stan` Posted June 26, 2022 Report Share Posted June 26, 2022 You need to add cmpPromotion.IncreaseXp To some other components like gathering. See how it's done for healing and attacking. https://github.com/0ad/0ad/search?q=IncreaseXp&type= I don't think you can unlock an upgrade though. Experience cannot as far as I am aware be used for now as an upgrade requirement. Quote Link to comment Share on other sites More sharing options...
Freagarach Posted June 27, 2022 Report Share Posted June 27, 2022 On 26/06/2022 at 1:03 PM, Stan` said: I don't think you can unlock an upgrade though. Experience cannot as far as I am aware be used for now as an upgrade requirement. You can let them promote into an entity that can upgrade? 1 Quote Link to comment Share on other sites More sharing options...
Stan` Posted June 27, 2022 Report Share Posted June 27, 2022 37 minutes ago, Freagarach said: You can let them promote into an entity that can upgrade? Oh right. Quote Link to comment Share on other sites More sharing options...
wowgetoffyourcellphone Posted June 27, 2022 Report Share Posted June 27, 2022 1 hour ago, Freagarach said: You can let them promote into an entity that can upgrade? Our solutions person! 1 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.