########################################################################## # Sacrifice Edicts ########################################################################## #@Edict1Cost = 50 #@Edict2Cost = 100 @sacrificeDuration = 1800 @sacrificeReward1 = 0.15 sacrifice_dummy = { length = @sacrificeDuration icon = "GFX_edict_type_time" potential = { always = no } resources = { category = edicts cost = { unity = 1 multiplier = value:sacrifice_cost multiplier = value:edict_size_effect } } modifier = { custom_tooltip = edict_sacrifice_dummy_tooltip } prerequisites = { "tech_planetary_government" } show_tech_unlock_if = { is_spiritualist = yes is_death_cult_empire = yes } } sacrifice_togetherness = { length = @sacrificeDuration icon = "GFX_edict_type_time" resources = { category = edicts cost = { unity = 1 multiplier = value:sacrifice_cost multiplier = value:edict_size_effect } } modifier = { custom_tooltip = "edict_sacrifice_togetherness_tooltip" #This string should be updated if the values below are changed show_only_custom_tooltip = no country_unity_produces_mult = 0.10 logistic_growth_mult = 0.05 } potential = { is_death_cult_empire = yes NOR = { has_edict = sacrifice_harmony has_edict = sacrifice_bounty } OR = { has_edict = sacrifice_togetherness OR = { any_owned_planet = { num_assigned_jobs = { job = mortal_initiate value > 0 } } any_subject = { any_owned_planet = { OR = { num_assigned_jobs = { job = overlord_mortal_initiate value > 0 } num_assigned_jobs = { job = overlord_mortal_initiate_drone value > 0 } } } } } } } allow = { NOR = { has_edict = sacrifice_harmony has_edict = sacrifice_bounty } OR = { has_edict = sacrifice_togetherness num_assigned_jobs = { job = mortal_initiate value >= 100 } } } prerequisites = { "tech_planetary_government" } show_tech_unlock_if = { always = no } effect = { country_event = { id = necroids.200 days = 0 } } ai_weight = { weight = 0 modifier = { weight = @EdictLowPrio AND = { years_passed > 60 any_owned_planet = { num_assigned_jobs = { job = mortal_initiate value >= 300 } } has_monthly_income = { resource = unity value <= 60 } } } modifier = { weight = @EdictMedPrio AND = { years_passed > 100 any_owned_planet = { num_assigned_jobs = { job = mortal_initiate value >= 300 } } has_monthly_income = { resource = unity value <= 80 } } } } } sacrifice_harmony = { length = @sacrificeDuration icon = "GFX_edict_type_time" resources = { category = edicts cost = { unity = 1 multiplier = value:sacrifice_cost multiplier = value:edict_size_effect } } modifier = { custom_tooltip = "edict_sacrifice_harmony_tooltip" #This string should be updated if the values below are changed show_only_custom_tooltip = no pop_happiness = 0.10 logistic_growth_mult = 0.05 } potential = { is_death_cult_empire = yes NOR = { has_edict = sacrifice_togetherness has_edict = sacrifice_bounty } OR = { has_edict = sacrifice_harmony OR = { any_owned_planet = { num_assigned_jobs = { job = mortal_initiate value > 0 } } any_subject = { any_owned_planet = { OR = { num_assigned_jobs = { job = overlord_mortal_initiate value > 0 } num_assigned_jobs = { job = overlord_mortal_initiate_drone value > 0 } } } } } } } allow = { NOR = { has_edict = sacrifice_togetherness has_edict = sacrifice_bounty } OR = { has_edict = sacrifice_harmony num_assigned_jobs = { job = mortal_initiate value >= 100 } } } prerequisites = { "tech_planetary_government" } show_tech_unlock_if = { always = no } effect = { country_event = { id = necroids.201 days = 0 } } ai_weight = { weight = 0 modifier = { weight = @EdictLowPrio AND = { years_passed > 60 any_owned_planet = { num_assigned_jobs = { job = mortal_initiate value >= 300 } } has_monthly_income = { resource = unity value <= 60 } } } modifier = { weight = @EdictMedPrio AND = { years_passed > 100 any_owned_planet = { num_assigned_jobs = { job = mortal_initiate value >= 300 } } has_monthly_income = { resource = unity value <= 80 } } } } } sacrifice_bounty = { length = @sacrificeDuration icon = "GFX_edict_type_time" resources = { category = edicts cost = { unity = 2 multiplier = value:sacrifice_cost multiplier = value:edict_size_effect } } modifier = { custom_tooltip = "edict_sacrifice_bounty_tooltip" #This string should be updated if the values below are changed show_only_custom_tooltip = no country_minerals_produces_mult = 0.05 country_energy_produces_mult = 0.05 logistic_growth_mult = 0.05 } potential = { NOT = { has_valid_civic = civic_permanent_employment } is_death_cult_empire = yes NOR = { has_edict = sacrifice_togetherness has_edict = sacrifice_harmony } OR = { has_edict = sacrifice_bounty OR = { any_owned_planet = { num_assigned_jobs = { job = mortal_initiate value > 0 } } any_subject = { any_owned_planet = { OR = { num_assigned_jobs = { job = overlord_mortal_initiate value > 0 } num_assigned_jobs = { job = overlord_mortal_initiate_drone value > 0 } } } } } } } allow = { NOR = { has_edict = sacrifice_togetherness has_edict = sacrifice_harmony } OR = { has_edict = sacrifice_bounty num_assigned_jobs = { job = mortal_initiate value >= 100 } } } prerequisites = { "tech_planetary_government" } show_tech_unlock_if = { always = no } effect = { country_event = { id = necroids.202 days = 0 } } ai_weight = { weight = 0 modifier = { weight = @EdictLowPrio AND = { years_passed > 60 any_owned_planet = { num_assigned_jobs = { job = mortal_initiate value >= 300 } } has_monthly_income = { resource = unity value <= 60 } } } modifier = { weight = @EdictMedPrio AND = { years_passed > 100 any_owned_planet = { num_assigned_jobs = { job = mortal_initiate value >= 300 } } has_monthly_income = { resource = unity value <= 80 } } } } } sacrifice_bounty_zombie = { length = @sacrificeDuration icon = "GFX_edict_type_time" resources = { category = edicts cost = { unity = 2 multiplier = value:sacrifice_cost multiplier = value:edict_size_effect } } modifier = { custom_tooltip = "edict_sacrifice_bounty_zombie_tooltip" #This string should be updated if the values below are changed show_only_custom_tooltip = no country_minerals_produces_mult = 0.05 country_energy_produces_mult = 0.05 logistic_growth_mult = 0.05 } potential = { has_valid_civic = civic_permanent_employment is_death_cult_empire = yes NOR = { has_edict = sacrifice_togetherness has_edict = sacrifice_harmony } OR = { has_edict = sacrifice_bounty_zombie OR = { any_owned_planet = { num_assigned_jobs = { job = mortal_initiate value > 0 } } any_subject = { any_owned_planet = { OR = { num_assigned_jobs = { job = overlord_mortal_initiate value > 0 } num_assigned_jobs = { job = overlord_mortal_initiate_drone value > 0 } } } } } } } allow = { NOR = { has_edict = sacrifice_togetherness has_edict = sacrifice_harmony } OR = { has_edict = sacrifice_bounty_zombie num_assigned_jobs = { job = mortal_initiate value >= 100 } } } prerequisites = { "tech_planetary_government" } show_tech_unlock_if = { always = no } effect = { country_event = { id = necroids.202 days = 0 } } ai_weight = { weight = 0 modifier = { weight = @EdictLowPrio AND = { years_passed > 60 any_owned_planet = { num_assigned_jobs = { job = mortal_initiate value >= 300 } } has_monthly_income = { resource = unity value <= 60 } } } modifier = { weight = @EdictMedPrio AND = { years_passed > 100 any_owned_planet = { num_assigned_jobs = { job = mortal_initiate value >= 300 } } has_monthly_income = { resource = unity value <= 80 } } } } }