|
Post by Djerv on Nov 10, 2017 14:46:20 GMT
Hello. Starks gets an 25 opinion bonus from the Manderlys. When Jon Snow forms an new dynasty he gets "Targaryan like" bonus for taming and hatching dragons because the new dynasty honours both houses. but this does not include the "Stark - Manderly love" event. I feel this should be included for the Stark-Targaryans as well.
I tried implementing it by adding it to the code, but I cant seem to make it work: what am I missing? (Dynasty 1559 is Stark-Targaryan)
character_event = { id = 251300 desc = "EVTDESC251300" is_triggered_only = yes only_rulers = yes trigger = { dynasty = 80 any_playable_ruler = { dynasty = 59 dynasty = 1559 NOT = { ROOT = { has_opinion_modifier = { who = PREV modifier = opinion_debt_remembered } } } } }
option = { name = "EVTOPTA251300" any_playable_ruler = { limit = { dynasty = 59 dynasty = 1559 NOT = { ROOT = { has_opinion_modifier = { who = PREV modifier = opinion_debt_remembered } } } } reverse_opinion = { who = ROOT modifier = opinion_debt_remembered years = 200 } } } }
|
|
|
Post by Djerv on Nov 10, 2017 18:28:43 GMT
Believe I fixed it, by making copys of the files and adding a new event, with id "253001" just for the Stark-targaryans. along with a couple of other things..... Seems to work. Can I post this in the submod section? I have used existing code written by Rodri and the AGoT team.
|
|
|
Post by Azrael on Nov 10, 2017 20:28:09 GMT
You don't need to make a whole new event, just need to add an OR argument to the code. Like this:
character_event = { id = 251300 desc = "EVTDESC251300" is_triggered_only = yes only_rulers = yes trigger = { dynasty = 80 any_playable_ruler = { OR = { dynasty = 59 dynasty = 1559 } NOT = { ROOT = { has_opinion_modifier = { who = PREV modifier = opinion_debt_remembered } } } } }
option = { name = "EVTOPTA251300" any_playable_ruler = { limit = { OR = { dynasty = 59 dynasty = 1559 } NOT = { ROOT = { has_opinion_modifier = { who = PREV modifier = opinion_debt_remembered } } } } reverse_opinion = { who = ROOT modifier = opinion_debt_remembered years = 200 } } } }
|
|
|
Post by Djerv on Nov 10, 2017 22:03:01 GMT
hmm.. well, thats a lot better thanks
|
|