Is it possible to create a trait or modifier which tracks who had sex with whom? I figured a modified form of lover's pox with 100% transmission rate could be used, but it wouldn't be too accurate (No way to know if person 1 had relations with person 10, or if it was just a chain.)
Both traits and modifiers would be too inflexible for this afaik, but you might even have another problem:
You can not track "regular" married intercourse, since that is just sort of a background "hum" that automatically checks from time to time, and if both characters have enough fertility, makes the female pregnant. Unless there is an event involved, like with the seduction focus sex, you can't track it.
I also have the need to display a very high amount of information (though in my case about every province in the realm), and I do so via
custom_tooltips in an event. Because as I said, modifiers and especially traits are way to inflexible, as you can't really add dynamically to them afaik.
what does this "NUMBER_OF_DNA_PROPERTIES" mean in defines
That is the new define to define the amount of "layers" a portrait should have - you can now mod that and add e.g. a layer of glitter over your portraits in a mod. Note that society clothign isn't a regular layer apparently, and thus not included here.
Oh and btw thx, your question just made me find the answer to my own!
Just for roleplaying, I'll now answer myself:
Greetings.
M&M is out, but I am kinda disappointed with the generic icon that is shown with the character modifier that applies the effects of your treasury, and want to change it.
However, I can't seem to find the place in the code where that modifier gets applied/the icon is referenced.
Somebody knows where it is?
Hey
@LordPeter, I have seem to have found the answer: It's
Code:
TREASURY_MODIFIER_ICON_FRAME = 13
in the defines. Hope that helps!
Question about building triggers -- I want to have a building build
only if there is a specific type of building in a neighboring realm province.
I have gotten as far as:
Code:
trigger = {
TECH_CONSTRUCTION = 0
OR = {
location = {
terrain = mountain
}
any_neighbor_province = {
hospital_has_building = hp_aqueduct_1
}
}
}
This allows me to build an aqueduct at a hospital in a mountain terrain OR if a neighboring province has one already built. However, it isn't limited to just the realm. It can be any neighboring province, even if the two provinces are under two different realms. Is there a way to limit the "any_neighbor_province" to target just those provinces in the realm? All the combos I have tried have failed, either breaking the building, or just not working.
What about this:
Code:
trigger = {
TECH_CONSTRUCTION = 0
OR = {
location = {
terrain = mountain
}
any_neighbor_province = {
AND = {
hospital_has_building = hp_aqueduct_1
owner = {
same_realm = ROOT
}
}
}
}
}
I basically just added the example section of the wiki on the
same_realm condition.
I haven't tested it, and maybe there are other possibilities, but it might be what you want.