Mxt-dot / BetterAI

Europa Universalis 4 Mod, improving the AI
7 stars 3 forks source link

exploit tax optimization #42

Open Mxt-dot opened 3 years ago

Mxt-dot commented 3 years ago

longshotimpossible said on steam:

Hi, I noticed that you wrote that there is no way to receive the country's tax income in your latest commit to exploit_events.txt. This can be done by multiplying the national income by the tax income percentage: export_to_variable = { which = monthly_income value = trigger_value:monthly_income } export_to_variable = { which = tax_income_percentage value = trigger_value:tax_income_percentage } multiply_variable = { which = monthly_income which = tax_income_percentage } multiply_variable = { which = monthly_income value = 60 } You can then add ducats to the treasury with binary addition.