Hello,
i want to change the cost of technologies based on the affinity the player has and the affinity the tech provides, e.g.:
for every x point in y affinity, all technologies of the other two affinity cost 10% more.
this would make it very difficult to research everything.
my problem is that i need the lua functions for:
1) how do i get the affinity level
2) how do i get if a tech provides an affinity (i could simply hardcode it by looking what techs provides what affinities in the xml)
3) how do i get beaker cost of said technolgy
4) how to change beaker cost
thanks.
i want to change the cost of technologies based on the affinity the player has and the affinity the tech provides, e.g.:
for every x point in y affinity, all technologies of the other two affinity cost 10% more.
this would make it very difficult to research everything.
my problem is that i need the lua functions for:
1) how do i get the affinity level
2) how do i get if a tech provides an affinity (i could simply hardcode it by looking what techs provides what affinities in the xml)
3) how do i get beaker cost of said technolgy
4) how to change beaker cost
thanks.