Hey Putmalk, a question for you if you have the time for it. I was thinking about expanding the Patronage policies to include Vassals, so that you'd get various science,opinion and tax/gold bonuses. If I were to do that, I would need to use lua to check the players' policies, then somehow get the related values (I saw stuff like GetYieldPerTurnFromVassals in your code, so that's possible I guess?) and modify them accordingly, right? My knowledge of lua almost only includes staring at the code with blank eyes (and using IsHasPolicy,eheh), so all these are probably harder than it looks, and I can see that panels etc. would also need to properly represent such changes.
All in all, do you think such a thing is possible, or feasible? I heard excessive use of lua can cause performance problems, and as it stands such a mod would run checks every turn for each player, so would that noticeably slow down the game? Thanks.
All in all, do you think such a thing is possible, or feasible? I heard excessive use of lua can cause performance problems, and as it stands such a mod would run checks every turn for each player, so would that noticeably slow down the game? Thanks.