;;;野外军队开支;;;
;;;通货膨胀;;;
declare_counter inflation
declare_counter field_cost
declare_counter settlement_cost
monitor_event FactionTurnStart FactionIsLocal
and Treasury < 35000
set_counter inflation 0
end_monitor
monitor_event FactionTurnStart FactionIsLocal
and Treasury >= 35000
and Treasury < 80000
set_counter inflation 1
end_monitor
monitor_event FactionTurnStart FactionIsLocal
and Treasury >= 80000
and Treasury < 120000
set_counter inflation 2
end_monitor
monitor_event FactionTurnStart FactionIsLocal
and Treasury >= 120000
set_counter inflation 3
end_monitor
monitor_event SettlementTurnEnd FactionIsLocal
and SettlementType city
and SettlementBuildingExists = wooden_pallisade
if I_CompareCounter inflation = 1
console_command add_money -100
inc_counter settlement_cost 100
end_if
if I_CompareCounter inflation = 2
console_command add_money -200
inc_counter settlement_cost 200
end_if
if I_CompareCounter inflation = 3
console_command add_money -300
inc_counter settlement_cost 300
end_if
end_monitor
monitor_event SettlementTurnEnd FactionIsLocal
and SettlementType city
;;;通货膨胀;;;
declare_counter inflation
declare_counter field_cost
declare_counter settlement_cost
monitor_event FactionTurnStart FactionIsLocal
and Treasury < 35000
set_counter inflation 0
end_monitor
monitor_event FactionTurnStart FactionIsLocal
and Treasury >= 35000
and Treasury < 80000
set_counter inflation 1
end_monitor
monitor_event FactionTurnStart FactionIsLocal
and Treasury >= 80000
and Treasury < 120000
set_counter inflation 2
end_monitor
monitor_event FactionTurnStart FactionIsLocal
and Treasury >= 120000
set_counter inflation 3
end_monitor
monitor_event SettlementTurnEnd FactionIsLocal
and SettlementType city
and SettlementBuildingExists = wooden_pallisade
if I_CompareCounter inflation = 1
console_command add_money -100
inc_counter settlement_cost 100
end_if
if I_CompareCounter inflation = 2
console_command add_money -200
inc_counter settlement_cost 200
end_if
if I_CompareCounter inflation = 3
console_command add_money -300
inc_counter settlement_cost 300
end_if
end_monitor
monitor_event SettlementTurnEnd FactionIsLocal
and SettlementType city