bm: add decision to stop machine production
This commit is contained in:
parent
2aed975e32
commit
1b23807244
|
@ -0,0 +1,59 @@
|
||||||
|
# Stop Robot/Droid Assembly
|
||||||
|
decision_enact_robot_assembly_control = {
|
||||||
|
owned_planets_only = yes
|
||||||
|
sound = event_administrative_work
|
||||||
|
icon = decision_politics
|
||||||
|
|
||||||
|
resources = {
|
||||||
|
category = decisions
|
||||||
|
cost = {
|
||||||
|
unity = 250
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
potential = {
|
||||||
|
owner = {
|
||||||
|
OR = {
|
||||||
|
AND = {
|
||||||
|
is_regular_empire = yes
|
||||||
|
NOT = { has_policy_flag = robots_outlawed }
|
||||||
|
has_technology = tech_robotic_workers
|
||||||
|
OR = {
|
||||||
|
AND = {
|
||||||
|
has_policy_flag = ai_full_rights
|
||||||
|
has_policy_flag = population_controls_allowed
|
||||||
|
}
|
||||||
|
NOT = {
|
||||||
|
has_policy_flag = ai_full_rights
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
is_individual_machine = yes
|
||||||
|
OR = {
|
||||||
|
has_ascension_perk = ap_organo_machine_interfacing
|
||||||
|
has_civic = civic_machine_assimilator
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
NOT = { has_modifier = planet_robot_assembly_control }
|
||||||
|
}
|
||||||
|
|
||||||
|
effect = {
|
||||||
|
add_modifier = { modifier = "planet_robot_assembly_control" days = -1 }
|
||||||
|
}
|
||||||
|
|
||||||
|
ai_weight = {
|
||||||
|
weight = 5
|
||||||
|
modifier = { # don't enable if you have free housing and no city districts left to build
|
||||||
|
factor = 0
|
||||||
|
OR = {
|
||||||
|
free_housing > 0
|
||||||
|
num_free_districts = {
|
||||||
|
type = any
|
||||||
|
value > 0
|
||||||
|
}
|
||||||
|
has_building_construction = yes #Added since they're probably building housing
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue