
Hello guys!
I try to add some subdivided tariff control button, but the tariff control functions are hardcoded as
'SetGoodsTariffImportPriority'
'SetGoodsTariffNoPriority'
'SetGoodsTariffExportPriority'
these three functions. I guess each function call return modifier
'tariff_modifier_import_priority',
'tariff_modifier_no_priority' ,
'tariff_modifier_export_priority',
from common/laws/00_trade_policy.txt.
So my question is this, is there anyway add my own custom function which returns my custom modifier from custom .txt file?
I figure out how to add new button on the budget panel, but i need new function to make the button work