Hi Guys,
I try to mod a new policy which allows to control the growth of your species/xenos. (like slaves, but without the enslavemant.
I've created the policy-file and this one works fine; if you activate the policy every growing pop becomes deletet.
But after this the pop regrow.
If I'm right I need a event wich checks every month if a pop is growing and then delets this pop if my policy_flag is active.
this is my event; the flags are all set proper throu the policy. But something doesn't work, no effet after all...
maybe aomeone can help?
Greez
I try to mod a new policy which allows to control the growth of your species/xenos. (like slaves, but without the enslavemant.
I've created the policy-file and this one works fine; if you activate the policy every growing pop becomes deletet.
But after this the pop regrow.
If I'm right I need a event wich checks every month if a pop is growing and then delets this pop if my policy_flag is active.
Code:
#########################################
#
# birthcontrol_events
#
#########################################
namespace = birthcontrol
# A pop has been enslaved, remove it if we have the no growing slaves policy.
pop_event = {
id = birthcontrol.10
hide_window = yes
is_triggered_only = yes
trigger = {
is_growing = yes
NOT = { is_same_species = ROOT }
owner = {
has_policy_flag = birthcontroll_xenos
}
}
immediate = {
kill_pop = yes
}
}
pop_event = {
id = birthcontrol.20
hide_window = yes
is_triggered_only = yes
trigger = {
is_growing = yes
is_same_species = ROOT
owner = {
has_policy_flag = birthcontroll_own
}
}
immediate = {
kill_pop = yes
}
}
pop_event = {
id = birthcontrol.30
hide_window = yes
is_triggered_only = yes
trigger = {
is_growing = yes
owner = {
has_policy_flag = birthcontroll_all
}
}
immediate = {
kill_pop = yes
}
}
this is my event; the flags are all set proper throu the policy. But something doesn't work, no effet after all...
maybe aomeone can help?
Greez