Skip to content

Commit

Permalink
feat: Pops don't need literacy to gain clergy qualifications, if they…
Browse files Browse the repository at this point in the history
… are of accepted religion
  • Loading branch information
raxo2222 committed Jul 26, 2023
1 parent f3dd521 commit 8ecf10e
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 4 deletions.
15 changes: 14 additions & 1 deletion common/pop_types/cwp_clergy.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,27 @@
qualifications = {
if = {
limit = {
literacy_rate > 0.1
or = {
literacy_rate > 0.1
religion_accepted = yes
}
}
add = {
value = literacy_rate
subtract = 0.1
min = 0
multiply = 15
desc = QUALIFICATIONS_LITERACY_FACTOR
}
if = {
limit = {
religion_accepted = yes
}
add = {
value = 0.1
desc = QUALIFICATIONS_ACCEPTED_POP_RELIGION
}
}
if = {
limit = {
or = {
Expand Down
2 changes: 1 addition & 1 deletion common/pop_types/cwp_service_workers.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
}
add = {
value = 0.1
desc = QUALIFICATIONS_ACCEPTED_POP
desc = QUALIFICATIONS_ACCEPTED_POP_CULTURE
}
}
if = {
Expand Down
3 changes: 2 additions & 1 deletion localization/english/CWP/CWP_interfaces_l_english.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,8 @@
POP_SERVICEMEMBERS: "$servicemembers$ [concept_profession]"
POP_CREATIVES: "$creatives$ [concept_profession]"

QUALIFICATIONS_ACCEPTED_POP: "Accepted [concept_culture]"
QUALIFICATIONS_ACCEPTED_POP_CULTURE: "Accepted [concept_culture]"
QUALIFICATIONS_ACCEPTED_POP_RELIGION: "Accepted [concept_religion]"

# Fixed vanilla typos in loc enntry - we'll see duplicate in error log once PDX fixes it.
ACCEPTED_TOOLTIP_PRIMARY_CULTURE: "As this Pop is of the [Concept('concept_primary_cultures','$concept_primary_culture$')] they will always be Accepted\n\n"
Expand Down
2 changes: 1 addition & 1 deletion localization/english/pop_types_l_english.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,5 @@
FARMERS_QUALIFICATIONS_DESC: "Any pop can become #v $farmers$#!. Potential increases with greater [concept_wealth]. #v $landlords$#! have the largest chance of becoming #v $farmers$#!; followed by #v $laborers$#! and #v $informal_workers$#! to a lesser degree."
OFFICERS_QUALIFICATIONS_DESC: "Only #v $servicemembers$#! or pops of [concept_accepted_culture] can become #v $officers$#!. Potential increases with greater [concept_literacy]. $servicemembers$#! have a proclivity towards $EM_DASH$ whilst #v $professionals$#! have a slight chance of $EM_DASH$ becoming #v $officers$#!. #v $officers$#! are less common in nations with an irregular military."
PROFESSIONALS_QUALIFICATIONS_DESC: "Only pops with adequate [concept_literacy] can become #v $professionals$#!. Potential increases with greater [concept_literacy] and [concept_wealth]. #v $creatives$#!, #v $academics$#! show the strongest tendency $EM_DASH$ whilst #v $farmers$#!, #v $officers$#!, #v $administrators$#!, #v $landlords$#!, and #v $investors$#! have some chance of $EM_DASH$ becoming #v $professionals$#!."
SERVICE_WORKERS_QUALIFICATIONS_DESC: "Any pop can become #v $service_workers$#!. Potential increases with greater [concept_literacy]. #v $professionals$#! have the strongly leaning; #v $administrators$#! and #v $informal_workers$#! have some leaning; and #v $creatives$#! have a slight leaning towards becoming #v $service_workers$#!."
SERVICE_WORKERS_QUALIFICATIONS_DESC: "Any pop can become #v $service_workers$#!, easier time if pop is [concept_accepted_culture]. Potential increases with greater [concept_literacy]. #v $professionals$#! have the strongly leaning; #v $administrators$#! and #v $informal_workers$#! have some leaning; and #v $creatives$#! have a slight leaning towards becoming #v $service_workers$#!."
TECHNICIANS_QUALIFICATIONS_DESC: "Pops with minimal [concept_literacy] can become #v $technicians$#!. Potential increases with greater [concept_literacy]. #v $laborers$#! and #v $engineers$#! have a particularly easy time becoming #v $technicians$#!."

0 comments on commit 8ecf10e

Please sign in to comment.