Skip to content

Commit

Permalink
Korea Vietnam Writing System JE
Browse files Browse the repository at this point in the history
  • Loading branch information
Emifas committed Dec 25, 2024
1 parent 04eda57 commit 868d85b
Show file tree
Hide file tree
Showing 7 changed files with 313 additions and 0 deletions.
4 changes: 4 additions & 0 deletions common/history/countries/dai - dai viet.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,9 @@
add_ideology = ideology_scholar_paternalistic
remove_ideology = ideology_paternalistic
}

add_journal_entry = {
type = je_vietnamese_writing_system
}
}
}
4 changes: 4 additions & 0 deletions common/history/countries/kor - korea.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,9 @@
add_ideology = ideology_scholar_paternalistic
remove_ideology = ideology_paternalistic
}

add_journal_entry = {
type = je_korean_writing_system
}
}
}
59 changes: 59 additions & 0 deletions common/journal_entries/imperia_sinosphere_je.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
je_korean_writing_system = {
icon = "gfx/interface/icons/event_icons/event_newspaper.dds"
group = je_group_historical_content

modifiers_while_active = {
modifier_chinese_writing_system
}

complete = {
NOT = {
has_law = law_type:law_no_schools
}
institution_investment_level = {
institution = institution_schools
value >= 2
}
any_scope_building = {
is_building_type = building_university
occupancy >= 0.75
level >= 5
}
}

on_complete = {
trigger_event = imperia_sinosphere.1 #Korea version
}

weight = 1000
}

je_vietnamese_writing_system = {
icon = "gfx/interface/icons/event_icons/event_newspaper.dds"
group = je_group_historical_content

modifiers_while_active = {
modifier_chinese_writing_system
}

complete = {
NOT = {
has_law = law_type:law_no_schools
}
institution_investment_level = {
institution = institution_schools
value >= 2
}
any_scope_building = {
is_building_type = building_university
occupancy >= 0.75
level >= 5
}
}

on_complete = {
trigger_event = imperia_sinosphere.2 #Vietnam version
}

weight = 1000
}
1 change: 1 addition & 0 deletions common/static_modifiers/imperia_qing_modifiers.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ modifier_chinese_diglossia = {
icon = gfx/interface/icons/timed_modifier_icons/modifier_documents_negative.dds
state_education_access_add = -0.05
country_institution_schools_max_investment_add = -1
state_education_access_wealth_add = 0.005
}

