Jump to content

Modding Help: Broken Localization


zia

Recommended Posts

Spoiler

narrative_event = {
    id = dwseom.1000
    desc = "dwseom1000"
    picture = dragon_sex
    title = dwseom_dragon_stable
    
    is_triggered_only = yes

    option = {
        name = "dwseom1000A" 
        trigger = { 
            is_adult = yes
            is_female = yes
            is_pregnant = no
            NOT = {
                trait = dragon_pregnancy
            }
        }
        clr_character_flag = dragon_sexy_times
        character_event = { id = dwseom.1001 }
        any_child = {
            trait = dragon
            is_adult = yes
            add_character_modifier = { name = dragon_satisfied duration = 365 }
            }

    }
    option = {
        name = "dwseom1000B" 
        trigger = { 
            any_courtier = {
                is_adult = yes
                is_female = yes
                is_pregnant = no
                NOT = {
                    trait = dragon_pregnancy
                }
            }
        }
        clr_character_flag = dragon_sexy_times
        any_courtier = {
            is_adult = yes
            is_female = yes
            is_pregnant = no
            NOT = {
                trait = dragon_pregnancy
            }
            character_event = { id = dwseom.1002 }
            ROOT = { character_event = { id = dwseom.1003 } }

        }
        any_child = {
            trait = dragon
            is_adult = yes
            add_character_modifier = { name = dragon_satisfied duration = 365 }
        }
    }
    option = {
        name = "dwseom1000C" 
        trigger = { 
            any_vassal = {
                is_adult = yes
                is_female = yes
                is_pregnant = no
                NOT = {
                    trait = dragon_pregnancy
                }
            }
        }
        clr_character_flag = dragon_sexy_times
        any_vassal = {
            is_adult = yes
            is_female = yes
            is_pregnant = no
            NOT = {
                trait = dragon_pregnancy
            }
            character_event = { id = dwseom.1002 }
            ROOT = { character_event = { id = dwseom.1003 } }

        }
        any_child = {
            trait = dragon
            is_adult = yes
            add_character_modifier = { name = dragon_satisfied duration = 365 }
        }
    }
    option = {
        name = "dwseom1000D" 
        trigger = { 
            any_coutier = {
                is_adult = yes
                is_female = yes
                is_pregnant = no
                prisoner = yes
                NOT = {
                    trait = dragon_pregnancy
                }
            }
        }
        clr_character_flag = dragon_sexy_times
        any_courtier = {
            is_adult = yes
            is_female = yes
            is_pregnant = no
            prisoner = yes
            NOT = {
                trait = dragon_pregnancy
            }
            character_event = { id = dwseom.1002 }
            ROOT = { character_event = { id = dwseom.1003 } }
            any_child = {
                trait = dragon
                is_adult = yes
                add_character_modifier = { name = dragon_satisfied duration = 365 }
            }
        }
    }
}
 

dwseom1000A; does what its supposed to.

dwseom1000B; Correctly doesn't show unless I have a female courtier... however it either doesn't do anything or it grabs ALL courtiers. (including males)

dwseom1000C; always grabs ALL VASSALS even though the code should only grab female vassals.

dwseom1000D; Doesn't do anything, it supoosed to pull Female Prisoners.

 

Can any see where I messed up at? Pretty sure is something simple such as a misplaced bracket but Validator isn't seeing it and neither am I.  All help is appreciated. 

 

*EDIT* The above has been solved. New issue below:

 

A new problem has risen: Localization failure.

 

For the one of my events the localization is not pulling the names correctly:

Spoiler

narrative_event = {
    id = dwseom.1000
    desc = "dwseom1000"
    picture = dragon_sex
    title = dwseom_dragon_stable
    
    is_triggered_only = yes

    option = {
        name = "dwseom1000A" 
        trigger = { 
            is_adult = yes
            is_female = yes
            is_pregnant = no
            NOT = {
                trait = dragon_pregnancy
            }
        }
        clr_character_flag = dragon_sexy_times
        ROOT = {
            narrative_event = { id = dwseom.1001 }
        }
        random_child = {
            limit = { 
                trait = dragon
                is_adult = yes
                NOT = {
                    has_character_modifier = dragon_satisfied 
                }
            }
            save_event_target_as = dragon_mated
            add_character_modifier = { name = dragon_satisfied duration = 365 }
        }

    }
    option = {
        name = "dwseom1000B" 
        trigger = { 
            any_courtier = {
                is_adult = yes
                is_female = yes
                is_pregnant = no
                NOT = {
                    trait = dragon_pregnancy
                }
            }
        }
        clr_character_flag = dragon_sexy_times
        random_courtier = {
            limit = {
                is_adult = yes
                is_female = yes
                is_pregnant = no
                prisoner = no
                NOT = {
                    trait = dragon_pregnancy
                }
            }
            save_event_target_as = dragon_mate
            narrative_event = { id = dwseom.1002 }
            ROOT = { narrative_event = { id = dwseom.1003 } }

        }
        random_child = {
            limit = { 
                trait = dragon
                is_adult = yes
                NOT = {
                    has_character_modifier = dragon_satisfied 
                }
            }
            save_event_target_as = dragon_mated
            add_character_modifier = { name = dragon_satisfied duration = 365 }
        }
    }
    option = {
        name = "dwseom1000C" 
        trigger = { 
            any_vassal = {
                is_adult = yes
                is_female = yes
                is_pregnant = no
                NOT = {
                    trait = dragon_pregnancy
                }
            }
        }
        clr_character_flag = dragon_sexy_times
        random_vassal = {
            limit = {
                is_adult = yes
                is_female = yes
                is_pregnant = no
                NOT = {
                    trait = dragon_pregnancy
                }
            }
            save_event_target_as = dragon_mate    
            narrative_event = { id = dwseom.1002 }
            ROOT = { narrative_event = { id = dwseom.1003 } }

        }
        random_child = {
            limit = { 
                trait = dragon
                is_adult = yes
                NOT = {
                    has_character_modifier = dragon_satisfied 
                }
            }
            save_event_target_as = dragon_mated
            add_character_modifier = { name = dragon_satisfied duration = 365 }
        }
    }
    option = {
        name = "dwseom1000D" 
        trigger = { 
            any_courtier = {
                is_adult = yes
                is_female = yes
                is_pregnant = no
                prisoner = yes
                NOT = {
                    trait = dragon_pregnancy
                }
            }
        }
        clr_character_flag = dragon_sexy_times
        random_courtier = {
            limit = {
                is_adult = yes
                is_female = yes
                is_pregnant = no
                prisoner = yes
                NOT = {
                    trait = dragon_pregnancy
                }
            }
            save_event_target_as = dragon_mate    
            narrative_event = { id = dwseom.1002 }
            ROOT = { narrative_event = { id = dwseom.1003 } }

        }
        random_child = {
            limit = { 
                trait = dragon
                is_adult = yes
                NOT = {
                    has_character_modifier = dragon_satisfied 
                }
            }
            save_event_target_as = dragon_mated
            add_character_modifier = { name = dragon_satisfied duration = 365 }
        }

    }
}

