I would like to request a simple mod. If there is one, I could not find it... a sound effect added to land warfare.
Usually, the most of decisions have some modifiers, so you can check them for existence.MODDING FEATURE REQUEST:
I have an event with different probabilities and outcomes, that depend on whether the planet has an specific decision active... or that was my intention, because there is no trigger to check whether a decision on a planet is currently active.
- has_decision trigger
add_modifier = { modifier = "martial_law" days = -1 }
any_country = {
any_owned_pop = {
(check species triggers here)
}
}
create_species = {
is_mod = yes
name = "Foo"
...
}
MODDING FEATURE REQUEST:
The only way I've been able to figure out to scope to any species in the galaxy is
- any_species, every_species, and random_species scopes
and that seems horribly inefficient.Code:any_country = { any_owned_pop = { (check species triggers here) } }
Oh, interesting. I tried the *_owned_pop_species scopes, but they didn't work (at least not for what I was using them for). If the *_owned_species scopes are different, and actually work, that could be useful.The great @Moah made that already, it's in 2.6. There's random/every/any/count_owned_species, which will scope to all the species owned by the country (or planet, etc) and galaxy_species, which scopes to all in the galaxy
Oh, interesting. I tried the *_owned_pop_species scopes, but they didn't work (at least not for what I was using them for). If the *_owned_species scopes are different, and actually work, that could be useful.
I'm really happy to hear about galaxy_species, though - that's actually way more useful in the specific context I'm working on right now. So just to make sure, random_galaxy_species, any_galaxy_species, every_galaxy_species, and count_galaxy_species all exist now?
Btw, are these documented anywhere? I didn't see them on the wiki.
MODDING FEATURE REQUEST:
Make it possible to scope to every_system from the init_effect block of a solar system initializer.
The reason I want to be able to do it during galaxy gen is so that I can set flags on systems that meet certain criteria and then use those flags to modify the usage_odds of other initializers. Can't do that with a game_start event.That one might not be possible. Solar system initializers are used in galaxy generation, so there's no guarantee that more systems won't be generated after that one.
A workaround might be to set a star flag for the system, then write a game_start event: if any system with that flag exists, then every_system = <effect>.