modifier_prestige_dialect = {
Expand Down
39 changes: 39 additions & 0 deletions common/static_modifiers/imperia_sinosphere_modifiers.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
modifier_chinese_writing_system = {
icon = gfx/interface/icons/timed_modifier_icons/modifier_documents_negative.dds
state_education_access_add = -0.05
country_institution_schools_max_investment_add = -1
state_education_access_wealth_add = 0.005
}

modifier_mixed_script_korea = {
icon = gfx/interface/icons/timed_modifier_icons/modifier_documents_positive.dds
state_education_access_add = 0.05
country_tech_spread_mult = 0.1
building_university_throughput_add = 0.1
}

modifier_mixed_script_vietnam = {
icon = gfx/interface/icons/timed_modifier_icons/modifier_documents_positive.dds
state_education_access_add = 0.05
country_tech_spread_mult = 0.1
building_university_throughput_add = 0.1
}

modifier_hangul = {
icon = gfx/interface/icons/timed_modifier_icons/modifier_documents_positive.dds
country_institution_schools_max_investment_add = 1
building_government_administration_throughput_add = 0.1
}

modifier_chu_quoc_ngu = {
icon = gfx/interface/icons/timed_modifier_icons/modifier_documents_positive.dds
country_institution_schools_max_investment_add = 1
building_government_administration_throughput_add = 0.1
}

modifier_writing_system_transition = {
icon = gfx/interface/icons/timed_modifier_icons/modifier_documents_negative.dds
state_education_access_add = -0.05
building_university_throughput_add = -0.1
building_government_administration_throughput_add = -0.1
}
176 changes: 176 additions & 0 deletions events/imperia_sinosphere_events.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,176 @@
namespace = imperia_sinosphere
imperia_sinosphere.1 = {
type = country_event
placement = root
title = imperia_sinosphere.1.t
desc = imperia_sinosphere.1.d
flavor = imperia_sinosphere.1.f
duration = 3
event_image = {
video = "gfx/event_pictures/unspecific_ruler_speaking_to_people.bk2"
}

on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
on_opened_soundeffect = "event:/SFX/Events/europenorthamerica/rich_and_poor"
icon = "gfx/interface/icons/event_icons/event_default.dds"
trigger = {}

option = {
name = imperia_sinosphere.1.a
}

option = {
name = imperia_sinosphere.1.b

add_modifier = {
name = modifier_mixed_script_korea
months = -1
}
add_modifier = {
name = modifier_writing_system_transition
months = 60
is_decaying = yes
}
if = {
limit = {
AND = {
exists = c:CHI
is_subject_of = c:CHI
}
}
create_diplomatic_catalyst = {
type = catalyst_event_negative
target = c:CHI
}
change_relations = {
country = c:CHI
value = -50
}
}
if = {
limit = {
AND = {
exists = c:TPG
is_subject_of = c:TPG
}
}
create_diplomatic_catalyst = {
type = catalyst_event_negative
target = c:TPG
}
change_relations = {
country = c:TPG
value = -50
}
}
}

option = {
name = imperia_sinosphere.1.c

trigger = {
NOR = {
is_subject_of = c:CHI
is_subject_of = c:TPG
}
}

add_modifier = {
name = modifier_hangul
months = -1
}
add_modifier = {
name = modifier_writing_system_transition
months = 120
is_decaying = yes
}
}
}

imperia_sinosphere.2 = {
type = country_event
placement = root
title = imperia_sinosphere.2.t
desc = imperia_sinosphere.2.d
flavor = imperia_sinosphere.2.f
duration = 3
event_image = {
video = "gfx/event_pictures/unspecific_ruler_speaking_to_people.bk2"
}

on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
on_opened_soundeffect = "event:/SFX/Events/europenorthamerica/rich_and_poor"
icon = "gfx/interface/icons/event_icons/event_default.dds"
trigger = {}
option = {
name = imperia_sinosphere.2.a
}

option = {
name = imperia_sinosphere.2.b

add_modifier = {
name = modifier_mixed_script_vietnam
months = -1
}
add_modifier = {
name = modifier_writing_system_transition
months = 60
is_decaying = yes
}
if = {
limit = {
AND = {
exists = c:CHI
is_subject_of = c:CHI
}
}
create_diplomatic_catalyst = {
type = catalyst_event_negative
target = c:CHI
}
change_relations = {
country = c:CHI
value = -50
}
}
if = {
limit = {
AND = {
exists = c:TPG
is_subject_of = c:TPG
}
}
create_diplomatic_catalyst = {
type = catalyst_event_negative
target = c:TPG
}
change_relations = {
country = c:TPG
value = -50
}
}

}

option = {
name = imperia_sinosphere.2.c

trigger = {
NOR = {
is_subject_of = c:CHI
is_subject_of = c:TPG
}
}

add_modifier = {
name = modifier_chu_quoc_ngu
months = -1
}
add_modifier = {
name = modifier_writing_system_transition
months = 120
is_decaying = yes
}
}
}
30 changes: 30 additions & 0 deletions localization/english/imperia_sinosphere_l_english.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
l_english:
je_korean_writing_system: "The Issue of Hanja"
je_korean_writing_system_reason: "As a result of our prolonged contact with the Chinese cultural sphere, Chinese customs and creations have been prevalent in the Korean Peninsula for over 1300 years. The most notable exemplar of Chinese influence in [SCOPE.GetRootScope.GetCountry.GetName] can be seen in our official writing system, which comprises Chinese characters adapted to represent the Korean language. This unwieldy combination is a poor suit for the actual needs of our written language, hampering literacy and consequently our development."

je_vietnamese_writing_system: "The Issue of Chu Han"
je_vietnamese_writing_system_reason: "As a result of our prolonged contact with the Chinese sphere of influence, Chinese customs and creations have been prevalent in the Red River Delta for over nearly two millennia. The most notable exemplar of Chinese influence in [SCOPE.GetRootScope.GetCountry.GetName] can be seen in our official writing system, which comprises Chinese characters adapted to represent the Vietnamese language. While not wholly unsuited to the needs of our written language, such a system does hamper literacy."

imperia_sinosphere.1.t: "The Future of Hanja"
imperia_sinosphere.1.d: "As the beginnings of a formal education system start to emerge in [SCOPE.GetRootScope.GetCountry.GetName], debate has heated up regarding the role of Hanja in Korean society and whether such a system is truly suited for the needs of the Korean people."
imperia_sinosphere.1.f: ""Hanja is the foundation of our classical literature, our philosophy, and our understanding of the universe. To discard it is to sever ourselves from our ancestors and the wisdom they have passed down through generations!" \n\n "The world is changing rapidly. Can we afford to remain shackled to the past? In the grand pursuit of strengthening [SCOPE.GetRootScope.GetCountry.GetName], Hanja is a relic of the past, an obstacle to our progress.""

imperia_sinosphere.1.a: "Hanja will remain, though we must take steps to improve its accessibility to the masses."
imperia_sinosphere.1.b: "A mixed script written with both Hanja and Hangul will serve as a suitable compromise."
imperia_sinosphere.1.c: "Hanja is obsolete! Hangul is the future!"

imperia_sinosphere.2.t: "The Future of Chu Han"
imperia_sinosphere.2.d: "As the beginnings of a formal education system start to emerge in [SCOPE.GetRootScope.GetCountry.GetName], debate has heated up regarding the role of Chu Han in Vietnamese society and whether such a system is truly suited for the needs of our people."
imperia_sinosphere.2.f: ""Chu Han is the foundation of our classical literature, our philosophy, and our understanding of the universe. To discard it is to sever ourselves from our ancestors and the wisdom they have passed down through generations!" \n\n "The world is changing rapidly. Can we afford to remain shackled to the past? In the grand pursuit of strengthening [SCOPE.GetRootScope.GetCountry.GetName], Chu Han is a relic of the past, an obstacle to our progress.""

imperia_sinosphere.2.a: "Chu Nom will serve our needs whilst maintaining the use of Chinese characters."
imperia_sinosphere.2.b: "Quoc Am Tan Tu is a uniquely Vietnamese invention that will serve our need for a writing system."
imperia_sinosphere.2.c: "The missionaries have already created a writing system for us!"

modifier_chinese_writing_system: "Chinese Writing System"
modifier_mixed_script_korea: "Mixed Script"
modifier_mixed_script_vietnam: "Quoc Am Tan Tu"
modifier_hangul: "Hangul"
modifier_chu_quoc_ngu: "Chu Quoc Ngu"
modifier_writing_system_transition: "Transitioning Writing System"

0 comments on commit 868d85b

Please sign in to comment.