So I made a mod awhile back that basically did two things: (1) made special pagan ancestor bloodlines (e.g. Legendary Do Hunter) more likely to get than the generic bloodline, and (2) changed the more_raiders_bloodline flag so someone could earn both the sea king bloodline and the ancestor bloodline.
https://steamcommunity.com/sharedfiles/filedetails/?id=1803562446
I had to make changes to my mod because it wasn't compatible with the Inherit Bloodlines Mod so I changed the inheritance for sea king to all_descendants.
This worked fine after the changes and I didn't run into any issues. Now I added two more mods that afaik shouldn't affect it: my own mod that only adds a couple of retinues, and Patrum Scuta.
Now I have two bugs, which are probably related: (1) having Ragnarr's bloodline AND not having SB + D doesn't stop me from getting the sea king bloodline and (2) after getting the sea king bloodline the first time I was able to get it again on the same character (I'm assuming right after I sieged the 201st holding). Here are the changes I made to the events/religious_events file:
Here are the changes I made to common/bloodlines/02_earned_bloodlines
Here's the section in my saved game I found re: bloodlines
Now to me it looks like there's nothing interfering with my change to earned_bloodlines file because otherwise the "more_raiders1_bloodline" flag shouldn't appear. So the only problem should be with the religious_events file that somehow the original "more_raiders_bloodline" flag is present, but that wouldn't explain why I was able to get the bloodline anyway, unless someone removed the historical flag as well.
I running a ton of smallish mods (probably around 20, including my unpublished mods, but those only affect one thing like the max number of commanders,trade posts, etc.) otherwise I'd post them here. I just wanted to know if there's anything I'm missing in terms of my logic here.
edit: I know of only 3 mods I'm running that changes the religious_events file but none of them change the historical flag: Inherit Bloodlines, Pagan Ancestor and Reformation Reform. Now if I understand correctly that's the order in which the files are checked so I don't have to worry about any changes in IB but I do have to look at RR. I added the new flag to RR so I'm going to load the game and see if I still get another bloodline.
https://steamcommunity.com/sharedfiles/filedetails/?id=1803562446
I had to make changes to my mod because it wasn't compatible with the Inherit Bloodlines Mod so I changed the inheritance for sea king to all_descendants.
This worked fine after the changes and I didn't run into any issues. Now I added two more mods that afaik shouldn't affect it: my own mod that only adds a couple of retinues, and Patrum Scuta.
Now I have two bugs, which are probably related: (1) having Ragnarr's bloodline AND not having SB + D doesn't stop me from getting the sea king bloodline and (2) after getting the sea king bloodline the first time I was able to get it again on the same character (I'm assuming right after I sieged the 201st holding). Here are the changes I made to the events/religious_events file:
Code:
#On_looted_settlement: Bloodline gained at 200 viking_raids variable.
narrative_event = {
id = HF.23212
title = EVTTITLE23212
desc = {
trigger = {
is_female = no
is_alternate_start = no
OR = {
religion = norse_pagan
religion = norse_pagan_reformed
}
}
text = EVTDESCAHF23212
}
desc = {
trigger = {
is_female = yes
is_alternate_start = no
OR = {
religion = norse_pagan
religion = norse_pagan_reformed
}
}
text = EVTDESCBHF23212
}
desc = {
trigger = {
OR = {
is_alternate_start = yes
NOR = {
religion = norse_pagan
religion = norse_pagan_reformed
}
}
}
text = EVTDESCCHF23212
}
picture = {
trigger = { is_female = no }
picture = GFX_evt_vikings_arriving_oldgods
}
picture = {
trigger = { is_female = yes }
picture = GFX_evt_norse_tempest
}
border = GFX_event_narrative_frame_war
sound = bloodline_added
is_triggered_only = yes
has_dlc = "Holy Fury"
trigger = {
check_variable = { which = viking_raids value = 200 }
OR = {
trait = seaking
trait = sea_queen
}
NOR = {
any_owned_bloodline = { # Not already has a Viking bloodline.
has_bloodline_flag = bloodline_historical_norse
}
any_owned_bloodline = {has_bloodline_flag = more_raiders1_bloodline}
}
}
option = {
name = EVTOPTAHF23212
add_blood_splatter_effect = yes #Dramatic effect.
hidden_tooltip = {
if = {
limit = { this_has_super_cool_nickname_trigger = no }
random_list = {
20 = {
trigger = { age = 50 }
give_nickname = nick_the_white_raven
}
20 = {
trigger = { is_female = no }
give_nickname = nick_the_salt_snake
}
20 = {
trigger = { is_female = yes }
give_nickname = nick_the_salt_viper
}
20 = {
trigger = { is_female = yes is_attractive_trigger = yes }
give_nickname = nick_the_siren
}
20 = {
trigger = { is_female = no }
give_nickname = nick_the_wyrm
}
20 = {
trigger = { is_female = yes is_unattractive_trigger = yes }
give_nickname = nick_the_fury
}
20 = {
trigger = { is_female = no }
give_nickname = nick_the_sea_devil
}
10 = {
give_nickname = nick_the_stormforged
}
10 = {
give_nickname = nick_the_tempest_of_capital
}
}
}
}
if = {
limit = { is_female = no }
create_bloodline = {
type = seaking_bloodline
}
set_bloodline_founder_religion_flag_effect = yes
if = {
limit = { OR = { religion = norse_pagan religion = norse_pagan_reformed } }
new_bloodline = {
set_description = "bloodline_desc_seaking_bloodline_viking"
random_list = {
20 = { set_name = bloodline_seaking_viking_random_a } #Randomize names to avoid too much repetition.
20 = { set_name = bloodline_seaking_viking_random_b }
20 = { set_name = bloodline_seaking_viking_random_c }
20 = { set_name = bloodline_seaking_viking_random_d }
}
}
}
if = {
limit = { NOR = { religion = norse_pagan religion = norse_pagan_reformed } }
new_bloodline = {
set_description = "bloodline_desc_seaking_bloodline_pirate"
random_list = {
20 = { set_name = bloodline_seaking_pirate_random_a } #Randomize names to avoid too much repetition.
20 = { set_name = bloodline_seaking_pirate_random_b }
20 = { set_name = bloodline_seaking_pirate_random_c }
20 = { set_name = bloodline_seaking_pirate_random_d }
}
}
}
}
if = {
limit = { is_female = yes }
create_bloodline = {
type = seaqueen_bloodline
}
set_bloodline_founder_religion_flag_effect = yes
if = {
limit = { OR = { religion = norse_pagan religion = norse_pagan_reformed } }
new_bloodline = {
set_description = "bloodline_desc_seaking_bloodline_viking"
random_list = {
20 = { set_name = bloodline_seaqueen_viking_random_a } #Randomize names to avoid too much repetition.
20 = { set_name = bloodline_seaqueen_viking_random_b }
20 = { set_name = bloodline_seaqueen_viking_random_c }
20 = { set_name = bloodline_seaqueen_viking_random_d }
}
}
}
if = {
limit = { NOR = { religion = norse_pagan religion = norse_pagan_reformed } }
new_bloodline = {
set_description = "bloodline_desc_seaking_bloodline_pirate"
random_list = {
20 = { set_name = bloodline_seaqueen_pirate_random_a } #Randomize names to avoid too much repetition.
20 = { set_name = bloodline_seaqueen_pirate_random_b }
20 = { set_name = bloodline_seaqueen_pirate_random_c }
20 = { set_name = bloodline_seaqueen_pirate_random_d }
}
}
}
}
hidden_tooltip = {
if = {
limit = {
NOR = {
trait = african_tattoo_1
trait = african_tattoo_2
trait = african_tattoo_3
trait = african_tattoo_4
trait = african_tattoo_5
trait = african_tattoo_6
trait = african_tattoo_7
trait = african_tattoo_8
trait = slavic_tattoo_1
trait = slavic_tattoo_2
trait = slavic_tattoo_3
trait = slavic_tattoo_4
trait = slavic_tattoo_5
trait = slavic_tattoo_6
trait = norse_tattoo_1
trait = norse_tattoo_2
trait = norse_tattoo_3
trait = norse_tattoo_4
trait = norse_tattoo_5
trait = norse_tattoo_6
}
}
add_trait = norse_tattoo_4
}
any_player = {
limit = { NOT = { character = ROOT } is_within_diplo_range = ROOT }
narrative_event = { id = HF.23213 }
}
}
}
}
Code:
seaking_bloodline = { #Spawned tribal raider troops are more numerous.
combat_rating = 3
seaking_opinion = 5
sea_queen_opinion = 5
same_religion_opinion = 10
inheritance = all_descendants
allow_bastards = yes
bloodline_effect_more_raiders = 1
picture = GFX_bloodlines_symbol_midgard
active = {
religion_same_as_bloodline_founder_trigger = yes
# custom_tooltip = {
# text = saintly_bloodline_same_religion_TT
# FROM = {
# founder = {
# religion = ROOT
# }
# }
# }
}
flags = { more_raiders1_bloodline created_bloodline }
}
seaqueen_bloodline = {
combat_rating = 3
seaking_opinion = 5
sea_queen_opinion = 5
same_religion_opinion = 10
inheritance = all_descendants
allow_bastards = yes
bloodline_effect_more_raiders = 1
picture = GFX_bloodlines_symbol_midgard
active = {
religion_same_as_bloodline_founder_trigger = yes
# custom_tooltip = {
# text = saintly_bloodline_same_religion_TT
# FROM = {
# founder = {
# religion = ROOT
# }
# }
# }
}
flags = { more_raiders1_bloodline created_bloodline }
}
Code:
31=
{
type="seaking_bloodline"
name="Saltblood of Tandja"
desc="Entire cities have been decimated by the raids of Emperor Tandja. His actions ensured him the legacy of one of the most fearsome and ruthless Pirates of Kanem-Bornu."
owner=2715326
flags=
{
more_raiders1_bloodline=927.1.29
created_bloodline=927.1.29
requires_west_african_pagan_religion=927.1.29
}
created="927.1.29"
member=2715326
member=2731603
member=2749573
member=2750997
member=2731983
member=2751706
member=2755426
member=2735838
member=2742149
member=2744224
member=2745211
member=2751878
inheritance="all_descendants"
allow_bastards=yes
}
32=
{
type="seaking_bloodline"
name="Stormforged"
desc="Entire cities have been decimated by the raids of Emperor Tandja. His actions ensured him the legacy of one of the most fearsome and ruthless Pirates of Kanem-Bornu."
owner=2715326
flags=
{
more_raiders1_bloodline=927.1.31
created_bloodline=927.1.31
requires_west_african_pagan_religion=927.1.31
}
created="927.1.31"
member=2715326
member=2731603
member=2749573
member=2750997
member=2731983
member=2751706
member=2755426
member=2735838
member=2742149
member=2744224
member=2745211
member=2751878
inheritance="all_descendants"
allow_bastards=yes
}
}
Now to me it looks like there's nothing interfering with my change to earned_bloodlines file because otherwise the "more_raiders1_bloodline" flag shouldn't appear. So the only problem should be with the religious_events file that somehow the original "more_raiders_bloodline" flag is present, but that wouldn't explain why I was able to get the bloodline anyway, unless someone removed the historical flag as well.
I running a ton of smallish mods (probably around 20, including my unpublished mods, but those only affect one thing like the max number of commanders,trade posts, etc.) otherwise I'd post them here. I just wanted to know if there's anything I'm missing in terms of my logic here.
edit: I know of only 3 mods I'm running that changes the religious_events file but none of them change the historical flag: Inherit Bloodlines, Pagan Ancestor and Reformation Reform. Now if I understand correctly that's the order in which the files are checked so I don't have to worry about any changes in IB but I do have to look at RR. I added the new flag to RR so I'm going to load the game and see if I still get another bloodline.
Last edited: