Skip to content

Commit

Permalink
一些scope相关的bug修复
Browse files Browse the repository at this point in the history
  • Loading branch information
cocolinfff committed Oct 16, 2022
1 parent 6b56974 commit a13d042
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion common/buildings/ethic_school_buildings.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ building_school_1 = {
is_ai = no
AND = {
is_ai = yes
planet = { num_buildings = { type = building_school_1 value < 3 } }
from = { num_buildings = { type = building_school_1 value < 3 } }
}
}
}
Expand Down
8 changes: 5 additions & 3 deletions common/decisions/ethic_rebuild_special_decisions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -540,9 +540,11 @@ decision_close_illegal_office = {

potential = {
owner = { has_policy_flag = economic_stance_planned }
branch_office_owner = {
NOT = { is_same_value = root }
}
planet = {
branch_office_owner = {
NOT = { is_same_value = root }
}
}
}

allow = {
Expand Down
1 change: 0 additions & 1 deletion common/on_actions/ethic_rebuild_on_actions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ on_yearly_pulse_country = {
peoples_emperor.1
ethic_conciliatory.2
ethic_corpus_event.1
ethic_economic.2
ethic_civic_yearly.2
ethic_civic_yearly.3
ethic_equal_gift.1
Expand Down
6 changes: 4 additions & 2 deletions common/pop_jobs/02_specialist_jobs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,8 @@ priest = {
}
triggered_planet_modifier = { # 民主廉政取消维护费
potential = {
NOT = { has_valid_civic = civic_democracy_and_clean_government }
exists = owner
NOT = { owner = { has_valid_civic = civic_democracy_and_clean_government } }
}
planet_priests_upkeep_mult = 0.01
}
Expand All @@ -935,7 +936,8 @@ priest = {
}
triggered_planet_modifier = {
potential = {
has_valid_civic = civic_liberation_theology
exists = owner
owner = { has_valid_civic = civic_liberation_theology }
}
modifier = {
planet_amenities_add = 1
Expand Down

0 comments on commit a13d042

Please sign in to comment.