A technical question likely impossible to be known by fellow forumites, so I am bothering the devs directly.
@blackninja9939 (or some other dev who has time):
- Could it be that in on_actions, "on_yearly_childhood_pulse" does fire events in the category "events" (not "random_events") only for characters age 6 and up, and not for age 2-16, as would be expected?
Because I have setup a mod that should execute immediately after the child turns 2, yet testing shows it reproducibly only fires once the child is over the age of 6.
It should remove a trait given on_birth, so I can visibly follow whether the event has executed or not. The event itself works fine once the child is 6, and it is simple enough to verify no errors on my part should be the cause for this behavior (I can post the code if you want). Which is why I have started to suspect this, especially since vanilla does not have any events in "events" (i.e. non-random) there.
Without access to the engine it's probably hard to verify my suspicion (let alone fix it if confirmed), that's why I am bothering a dev directly.