I've created a portrait, and I want to apply it on synthetic ascension. The thing is, I want it to apply only if the founder species uses a certain portrait. Otherwise, use the default synth portrait.
More specifically, I've created Robo-crabs portraits and I want to make it so that only Crabs become Robo-crabs
I've found the code responsible for the ascension, and tried the following ( The changes I've made are between the #):
It didn't work, the game still used the default synth portrait.
I tried not using the from, and removing the owner_species scope, neither solved the problem.
I'm probably using the if wrong, I suppose.
for reference, and just to confirm that's not the portrait that is bugged, I did try replacing without using if, and it worked (well, not 100%, as only the pops used my portrait, while the leaders used the synth one, even though they were the same species. Still, that's a problem on the portrait and not on the event.).
Any help is appreciated, and hopefully sparks more synth portraits from the community
More specifically, I've created Robo-crabs portraits and I want to make it so that only Crabs become Robo-crabs
I've found the code responsible for the ascension, and tried the following ( The changes I've made are between the #):
Code:
*some stuff before*
create_species = {
is_mod = yes
name = this
plural = this
class = "ROBOT"
portrait = "robot3"
# from = {
if = {
limit = {
owner_species ={
species_portrait = art15
}
}
portrait = "syn_art15"
}
# }
traits = {
trait = "trait_mechanical"
trait = "trait_robotic_3"
}
*more stuff later*
It didn't work, the game still used the default synth portrait.
I tried not using the from, and removing the owner_species scope, neither solved the problem.
I'm probably using the if wrong, I suppose.
for reference, and just to confirm that's not the portrait that is bugged, I did try replacing without using if, and it worked (well, not 100%, as only the pops used my portrait, while the leaders used the synth one, even though they were the same species. Still, that's a problem on the portrait and not on the event.).
Any help is appreciated, and hopefully sparks more synth portraits from the community