NOTE: Apparently some people are having an issue where this causes a menu that won't close (see page 2 of this thread). I don't have time to look into it currently, so I'll just say "try at your own risk" for this one.
This is a rewrite of the tax collection menu to cycle through all your holdings and collect it all at once. All you have to do is visit any owned town or village and you'll get all taxes from all your villages/castles/towns.
To install, open up menus.txt and go to line 203 - this should be menu_center_tax. Highlight that line, and paste this in over it:
Once this is done, you should be able to visit any of your holdings to collect taxes on all of them. I tested this and it works, so if you experience a problem (game crashing after you edit it) make sure you didn't accidentally paste over mno_continue or accidentally move mno_continue up to line 203.
For future reference (and in case anyone wants to add this to their mod once the 1.003 module system is out), the python code for this would be something like this:
This is a rewrite of the tax collection menu to cycle through all your holdings and collect it all at once. All you have to do is visit any owned town or village and you'll get all taxes from all your villages/castles/towns.
To install, open up menus.txt and go to line 203 - this should be menu_center_tax. Highlight that line, and paste this in over it:
Code:
menu_center_tax 512 You_receive_the_accumulated_rents_and_taxes_of_your_fiefs,_amounting_to_{reg1}_denars. none 13 2319 1 3 2133 2 1224979098644774915 0 6 3 1224979098644774912 648518346341351443 648518346341351591 541 3 1224979098644774912 7 360287970189639680 521 3 1224979098644774913 1224979098644774912 47 521 3 1224979098644774914 1224979098644774912 48 2105 2 1224979098644774915 1224979098644774913 2105 2 1224979098644774915 1224979098644774914 501 3 1224979098644774912 47 0 501 3 1224979098644774912 48 0 3 0 2133 2 72057594037927937 1224979098644774915 1 3 936748722493063468 360287970189639680 1224979098644774915 1
For future reference (and in case anyone wants to add this to their mod once the 1.003 module system is out), the python code for this would be something like this:
The part I actually modified is in blue.(
"center_tax",mnf_disable_all_keys,
"You receive the accumulated rents and taxes of your fiefs, amounting to {reg1} denars.",
"none",
[
(str_clear, s3),
(assign, ":total_tax", 0),
(try_for_range, ":center_no", centers_begin, centers_end),
(party_slot_eq, ":center_no", slot_town_lord, "trp_player"),
(party_get_slot, ":accumulated_rents", ":center_no", slot_center_accumulated_rents),
(party_get_slot, ":accumulated_tariffs", ":center_no", slot_center_accumulated_tariffs),
(val_add, ":total_tax", ":accumulated_rents"),
(val_add, ":total_tax", ":accumulated_tariffs"),
(party_set_slot, ":center_no", slot_center_accumulated_rents, 0),
(party_set_slot, ":center_no", slot_center_accumulated_tariffs, 0),
(try_end),
(assign, reg1, ":total_tax"),
(call_script, "script_troop_add_gold", "trp_player", ":total_tax"),
],