Can bloodline_effect_faster_hindu and bloodline_effect_convert_zhangzung_and_sumpa be replicated with other religions and cultures?
Yes. Note that the bloodline_effect lines just display the text, you'll still need to implement them. First, add a version for the religion/culture you want in common/modifier_definitions (just copy the original entry and rename the copy). Then add the new entry in a localisation file with the text for your version.
Next, the game can't actually reference the effect and instead needs you to set flags on the bloodline for it to reference. For consistency, I'd suggest bloodline_faster_<religion> and bloodline_<culture>
Now you need to actually implement the effect by editing the events. For the religion conversion, you need to edit event 900 (found in job_lord_spiritual.txt) and copy the part with bloodline_faster_hindu. In this case, in the mean_time_to_happen block, you'll want to add
Code:
modifier = {
factor = 0.6
religion = <religion>
any_owned_bloodline = {
has_bloodline_flag = bloodline_faster_<religion>
}
}
If these are the only events you are editing in those files, I'd suggest copying a new event file, making sure it comes after all the existing files alphabetically (So, something like zz_<modname>_modified.txt) and copying the events into that to edit them. This will reduce the chance of conflicting with other mods and reduce the effort of maintaining the files in case a different event in the original files gets changed. Some people will claim this isn't supposed to work, but in my experience, it works perfectly find, with the only side-effect being a single error in the Validator, which can be ignored.