- Aug 28, 2013
- 2.398
- 7.756
Ok so after playing around for a while I have found how to make more diplo-actions need council votes, so I thought I would write a quick guide for other people so everyone knows how to do it.
If any more clarification is needed then let me know and I'll see if I can help
- In defines.lua find the action that you want the council to vote on eg the replace_mercenary_captain_interaction
- Add that interaction to REGENCY_VOTING if you want the regent to vote on that interaction
- In the laws folder add to the ze_council_power_laws a new law group with whatever name you want eg:
Code:
replace_merc_cpt_voting_power = { law_type = council allowed_for_councillors = yes }
- Create a block for your new law in the laws = { clause, the easiest way is to just copy one of the existing ones then change your conditions. For this guide I recommend just copying and modifying the last on execution_voting_power
- Create your two new laws replace_merc_cpt_voting_power_0 and replace_merc_cpt_voting_power_1 and put them in group = replace_merc_cpt_voting_power
- Change occurences of execution_voting_power_1 and execution_voting_power_0 to be replace_merc_cpt_voting_power_1 and replace_merc_cpt_voting_power_0 respectively in your new laws
- Change execute_imprisoned_interaction/disable_council_voting_on_issue = execute_imprisoned_interaction to be execute_imprisoned_interaction/disable_council_voting_on_issue = replace_mercenary_captain_interaction
- Change which is default, the potential, allow and effect etc to your liking
- Create localisation for your new laws
- Create new for and against voting patterns in council_voting to include your new laws and then add those voting patterns to the council_positions files. This part is the most annoying as you have to balance them out so each of teh different council parties properly decide whether to be for or against your actions.
If any more clarification is needed then let me know and I'll see if I can help
- 9