Originally Posted by
Gaku
I'm talking about the pool refill rates. Some can take 10 or more turns. And having 0 refill unless your general is in a castle, and then resetting if your general leaves for any reason, is stupid and tedious.
Well what's your solution in SSHIP? "You're making slightly more money per turn, so now there's an extra 2000 cost per turn."
Ah, I've forgotten that also the pools wouldn't refill. It's to be thought out more thoroughly then.
The solution in the SSHIP is to make a few thresholds. Maybe it'll be made with more granularity in the future. But in any case, the anti-hoarding mechanism is to prevent hoarding.
Code:
monitor_event FactionTurnStart FactionIsLocal and Treasury > 200000
log --- economy script anti-hoarding script for keeping over 200k treasury (50%)
console_command add_money -100000
historic_event MONEY_LOSS_FOR_KEEPING_HUGE_TREASURY ; info for the player so that he's aware
set_event_counter player_treasury 53
end_monitor
monitor_event FactionTurnStart FactionIsLocal
and Treasury > 100000
log --- economy script anti-hoarding script for keeping over 100k treasury (30%)
console_command add_money -30000
if I_EventCounter player_treasury < 53 ; so that no more than 1 info a turn appears on the screen (needed becaus the monitors are consequtive)
historic_event MONEY_LOSS_FOR_KEEPING_HUGE_TREASURY
end_if
set_event_counter player_treasury 52
end_monitor
monitor_event FactionTurnStart FactionIsLocal
and Treasury > 50000
log --- economy script anti-hoarding script for keeping over 50k treasury (20%)
if I_EventCounter MONEY_MEDICI_FAMILY > 0
and I_EventCounter faction_turn_southern_european > 0
log ------ terminate monitor for SE after Medici Family
terminate_monitor
end_if
if I_EventCounter MONEY_FUGGER_FAMILY > 0
and I_EventCounter faction_turn_northern_european > 0
log ------ terminate monitor for NE after Fugger Family
terminate_monitor
end_if
console_command add_money -10000
if I_EventCounter player_treasury < 52
historic_event MONEY_LOSS_FOR_KEEPING_LARGE_TREASURY
end_if
set_event_counter player_treasury 51
end_monitor
monitor_event FactionTurnStart FactionIsLocal
and Treasury > 20000
log --- economy script anti-hoarding script for keeping over 20k treasury (20%)
if I_EventCounter MONEY_BARDI_BANK > 0
and I_EventCounter faction_turn_catholic > 0
log ------ terminate monitor for catholic after bardi
terminate_monitor
end_if
console_command add_money -2000
if I_EventCounter player_treasury < 51
historic_event MONEY_LOSS_FOR_KEEPING_SIGNIFICANT_TREASURY
end_if
set_event_counter player_treasury 21
end_monitor