narrative_event = {
    id = dwseom.1001
    desc = "dwseom1001"
    picture = dragon_sex2
    title = dwseom_dragon_sex
    
    is_triggered_only = yes

    option = {
        name = "dwseom1001A" 
        if = {
            limit = { 
                trait = virgin 
            }
            remove_trait = virgin
        }
        ROOT = {
            add_trait = dragon_pregnancy
            character_event = { id = dwseom.501 months = 6 }
                
        }
    }
}
narrative_event = {
    id = dwseom.1002
    desc = "dwseom1002"
    picture = dragon_sex2
    title = dwseom_dragon_sex
    
    is_triggered_only = yes
    
    option = {
        name = "dwseom1002A" 
        if = {
            limit = { 
                trait = virgin 
            }
            remove_trait = virgin
        }
            add_trait = dragon_pregnancy
            character_event = { id = dwseom.501 months = 6 }
    }
}
narrative_event = {
    id = dwseom.1003
    desc = "dwseom1003"
    picture = dragon_sex2
    title = dwseom_dragon_sex
    
    is_triggered_only = yes
    
    option = {
        name = "dwseom1003A" 
    }
}


 

I am saving the female as dragon_mate and the draogn as dragon_mated. But in game the localization is missing the names.

 

 

Specific ones that do not pull up the names are dwseom1001, dwseom1002, dwseom1003.

Localization File:

Spoiler

#CODE;ENGLISH;FRENCH;GERMAN;;SPANISH;;;;;;;;;x
dragon;Dragon;;;;;;;;;;;;;;x
dragon_desc;A breed of ancient repiles long thought lost to the world.;;;;;;;;;;;;;;x
dragon_pregnancy;Heavy with Dragon Egg;;;;;;;;;;;;;;x
dragon_pregnancy_desc;Impregnanted by a dragon;;;;;;;;;;;;;;x
dragon_egg;Dragon Egg;;;;;;;;;;;;;;x
dragon_egg_desc;A Dragon's Egg laid by a human. It reeks of sulfur and brimstone;;;;;;;;;;;;;;x
dragonegg_slot;Your Dragon Egg;;;;;;;;;;;;;;x
dwseom3800;I call for my dragon and inform them of my desire to abduct [dw_kidnap_target.GetBestName] and make them my prisoner. They in turn flex there wings with a sadistic grin.\n  In the end, it will take a week for my dragon to deposit [dw_kidnap_target.GetFirstName] into my dungeons if they're successful. How successful is influenced by how skilled my dragon is in intrigue, versus that of the target.  \n  As far as risks go, since my Dragon is involved personally, they're putting themselves in harms way. And while every failure doesn't necessarily result in the dragon being harmed or worse, it is still indeed a risk. Another risk is the chance that the SpyMaster of the country we're seeking to do our kidnapping in, may end up catching wind of the attempt and in turn become involved themselves. Oh, and obviously the ruler of the realm would be able to leverage their realm intrigue in their defense. \n  With my options and the risks made clear, the only thing left is my decision.;;;;;;;;;;;;;x
dwseom3800A;Yes, proceed as normal with the kidnapping [dw_kidnap_target.GetFirstName].;;;;;;;;;;;;;x
dwseom3800B;I've changed my mind. Let's not do this.;;;;;;;;;;;;;x
dwseom3801;A courtier steps forward to inform me that my Dragon has returned, and and it's hunt was successful. I excuse myself from court and make my way to the cells. \n  There I find [dw_kidnap_target.GetBestName] in a holding cell. I can't help but grin a bit at seeing my new captive. The options now available to me with this new prisoner are definitely enticing. It's time for me to return to court, but before I leave, I address my new prisoner...;;;;;;;;;;;;;x 
dragon_kidnap;Draconic Abuction;;;;;;;;;;;;;x 
dragon_kidnap_desc;Have one of your dragon's abduct an unsusecting individual.;;;;;;;;;;;;;x 
dwseom900;[From.GetBestName]'s guardian [From.Mother.GetBestName]has died. Without them there is nothing holding [From.GetBestName] here.
The sky has called to [From.GetBestName] and they have flown off into the night. Journeying to the homeland of the Dragons; The Elder Forest.;;;;;;;;;;;;;x
dwseom900A;May [From.GetBestName] fly Straight and True.;;;;;;;;;;;;;x 
dragon_battle; Burn Enemy with Dragon Fire;;;;;;;;;;;;;x 
dragon_battle_desc;Utilize one of your dragons to lay waaste to enemy forces.;;;;;;;;;;;;;x 
dragon_sex_event;Calm a Dragon;;;;;;;;;;;;;x 
dragon_sex_event_desc;Your dragon's have been becoming more aggressive lately. Calm them before it is to late.;;;;;;;;;;;;;x 
dragon_satisfied;Calmed;;;;;;;;;;;;;x 
dragon_satisfied_desc;This dragon has been calmed and is not acting aggressivly.;;;;;;;;;;;;;x 
dragon_fire;Exhausted Flames
dragon_fire_desc; This dragon has recently used its fire and needs time before it can use it's flame again.;;;;;;;;;;;;;x 
dwseom_dragon_stable;Aggressive Dragons;;;;;;;;;;;;;x 
dwseom1000;One of my dragons has been acting aggressive lately.
Their scales are tough and very sharp around the edges, which easily cut the hands of anyone trying to wash the beasts. Dragons are playful in nature and seldom recognise their own strength. A few playful nips can turn serious if not tended to. These are to be expect when dealing with dragons.
What I did not expect was a stable hand to nearly lose his head when a dragon disagreed with him or a maid to suffer intense burns at the hands of one of my dragons. While these incidents are shocking, you must be cautious when working with dragons.
What shocked me the most was when one of the maids came forth and stated that my dragon attempted to mount her, if not for her clothing she would surely be carrying a dragon's egg right now.
Maybe I can use this to calm my dragon?;;;;;;;;;;;;;x 
dwseom1000A;I will attempt to calm them myself.;;;;;;;;;;;;;x 
dwseom1000B;I will have a lady of the court calm them.;;;;;;;;;;;;;x 
dwseom1000C;One of my vassals would surely appreciate the chance to get a dragon egg.;;;;;;;;;;;;;x 
dwseom1000D;I will let them play with one of the prisoners.;;;;;;;;;;;;;x 
dwseom_dragon_sex;To Ride a Dragon;;;;;;;;;;;;;x 
dwseom1001;I enter the hall that houses my dragon [Root.dragon_mated.GetFirstName] and dismiss the guard and the servants tending to him. After the last one leaves and the hall door closes, I disrobe.
[Root.dragon_mated.GetFirstName] approaches as he gets close I can feel his warm breath across my bare form. He lets out a low growl before shoving me to the floor. 
I barely have time to register what happened before I feel his member press against my rearer. With a mighty shove he enters me. Again and again he thrusts.
Minutes pass, or maybe it is hours I do not know. I am blind to the passage of time as [Root.dragon_mated.GetFirstName] continues to thrust. Pleasure filling me. Suddenly he stops thrusting, his member still inside. And I feel the throbbing of his form.;;;;;;;;;;;;;;x
dwseom1001A;"YES! FILL ME!" I command;;;;;;;;;;;;;;x
dwseom1002;On the orders of [From.GetBestName] I enter the hall that houses [From.GetHerHis]'s dragon [Root.dragon_mated.GetFirstName] and dismiss the guard and the servants tending to him. After the last one leaves and the hall door closes, I disrobe.
[Root.dragon_mated.GetFirstName] approaches as he gets close I can feel his warm breath across my bare form. He lets out a low growl before shoving me to the floor. 
I barely have time to register what happened before I feel his member press against my rearer. With a mighty shove he enters me. Again and again he thrusts.
Minutes pass, or maybe it is hours I do not know. I am blind to the passage of time as [Root.dragon_mated.GetFirstName] continues to thrust. Pleasure filling me. Suddenly he stops thrusting, his member still inside. And I feel the throbbing of his form.;;;;;;;;;;;;;;x
dwseom1002A;"YES! FILL ME!";;;;;;;;;;;;;;x
dwseom1003; I order [Root.dragon_mate.GetBestName] to try and calm my dragon, [Root.dragon_mated.GetFirstName], with their body. At first they refused but with a little convincing they agreed. A dragon's egg is a fine payment to offer, though I do not think they realize that they will be the one to lay the egg. 
I watch as [Root.dragon_mated.GetFirstName], enters the hall and dismisses the servants. I watch her disrobe and get thrown to the floor by [Root.dragon_mated.GetFirstName].
I watched her get mounted and bred much like a dog in heat. I leave her to enjoy spending time with [Root.dragon_mated.GetFirstName]. 
I return an hour later to find the servants standing slack jawed at the door. Inside the hall [Root.dragon_mate.GetFirstName] is still be ravaged by [Root.dragon_mated.GetFirstName]. Even with barely being able to see her under his form i can tell she is enjoying it. She wears such a blissful smile while being covered in a dragon's seed as it spills out.
Another hour passes before [Root.dragon_mated.GetFirstName] dismounts and retires to the back of the hall for well deserved rest.
[Root.dragon_mate.GetFirstName] has been coated inside and out with [Root.dragon_mated.GetFirstName]'s seed. She does not appear to be moving. If not for her breathing I would think she was dead. I ordered the servants to clean her and take her to her room.;;;;;;;;;;;;;;x   
dwseom1003A;Surely, [Root.dragon_mate.GetBestName], is with dragon egg now.;;;;;;;;;;;;;;x
dwseom1100;My enemy's army stands before me. Shout os fury and anger echo across the battle field. I can turn the tide of this battle with one simple command. But do I truely wish to risk my dragon?;;;;;;;;;;;;;;x
dwseom1100A;"BURN THEM ALL!";;;;;;;;;;;;;;x
dwseom1100B;We can win without my dragon.;;;;;;;;;;;;;;x
 

