I am not a programmer but lately I have been doing a lot of modding and tweaking to some of the notepad files in EU:Rome. It has been fairly easy so far but I am confused by some of the parenthesis in the code. For example in the objectives.txt I come across something like this:
obj_become_general = {
type = character
allow = {
can_hold_title = title_general
NOT = { has_title = title_general }
NOT = { martial = 7 }
From reading this, with my knowledge, it seems like a character is allowed to have the objective to become a general if he can hold the title and does not already have the title of general. I am not sure what the parenthesis around the martial stat mean and I don't know why the line above it needs parenthesis.
What does the bottom line mean? I'm not sure whether it means a martial stat of 7 and up, 8 and up, or just not 7. It could even work the opposite way for all I know.
I don't mean to make an extremely long thread but as long as we are talking about the objectives.txt, how does the chance/factor modifier work? I changed some of the factors but didn't see different results in game. My end goal is to modify objectives.txt to have higher goal requirements but better rewards.
obj_become_general = {
type = character
allow = {
can_hold_title = title_general
NOT = { has_title = title_general }
NOT = { martial = 7 }
From reading this, with my knowledge, it seems like a character is allowed to have the objective to become a general if he can hold the title and does not already have the title of general. I am not sure what the parenthesis around the martial stat mean and I don't know why the line above it needs parenthesis.
What does the bottom line mean? I'm not sure whether it means a martial stat of 7 and up, 8 and up, or just not 7. It could even work the opposite way for all I know.
I don't mean to make an extremely long thread but as long as we are talking about the objectives.txt, how does the chance/factor modifier work? I changed some of the factors but didn't see different results in game. My end goal is to modify objectives.txt to have higher goal requirements but better rewards.