I did what I wanted. The full code is now this.No clue about the tooltip, but I've seen that sort of bug with vanilla tooltips as well. As for the opinion modifier, I bet it's because the Vanilla "opinion_shielded_my_world" modifier is -200. Opinion modifier overwriting creates a duplicate with the same name, so your script is adding the original one and not the mod one. Try making a new opinion modifier with the value you want and adding that instead.
country_event = {
id = hate.66
title = hate.66.name
desc = hate.66.desc
is_triggered_only = yes
option = {
name = hate.66.a
every_rival_country =
{
every_country = {
add_opinion_modifier =
{
who = prev
modifier = opinion_rep_sab
} }
}
}
option = {
name = hate.exit
}
}
The only problem is that in description it says "opinion_rep_sab" -2000. What file and where do I need to edit\create to make it "Reputation Mocked" ?
Also it says -1 per year. How to change decay per day? I saw somewhere that it must be like:
decay = {
base = 1.day
}
But I dont remember exactly ...
And thank you a lot!