Any help would be appreciated 

Link to comment

I think the issue is you're not using "limit"

Under any_child, any_courtier, or any_vassal, you should put "limit = { trait = traithere }" then below that, what you want done if it matches the condition?

 

				any_vassal = {
					limit = {
						NOT = { has_character_flag = flaggymcflag }
						trait = traitthingy
					}
					save_event_target_as = event_fun_ensues
				}

 

Link to comment
1 hour ago, Mr_Treason said:

I think the issue is you're not using "limit"

Under any_child, any_courtier, or any_vassal, you should put "limit = { trait = traithere }" then below that, what you want done if it matches the condition?

 


				any_vassal = {
					limit = {
						NOT = { has_character_flag = flaggymcflag }
						trait = traitthingy
					}
					save_event_target_as = event_fun_ensues
				}

 

You, Mr_Treason are amazing! That did in fact fix the issue with it pulling males. Thank you for the help! And it made me notice I need ot swap any_vassal with random_vassal... as its pulling EVERYONE that meets the requirements still. But random_ should fix that.

 

 

Though the final option for pulling a prisoner still does not work.

 

*EDIT*  I am an idiot.... last option wasn't working cause I missed a bracket... don't know where but if I would have ran it through validator one more time it would have told me.  I could not for the life of me spot where the missing bracket was, so I just cloned the B option (courtiers) and added prisoner requirement and it worked without a problem!.

 

On a related note: Switching from any_ to random_ fixed issue of it pulling everyone. 

Link to comment
24 minutes ago, Mr_Treason said:

Glad to help.  I still get stuck a lot too, and it's always something simple that stumps me until I notice it.  Usually something right under my nose that I just keep looking past.

I agree its always something simple, like an = or a { } out of place. Never fails.. just wish validator was a little more help about it. Since all it says when you have a misplaced bracket is the the fill was not properly closed with a bracket...

 

 

But beyond that I would like to say thank you again. Thanks to you I now know how to use the limit = {. Which is just another new tool for me to play around with. Which means that's like the 5h new thing in the past week.  Just started using if = {} and trigger = {}   yesterday and before that it was figuring out artifacts and offmap powers. 

 

On an off note can you think of anyway to scope to the original owner of an artifact so you could set them as a mother to a new character? (I would love to be able to do this for dragon eggs... but I honestly cnat find a way to scope to a specific artifact like that.)

 

 

Link to comment

I've only recently been mucking about with artifacts.  I've got a dozen or so added in to a mod.  I can't say I know a way to scope to the original owner of an artifact.

I can think of 3 paths that might bear you fruit...

 

1.) If you can, set a flag on the owner of the artifact when the artifact is issued.  Then utilize the flag to call back to that target.  (Though I am completely unsure how that works / if it works on dead characters.)

