For months now I've been trying to add a new Ascension perk, that does 1 thing. Grants a specific research. That's it. I tried with some code and this is what I came up with. I realize it is missing a lot, but I can't find any documentation on what to place in the empty spots. Any help will gratefully received. Thanks.
Code:
ap_star_power = {
on_enabled = {
add_research_option = tech_mega_engineering
hidden_effect = {
country_event = {}
}
}
possible = {}
modifier = {}
potential = {
host_has_dlc = "Utopia"
NOT = {}
Or = {
And = {}}
}
ai_weight = {
factor = 100
}
}