Regarding ai_chance, would I be correct in the commented out code if I were to do this?:
Do the numbers work out to the percentage math that I laid out, or is that not how ai_chance works?
Code:
option = {
name = amareturn.13a
ai_chance = {
factor = 95
modifier = {
factor = 73 # If mother's stubborn, there's 73% chance she agrees, and 27% refuses.
trait = stubborn
}
modifier = {
factor = 8 # If mother's cynical or kind, there's 92% she agrees, and 8% chance refuses.
OR = {
trait = cynical
trait = kind
}
}
}
}
option = {
name = amareturn.13b
ai_chance = {
factor = 5
modifier = {
factor = 27 # If mother's stubborn, there's just a 73% chance she agrees, and 27% refuses.
trait = stubborn
}
modifier = {
factor = 92 # If mother's cynical or kind, there's a 92% chance she declines and 8% refuses.
OR = {
trait = cynical
trait = kind
}
}
}
}
Do the numbers work out to the percentage math that I laid out, or is that not how ai_chance works?