2.) Another possibility to experiment with would be "Global Event Target" stuff.  That might work as well.  It allows you to save a target and call back to them with...  global_event_target:saved_target_name = { set_mother = root }

 

3.) Or use the Artifact specific "On_Action" ...  "on_artifact_inheritance" then create a utility event that checks who the artifact is passed to, and you can set a character flag or save event target on "From" (The artifact holder before inheritance), for callback later.

Link to comment
9 hours ago, zia said:

I agree its always something simple, like an = or a { } out of place. Never fails.. just wish validator was a little more help about it. Since all it says when you have a misplaced bracket is the the fill was not properly closed with a bracket...

 

 

But beyond that I would like to say thank you again. Thanks to you I now know how to use the limit = {. Which is just another new tool for me to play around with. Which means that's like the 5h new thing in the past week.  Just started using if = {} and trigger = {}   yesterday and before that it was figuring out artifacts and offmap powers. 

 

On an off note can you think of anyway to scope to the original owner of an artifact so you could set them as a mother to a new character? (I would love to be able to do this for dragon eggs... but I honestly cnat find a way to scope to a specific artifact like that.)

 

 

Look at the .info file inside /common/artifacts, there are some triggers, effects and scopes that deal with original owner. Also artifact can be saved as event_targets. But definitely only characters can be mothers of other characters.

Link to comment
1 hour ago, ngppgn said:

Look at the .info file inside /common/artifacts, there are some triggers, effects and scopes that deal with original owner. Also artifact can be saved as event_targets. But definitely only characters can be mothers of other characters.

I think there is a misunderstanding somewhere... I probably didn't explain well enough. The way my mod handles dragon eggs is people lay the eggs. (The one who lays the egg gets the artifact and is the original owner) . But sometimes they die before laying the egg or they aren't landed so they cant hatch it. So when it is inherited by someone else they new person (if they meet the requirements) can hatch the egg. I want to be able to set it so the ORIGINAL OWNER is the mother of the new born dragon. But I cant see a way to do it myself.

Link to comment

A new problem has risen: Localization failure.

 

For the one of my events the localization is not pulling the names correctly:

Spoiler

narrative_event = {
    id = dwseom.1000
    desc = "dwseom1000"
    picture = dragon_sex
    title = dwseom_dragon_stable
    
    is_triggered_only = yes

    option = {
        name = "dwseom1000A" 
        trigger = { 
            is_adult = yes
            is_female = yes
            is_pregnant = no
            NOT = {
                trait = dragon_pregnancy
            }
        }
        clr_character_flag = dragon_sexy_times
        ROOT = {
            narrative_event = { id = dwseom.1001 }
        }
        random_child = {
            limit = { 
                trait = dragon
                is_adult = yes
                NOT = {
                    has_character_modifier = dragon_satisfied 
                }
            }
            save_event_target_as = dragon_mated
            add_character_modifier = { name = dragon_satisfied duration = 365 }
        }

    }
    option = {
        name = "dwseom1000B" 
        trigger = { 
            any_courtier = {
                is_adult = yes
                is_female = yes
                is_pregnant = no
                NOT = {
                    trait = dragon_pregnancy
                }
            }
        }
        clr_character_flag = dragon_sexy_times
        random_courtier = {
            limit = {
                is_adult = yes
                is_female = yes
                is_pregnant = no
                prisoner = no
                NOT = {
                    trait = dragon_pregnancy
                }
            }
            save_event_target_as = dragon_mate
            narrative_event = { id = dwseom.1002 }
            ROOT = { narrative_event = { id = dwseom.1003 } }

        }
        random_child = {
            limit = { 
                trait = dragon
                is_adult = yes
                NOT = {
                    has_character_modifier = dragon_satisfied 
                }
            }
            save_event_target_as = dragon_mated
            add_character_modifier = { name = dragon_satisfied duration = 365 }
        }
    }
    option = {
        name = "dwseom1000C" 
        trigger = { 
            any_vassal = {
                is_adult = yes
                is_female = yes
                is_pregnant = no
                NOT = {
                    trait = dragon_pregnancy
                }
            }
        }
        clr_character_flag = dragon_sexy_times
        random_vassal = {
            limit = {
                is_adult = yes
                is_female = yes
                is_pregnant = no
                NOT = {
                    trait = dragon_pregnancy
                }
            }
            save_event_target_as = dragon_mate    
            narrative_event = { id = dwseom.1002 }
            ROOT = { narrative_event = { id = dwseom.1003 } }

        }
        random_child = {
            limit = { 
                trait = dragon
                is_adult = yes
                NOT = {
                    has_character_modifier = dragon_satisfied 
                }
            }
            save_event_target_as = dragon_mated
            add_character_modifier = { name = dragon_satisfied duration = 365 }
        }
    }
    option = {
        name = "dwseom1000D" 
        trigger = { 
            any_courtier = {
                is_adult = yes
                is_female = yes
                is_pregnant = no
                prisoner = yes
                NOT = {
                    trait = dragon_pregnancy
                }
            }
        }
        clr_character_flag = dragon_sexy_times
        random_courtier = {
            limit = {
                is_adult = yes
                is_female = yes
                is_pregnant = no
                prisoner = yes
                NOT = {
                    trait = dragon_pregnancy
                }
            }
            save_event_target_as = dragon_mate    
            narrative_event = { id = dwseom.1002 }
            ROOT = { narrative_event = { id = dwseom.1003 } }

        }
        random_child = {
            limit = { 
                trait = dragon
                is_adult = yes
                NOT = {
                    has_character_modifier = dragon_satisfied 
                }
            }
            save_event_target_as = dragon_mated
            add_character_modifier = { name = dragon_satisfied duration = 365 }
        }

    }
}

narrative_event = {
    id = dwseom.1001
    desc = "dwseom1001"
    picture = dragon_sex2
    title = dwseom_dragon_sex
    
    is_triggered_only = yes

    option = {
        name = "dwseom1001A" 
        if = {
            limit = { 
                trait = virgin 
            }
            remove_trait = virgin
        }
        ROOT = {
            add_trait = dragon_pregnancy
            character_event = { id = dwseom.501 months = 6 }
                
        }
    }
}
narrative_event = {
    id = dwseom.1002
    desc = "dwseom1002"
    picture = dragon_sex2
    title = dwseom_dragon_sex
    
    is_triggered_only = yes
    
    option = {
        name = "dwseom1002A" 
        if = {
            limit = { 
                trait = virgin 
            }
            remove_trait = virgin
        }
            add_trait = dragon_pregnancy
            character_event = { id = dwseom.501 months = 6 }
    }
}
narrative_event = {
    id = dwseom.1003
    desc = "dwseom1003"
    picture = dragon_sex2
    title = dwseom_dragon_sex
    
    is_triggered_only = yes
    
    option = {
        name = "dwseom1003A" 
    }
}


 

I am saving the female as dragon_mate and the draogn as dragon_mated. But in game the localization is missing the names.

 

 

Specific ones that do not pull up the names are dwseom1001, dwseom1002, dwseom1003.

Localization File:

Spoiler

#CODE;ENGLISH;FRENCH;GERMAN;;SPANISH;;;;;;;;;x
dragon;Dragon;;;;;;;;;;;;;;x
dragon_desc;A breed of ancient repiles long thought lost to the world.;;;;;;;;;;;;;;x
dragon_pregnancy;Heavy with Dragon Egg;;;;;;;;;;;;;;x
dragon_pregnancy_desc;Impregnanted by a dragon;;;;;;;;;;;;;;x
dragon_egg;Dragon Egg;;;;;;;;;;;;;;x
dragon_egg_desc;A Dragon's Egg laid by a human. It reeks of sulfur and brimstone;;;;;;;;;;;;;;x
dragonegg_slot;Your Dragon Egg;;;;;;;;;;;;;;x
dwseom3800;I call for my dragon and inform them of my desire to abduct [dw_kidnap_target.GetBestName] and make them my prisoner. They in turn flex there wings with a sadistic grin.\n  In the end, it will take a week for my dragon to deposit [dw_kidnap_target.GetFirstName] into my dungeons if they're successful. How successful is influenced by how skilled my dragon is in intrigue, versus that of the target.  \n  As far as risks go, since my Dragon is involved personally, they're putting themselves in harms way. And while every failure doesn't necessarily result in the dragon being harmed or worse, it is still indeed a risk. Another risk is the chance that the SpyMaster of the country we're seeking to do our kidnapping in, may end up catching wind of the attempt and in turn become involved themselves. Oh, and obviously the ruler of the realm would be able to leverage their realm intrigue in their defense. \n  With my options and the risks made clear, the only thing left is my decision.;;;;;;;;;;;;;x
dwseom3800A;Yes, proceed as normal with the kidnapping [dw_kidnap_target.GetFirstName].;;;;;;;;;;;;;x
dwseom3800B;I've changed my mind. Let's not do this.;;;;;;;;;;;;;x
dwseom3801;A courtier steps forward to inform me that my Dragon has returned, and and it's hunt was successful. I excuse myself from court and make my way to the cells. \n  There I find [dw_kidnap_target.GetBestName] in a holding cell. I can't help but grin a bit at seeing my new captive. The options now available to me with this new prisoner are definitely enticing. It's time for me to return to court, but before I leave, I address my new prisoner...;;;;;;;;;;;;;x 
dragon_kidnap;Draconic Abuction;;;;;;;;;;;;;x 
dragon_kidnap_desc;Have one of your dragon's abduct an unsusecting individual.;;;;;;;;;;;;;x 
dwseom900;[From.GetBestName]'s guardian [From.Mother.GetBestName]has died. Without them there is nothing holding [From.GetBestName] here.
The sky has called to [From.GetBestName] and they have flown off into the night. Journeying to the homeland of the Dragons; The Elder Forest.;;;;;;;;;;;;;x
dwseom900A;May [From.GetBestName] fly Straight and True.;;;;;;;;;;;;;x 
dragon_battle; Burn Enemy with Dragon Fire;;;;;;;;;;;;;x 
dragon_battle_desc;Utilize one of your dragons to lay waaste to enemy forces.;;;;;;;;;;;;;x 
dragon_sex_event;Calm a Dragon;;;;;;;;;;;;;x 
dragon_sex_event_desc;Your dragon's have been becoming more aggressive lately. Calm them before it is to late.;;;;;;;;;;;;;x 
dragon_satisfied;Calmed;;;;;;;;;;;;;x 
dragon_satisfied_desc;This dragon has been calmed and is not acting aggressivly.;;;;;;;;;;;;;x 
dragon_fire;Exhausted Flames
dragon_fire_desc; This dragon has recently used its fire and needs time before it can use it's flame again.;;;;;;;;;;;;;x 
dwseom_dragon_stable;Aggressive Dragons;;;;;;;;;;;;;x 
dwseom1000;One of my dragons has been acting aggressive lately.
Their scales are tough and very sharp around the edges, which easily cut the hands of anyone trying to wash the beasts. Dragons are playful in nature and seldom recognise their own strength. A few playful nips can turn serious if not tended to. These are to be expect when dealing with dragons.
What I did not expect was a stable hand to nearly lose his head when a dragon disagreed with him or a maid to suffer intense burns at the hands of one of my dragons. While these incidents are shocking, you must be cautious when working with dragons.
What shocked me the most was when one of the maids came forth and stated that my dragon attempted to mount her, if not for her clothing she would surely be carrying a dragon's egg right now.
Maybe I can use this to calm my dragon?;;;;;;;;;;;;;x 
dwseom1000A;I will attempt to calm them myself.;;;;;;;;;;;;;x 
dwseom1000B;I will have a lady of the court calm them.;;;;;;;;;;;;;x 
dwseom1000C;One of my vassals would surely appreciate the chance to get a dragon egg.;;;;;;;;;;;;;x 
dwseom1000D;I will let them play with one of the prisoners.;;;;;;;;;;;;;x 
dwseom_dragon_sex;To Ride a Dragon;;;;;;;;;;;;;x 
dwseom1001;I enter the hall that houses my dragon [Root.dragon_mated.GetFirstName] and dismiss the guard and the servants tending to him. After the last one leaves and the hall door closes, I disrobe.
[Root.dragon_mated.GetFirstName] approaches as he gets close I can feel his warm breath across my bare form. He lets out a low growl before shoving me to the floor. 
I barely have time to register what happened before I feel his member press against my rearer. With a mighty shove he enters me. Again and again he thrusts.
Minutes pass, or maybe it is hours I do not know. I am blind to the passage of time as [Root.dragon_mated.GetFirstName] continues to thrust. Pleasure filling me. Suddenly he stops thrusting, his member still inside. And I feel the throbbing of his form.;;;;;;;;;;;;;;x
dwseom1001A;"YES! FILL ME!" I command;;;;;;;;;;;;;;x
dwseom1002;On the orders of [From.GetBestName] I enter the hall that houses [From.GetHerHis]'s dragon [Root.dragon_mated.GetFirstName] and dismiss the guard and the servants tending to him. After the last one leaves and the hall door closes, I disrobe.
[Root.dragon_mated.GetFirstName] approaches as he gets close I can feel his warm breath across my bare form. He lets out a low growl before shoving me to the floor. 
I barely have time to register what happened before I feel his member press against my rearer. With a mighty shove he enters me. Again and again he thrusts.
Minutes pass, or maybe it is hours I do not know. I am blind to the passage of time as [Root.dragon_mated.GetFirstName] continues to thrust. Pleasure filling me. Suddenly he stops thrusting, his member still inside. And I feel the throbbing of his form.;;;;;;;;;;;;;;x
dwseom1002A;"YES! FILL ME!";;;;;;;;;;;;;;x
dwseom1003; I order [Root.dragon_mate.GetBestName] to try and calm my dragon, [Root.dragon_mated.GetFirstName], with their body. At first they refused but with a little convincing they agreed. A dragon's egg is a fine payment to offer, though I do not think they realize that they will be the one to lay the egg. 
I watch as [Root.dragon_mated.GetFirstName], enters the hall and dismisses the servants. I watch her disrobe and get thrown to the floor by [Root.dragon_mated.GetFirstName].
I watched her get mounted and bred much like a dog in heat. I leave her to enjoy spending time with [Root.dragon_mated.GetFirstName]. 
I return an hour later to find the servants standing slack jawed at the door. Inside the hall [Root.dragon_mate.GetFirstName] is still be ravaged by [Root.dragon_mated.GetFirstName]. Even with barely being able to see her under his form i can tell she is enjoying it. She wears such a blissful smile while being covered in a dragon's seed as it spills out.
Another hour passes before [Root.dragon_mated.GetFirstName] dismounts and retires to the back of the hall for well deserved rest.
[Root.dragon_mate.GetFirstName] has been coated inside and out with [Root.dragon_mated.GetFirstName]'s seed. She does not appear to be moving. If not for her breathing I would think she was dead. I ordered the servants to clean her and take her to her room.;;;;;;;;;;;;;;x   
dwseom1003A;Surely, [Root.dragon_mate.GetBestName], is with dragon egg now.;;;;;;;;;;;;;;x
dwseom1100;My enemy's army stands before me. Shout os fury and anger echo across the battle field. I can turn the tide of this battle with one simple command. But do I truely wish to risk my dragon?;;;;;;;;;;;;;;x
dwseom1100A;"BURN THEM ALL!";;;;;;;;;;;;;;x
dwseom1100B;We can win without my dragon.;;;;;;;;;;;;;;x
 

Any help would be appreciated 

Link to comment

Your problems are not obvious to me :tongue:

 

Maybe the filter returns nothing, so no character has been saved as the event target? Just my dumb brain trying to troubleshoot.

 

Or try this: instead of Root.dragon_mated.GetFirstName, try dragon_mated.GetFirstName.

Link to comment
42 minutes ago, bicobus said:

Your problems are not obvious to me :tongue:

 

Maybe the filter returns nothing, so no character has been saved as the event target? Just my dumb brain trying to troubleshoot.

 

Or try this: instead of Root.dragon_mated.GetFirstName, try dragon_mated.GetFirstName.

Well... it seems to be a little of column A and a little of column B. 

 

Removed the Root. and it fixed the women's name, but not the dragon.

 

Since they are setup the same in localization the only thing I can think is that its not saving the dragon correctly. Which means I will look over that again tomorrow.. or is it later today? You know what, going to bed now. I can look it over later once I have had a good night's rest...

Link to comment
7 hours ago, bicobus said:

The usage of random_child implies that the current character has a dragon child, is that correct?

Correct. The only way to get this event is to have a dragon child.

 

On a side note I have looked over the code and cannot see why it is not pulling the dragon's name. The event is correctly scoping the dragon (they get the character modifier correctly) its just not either saving them or the localization is not pulling correctly.

Link to comment

Your problem lies in how you're pulling the name.  [Root.dragon_mated.GetFirstName]

Format should be [Scope.Command]  You have [Scope.???.Command]

If the "dragon_mated" is the event target that you've saved, you can write it as [dragon_mated.GetFirstName] and it should work.

**Edit, to clarify, saved event targets can easily act as "scope" in localisation.  In those cases, you don't need Root, or From. One of the reasons I love them.

Link to comment
TTContentTorture1004a;I have enjoyed this.;;;;;;;;;;;;;x
TTContentTorture1500;Bound and shackled, [TT_torture_assailant.GetBestName] has sent you to the stocks and opened the doors the the public. Lines formed quickly, many men wanted to partake of you and your flesh. More still simply wanted to experience the degradation of someone important enough to earn the ire of the [TT_torture_assailant.GetTitle]. ;;;;;;;;;;;;;x
TTContentTorture1500a;Oh No!;;;;;;;;;;;;;x
TTContentTorture1500b;Get on with it.(Skip Scene).;;;;;;;;;;;;;x
TTContentTorture1501;Cock after cock lines up and fills your holes. You plead for it to stop, but your words go unheard by the throngs as they eagerly await their turns. The chain bar between your feet keeps your legs spread wide enough that even an unexperienced man will have no trouble getting into a good rhythm against even your unwilling body...;;;;;;;;;;;;;x
TTContentTorture1501a;When will it end?;;;;;;;;;;;;;x
TTContentTorture1502;Cum runs down your legs in a flood. What started as a trickle can not be described as such any longer. Too many men have finished deep inside of you and barely a moment passes before the next is already inside. How many have already finished, and how many more are to come, you don't know. All you know is that it isn't over, and there is no hope of stopping it at all...;;;;;;;;;;;;;x
TTContentTorture1502a;.......;;;;;;;;;;;;;x
TTContentTorture1503;You see feet come up in front of your stocks, before you can raise your head to see who it is someone grabs your head roughly. Your mouth is forced open and a cock is sliding into it. \n \n You chock on the cock, coughing and sucking in breath around it as he plunges his cock deep into your mouth and into your throat. The back of your head is pressed into the stocks and the cock and hips before you fall into a rythmn. A rythm of pressure, and release as you gasp for breath every chance you can get. \n \n When he finally cums, he shoves his twitching cock deep into your throat and unloads. Sliding his cock out of your mouth slowly and letting it drop. A finger runs along your chin and then with no warning a sharp slap across your cheek.;;;;;;;;;;;;;x
TTContentTorture1503a;At least he's finished...;;;;;;;;;;;;;x
TTContentTorture1504;Time passes slowly as the crowds thin out slowly. Only a few men are left, but they seem the most insatiable and violent of the bunch. You've no more energy to fight, no will to complain or beg.  Your eyes are unfocused as you stare off to the side and your body is rocked by another unnamed assailant...;;;;;;;;;;;;;x
TTContentTorture1504a;........;;;;;;;;;;;;;x

Here is some example localisation from my current time sink.

Link to comment
22 minutes ago, bicobus said:

I was so tired I did not realize zia may just have changed Root.dragon_mated, and left Root.dragon_mate alone. So yeah, Root needs to go away.

Ahh, I see.  You're right.  "I am blind to the passage of time as [Root.dragon_mated.GetFirstName] continues to thrust."  This instance is clearly the dragon, which was saved as "dragon_mate" so in this case if Root was removed it would display the name of the woman.

 

**Edit**  actually I'm still confused, because what I just said was wrong.  The dragon is saved as "dragon_mated"  

Link to comment
2 hours ago, bicobus said:

I was so tired I did not realize zia may just have changed Root.dragon_mated, and left Root.dragon_mate alone. So yeah, Root needs to go away.

 

2 hours ago, Mr_Treason said:

Ahh, I see.  You're right.  "I am blind to the passage of time as [Root.dragon_mated.GetFirstName] continues to thrust."  This instance is clearly the dragon, which was saved as "dragon_mate" so in this case if Root was removed it would display the name of the woman.

 

**Edit**  actually I'm still confused, because what I just said was wrong.  The dragon is saved as "dragon_mated"  

the root. was removed from both. It correctly pulls the female (saved as dragon_mate) but it does not pull the dragon (saved as dragonbreed, was dragon_mated  but it was getting confusing having it so close :I )

 

Current Localization:

 

Spoiler

dwseom1000;One of my dragons has been acting aggressive lately.
Their scales are tough and very sharp around the edges, which easily cut the hands of anyone trying to wash the beasts. Dragons are playful in nature and seldom recognise their own strength. A few playful nips can turn serious if not tended to. These are to be expect when dealing with dragons.
What I did not expect was a stable hand to nearly lose his head when a dragon disagreed with him or a maid to suffer intense burns at the hands of one of my dragons. While these incidents are shocking, you must be cautious when working with dragons.
What shocked me the most was when one of the maids came forth and stated that my dragon attempted to mount her, if not for her clothing she would surely be carrying a dragon's egg right now.
Maybe I can use this to calm my dragon?;;;;;;;;;;;;;x 
dwseom1000A;I will attempt to calm them myself.;;;;;;;;;;;;;x 
dwseom1000B;I will have a lady of the court calm them.;;;;;;;;;;;;;x 
dwseom1000C;One of my vassals would surely appreciate the chance to get a dragon egg.;;;;;;;;;;;;;x 
dwseom1000D;I will let them play with one of the prisoners.;;;;;;;;;;;;;x 
dwseom_dragon_sex;To Ride a Dragon;;;;;;;;;;;;;x 
dwseom1001;I enter the hall that houses my dragon [dragonbreed.GetFirstName] and dismiss the guard and the servants tending to him. After the last one leaves and the hall door closes, I disrobe.
[dragonbreed.GetFirstName] approaches as he gets close I can feel his warm breath across my bare form. He lets out a low growl before shoving me to the floor. 
I barely have time to register what happened before I feel his member press against my rearer. With a mighty shove he enters me. Again and again he thrusts.
Minutes pass, or maybe it is hours I do not know. I am blind to the passage of time as [dragonbreed.GetFirstName] continues to thrust. Pleasure filling me. Suddenly he stops thrusting, his member still inside. And I feel the throbbing of his form.;;;;;;;;;;;;;;x
dwseom1001A;"YES! FILL ME!" I command;;;;;;;;;;;;;;x
dwseom1002;On the orders of [From.GetBestName] I enter the hall that houses [From.GetHerHis]'s dragon [dragonbreed.GetFirstName] and dismiss the guard and the servants tending to him. After the last one leaves and the hall door closes, I disrobe.
[dragonbreed.GetFirstName] approaches as he gets close I can feel his warm breath across my bare form. He lets out a low growl before shoving me to the floor. 
I barely have time to register what happened before I feel his member press against my rearer. With a mighty shove he enters me. Again and again he thrusts.
Minutes pass, or maybe it is hours I do not know. I am blind to the passage of time as [dragonbreed.GetFirstName] continues to thrust. Pleasure filling me. Suddenly he stops thrusting, his member still inside. And I feel the throbbing of his form.;;;;;;;;;;;;;;x
dwseom1002A;"YES! FILL ME!";;;;;;;;;;;;;;x
dwseom1003; I order [dragon_mate.GetBestName] to try and calm my dragon, [dragonbreed.GetFirstName] , with their body. At first they refused but with a little convincing they agreed. A dragon's egg is a fine payment to offer, though I do not think they realize that they will be the one to lay the egg. 
I watch as [dragonbreed.GetFirstName] , enters the hall and dismisses the servants. I watch her disrobe and get thrown to the floor by [dragonbreed.GetFirstName].
I watched her get mounted and bred much like a dog in heat. I leave her to enjoy spending time with [dragonbreed.GetFirstName]. 
I return an hour later to find the servants standing slack jawed at the door. Inside the hall [dragon_mate.GetFirstName] is still be ravaged by [dragonbreed.GetFirstName] . Even with barely being able to see her under his form i can tell she is enjoying it. She wears such a blissful smile while being covered in a dragon's seed as it spills out.
Another hour passes before [dragonbreed.GetFirstName] dismounts and retires to the back of the hall for well deserved rest.
[dragon_mate.GetFirstName] has been coated inside and out with [dragonbreed.GetFirstName] 's seed. She does not appear to be moving. If not for her breathing I would think she was dead. I ordered the servants to clean her and take her to her room.;;;;;;;;;;;;;;x   
dwseom1003A;Surely, [dragon_mate.GetBestName], is with dragon egg now.;;;;;;;;;;;;;;x
dwseom1100;My enemy's army stands before me. Shout os fury and anger echo across the battle field. I can turn the tide of this battle with one simple command. But do I truely wish to risk my dragon?;;;;;;;;;;;;;;x
dwseom1100A;"BURN THEM ALL!";;;;;;;;;;;;;;x
dwseom1100B;We can win without my dragon.;;;;;;;;;;;;;;x
 

 

The Event that assigns save_event_target_as:

 

Spoiler

narrative_event = {
    id = dwseom.1000
    desc = "dwseom1000"
    picture = dragon_sex
    title = dwseom_dragon_stable
    
    is_triggered_only = yes

    option = {
        name = "dwseom1000A" 
        trigger = { 
            is_adult = yes
            is_female = yes
            is_pregnant = no
            NOT = {
                trait = dragon_pregnancy
            }
        }
        clr_character_flag = dragon_sexy_times
        ROOT = {
            narrative_event = { id = dwseom.1001 }
        }
        random_child = {
            limit = { 
                trait = dragon
                is_adult = yes
                NOT = {
                    has_character_modifier = dragon_satisfied 
                }
            }
            add_character_modifier = { name = dragon_satisfied duration = 365 }
            save_event_target_as = dragonbreed
        }
        ai_chance = {
            factor = 0.2
            modifier = {
                factor = 0
                any_child = {
                    trait = dragon
                    is_alive = yes
                    is_adult = no
                }        
            }
        }
    }
    option = {
        name = "dwseom1000B" 
        trigger = { 
            any_courtier = {
                is_adult = yes
                is_female = yes
                is_pregnant = no
                NOT = {
                    trait = dragon_pregnancy
                }
            }
        }
        clr_character_flag = dragon_sexy_times
        random_courtier = {
            limit = {
                is_adult = yes
                is_female = yes
                is_pregnant = no
                prisoner = no
                NOT = {
                    trait = dragon_pregnancy
                }
            }
            save_event_target_as = dragon_mate
            narrative_event = { id = dwseom.1002 }
            ROOT = { narrative_event = { id = dwseom.1003 } }

        }
        random_child = {
            limit = { 
                trait = dragon
                is_adult = yes
                NOT = {
                    has_character_modifier = dragon_satisfied 
                }
            }
            add_character_modifier = { name = dragon_satisfied duration = 365 }
            save_event_target_as = dragonbreed
        }
        ai_chance = {
            factor = 0.2
            modifier = {
                factor = 2
                any_child = {
                    trait = dragon
                    is_alive = yes
                    is_adult = no
                }        
            }
        }
    }
    option = {
        name = "dwseom1000C" 
        trigger = { 
            any_vassal = {
                is_adult = yes
                is_female = yes
                is_pregnant = no
                NOT = {
                    trait = dragon_pregnancy
                }
            }
        }
        clr_character_flag = dragon_sexy_times
        random_vassal = {
            limit = {
                is_adult = yes
                is_female = yes
                is_pregnant = no
                NOT = {
                    trait = dragon_pregnancy
                }
            }
            save_event_target_as = dragon_mate    
            narrative_event = { id = dwseom.1002 }
            ROOT = { narrative_event = { id = dwseom.1003 } }

        }
        random_child = {
            limit = { 
                trait = dragon
                is_adult = yes
                NOT = {
                    has_character_modifier = dragon_satisfied 
                }
            }
            add_character_modifier = { name = dragon_satisfied duration = 365 }
            save_event_target_as = dragonbreed
        }
        ai_chance = {
            factor = 0.5
            modifier = {
                factor = 2
                any_child = {
                    trait = dragon
                    is_alive = yes
                    is_adult = no
                }        
            }
        }
    }
    option = {
        name = "dwseom1000D" 
        trigger = { 
            any_courtier = {
                is_adult = yes
                is_female = yes
                is_pregnant = no
                prisoner = yes
                NOT = {
                    trait = dragon_pregnancy
                }
            }
        }
        clr_character_flag = dragon_sexy_times
        random_courtier = {
            limit = {
                is_adult = yes
                is_female = yes
                is_pregnant = no
                prisoner = yes
                NOT = {
                    trait = dragon_pregnancy
                }
            }    
            narrative_event = { id = dwseom.1002 }
            ROOT = { narrative_event = { id = dwseom.1003 } }
        }
        random_child = {
            limit = { 
                trait = dragon
                is_adult = yes
                NOT = {
                    has_character_modifier = dragon_satisfied 
                }
            }
            add_character_modifier = { name = dragon_satisfied duration = 365 }
            save_event_target_as = dragonbreed
        }
        ai_chance = {
            factor = 0        
        }
    }
}

 

 

 

 

 

 

 

 

 

narrative_event = {
    id = dwseom.1001
    desc = "dwseom1001"
    picture = dragon_sex2
    title = dwseom_dragon_sex
    
    is_triggered_only = yes

    option = {
        name = "dwseom1001A" 
        if = {
            limit = { 
                trait = virgin 
            }
            remove_trait = virgin
        }
        ROOT = {
            add_trait = dragon_pregnancy
            character_event = { id = dwseom.501 months = 6 }
                
        }
    }
}
narrative_event = {
    id = dwseom.1002
    desc = "dwseom1002"
    picture = dragon_sex2
    title = dwseom_dragon_sex
    
    is_triggered_only = yes
    
    option = {
        name = "dwseom1002A" 
        if = {
            limit = { 
                trait = virgin 
            }
            remove_trait = virgin
        }
            add_trait = dragon_pregnancy
            character_event = { id = dwseom.501 months = 6 }
    }
}
narrative_event = {
    id = dwseom.1003
    desc = "dwseom1003"
    picture = dragon_sex2
    title = dwseom_dragon_sex
    
    is_triggered_only = yes
    
    option = {
        name = "dwseom1003A" 
    }
}
 

 

 

Still have no idea why it is not pulling the dragon's name.

Link to comment
20 minutes ago, bicobus said:

Correct me if I'm wrong, shouldn't the trigger scope verify if an adult child of the character is available to be used in the event?

Yes, but I need to apply a modifier to them after they have been used by the event.. else it would be waaaayyy to spamy. (and you can have more than one dragon so... I need to make sure on ONE is getting pulled for it not all of the them )

 

Since I need to add the modifier I want to make sure that only an adult is getting it. So I have to check for it again. Which is what this is for:

 

        random_child = {
            limit = { 
                trait = dragon
                is_adult = yes
                NOT = {
                    has_character_modifier = dragon_satisfied 
                }
            }
            add_character_modifier = { name = dragon_satisfied duration = 365 }
            save_event_target_as = dragonbreed
        }

 

It also saves them as the event target so I can pull them in localization... but either thats broken or the localization is broken. Which is the problem I am currently having.

Link to comment

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use