Usually, as soon as you fire someone from the council, (s)he gets the "fired from council" opinion modifier, which weighs in at a hefty -20 opinion points for ten years. That makes reassignment difficult when your best potential steward is chancellor and vice versa. This mod allows you to shuffle around your council members, though not without limits.
If you reassign someone to a council position who was previously fired, (s)he'll lose the "fired from council" opinion modifier and gain a new one. It says "Concerned about job security", strikes at your relations with only -10 points and a length of one year.
Most probably you are already using a mod that uses job_titles.txt and/or opinion_modifiers.txt. In that case you'll have to do a bit of copy-pasting.
Edit the gain_effect section of each job in job_titles.txt (the one in the folder of the mod you're using, of course! ) like this:
Should your mod also add/manipulate opinions, add this to opinion_modifiers.txt:
Note that although the "fired from council" modifier can't stack up anymore, the "job security concerns" will after repeated reassignments! If you don't want that, add remove_opinion = { who = FROM modifier = opinion_job_security_concerns } to the lose_effect sections in job_titles.txt.
Licensing: If you want to add/adapt this to a mod release of yours, go ahead. Crediting, where appropriate, is always a nice move, of course.
If you reassign someone to a council position who was previously fired, (s)he'll lose the "fired from council" opinion modifier and gain a new one. It says "Concerned about job security", strikes at your relations with only -10 points and a length of one year.
Most probably you are already using a mod that uses job_titles.txt and/or opinion_modifiers.txt. In that case you'll have to do a bit of copy-pasting.
Edit the gain_effect section of each job in job_titles.txt (the one in the folder of the mod you're using, of course! ) like this:
Code:
gain_effect = {
if = {
limit = {
has_opinion_modifier = {
who = FROM
modifier = opinion_fired_from_council
}
}
remove_opinion = { who = FROM modifier = opinion_fired_from_council }
opinion = { who = FROM modifier = opinion_job_security_concerns }
}
}
Should your mod also add/manipulate opinions, add this to opinion_modifiers.txt:
Code:
opinion_job_security_concerns = {
opinion = -10
months = 12
}
Note that although the "fired from council" modifier can't stack up anymore, the "job security concerns" will after repeated reassignments! If you don't want that, add remove_opinion = { who = FROM modifier = opinion_job_security_concerns } to the lose_effect sections in job_titles.txt.
Licensing: If you want to add/adapt this to a mod release of yours, go ahead. Crediting, where appropriate, is always a nice move, of course.
Attachments
Last edited: