Skip to content

Commit

Permalink
Objectives for "Thriving Culture"
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoDandolo authored Sep 4, 2023
1 parent 899beec commit 9093bb9
Show file tree
Hide file tree
Showing 4 changed files with 259 additions and 17 deletions.
12 changes: 12 additions & 0 deletions common/objective_subgoal_categories/mr_categories.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#########################
# MORGENRÖTE OBJECTIVES #
#########################

#by Marco Dandolo

#########################

sgcat_thriving_culture = {
is_exclusive = no
is_repeatable = no
}
17 changes: 17 additions & 0 deletions common/objective_subgoals/_subgoals.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
sg_key = {
category = key # The subgoal category of this subgoal

# The four entries below check against already completed subgoals - they must all be passed for subgoal to have a chance to trigger (empty = automatic pass)
unlocking_subgoals_all = {} # all of these other subgoals must be completed (or failed/timed-out and non-repeatable) for subgoal to be able to trigger
unlocking_subgoals_any = {} # one of these other subgoals must be completed (or failed/timed-out and non-repeatable) for subgoal to be able to trigger
blocking_subgoals_none_of = {} # none of these other subgoals must be completed (or failed/timed-out and non-repeatable) for subgoal to be able to trigger
blocking_subgoals_not_all = {} # at least one of these other subgoals must NOT be completed (or failed/timed-out and non-repeatable) for subgoal to be able to trigger

trigger = {} # scripted trigger evaluation for whether this subgoal is able to trigger

chance = { value = X } # scripted value for the daily chance to trigger this subgoal ( unset = 1 = 100% )

on_start = {} # effect executed when this subgoal is triggered

is_repeatable = yes/no # Whether this subgoal can be repeated after being completed (overrides the default set in subgoal category), if no then failure is treated as unlocking/blocking for other goals
}
205 changes: 205 additions & 0 deletions common/objective_subgoals/mr_subgoals_objectives_thriving_cultures.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,205 @@

######BASIC OBJECTIVES######

sg_promote_an_academic = {
category = sgcat_thriving_culture

trigger = {
any_scope_building = {
is_building_type = building_university
}
}

on_start = {
add_journal_entry = {
type = je_objective_promote_an_academic
objective_subgoal = sg_promote_an_academic
}
}
}

sg_a_great_step_forward = {
category = sgcat_thriving_culture

trigger = {
any_scope_building = {
is_building_type = building_university
}
}

on_start = {
add_journal_entry = {
type = je_objective_a_great_step_forward
objective_subgoal = sg_a_great_step_forward
}
}
}

sg_major_discovery = {
category = sgcat_thriving_culture

trigger = {
any_scope_building = {
is_building_type = building_university
}
}

on_start = {
add_journal_entry = {
type = je_objective_major_discovery
objective_subgoal = sg_major_discovery
}
}
}

######SECOND OBJECTIVES######

sg_go_on_scientifical_expedition = {
category = sgcat_thriving_culture
is_repeatable = no

unlocking_subgoals_all = {
sg_promote_an_academic
}

trigger = {
}

on_start = {
add_journal_entry = {
type = je_objective_go_on_scientifical_expedition
objective_subgoal = sg_go_on_scientifical_expedition
}
}
}

sg_dawn_of_a_new_era = {
category = sgcat_thriving_culture
is_repeatable = no

unlocking_subgoals_all = {
sg_go_on_scientifical_expedition
}

trigger = {
}

on_start = {
add_journal_entry = {
type = je_objective_dawn_of_a_new_era
objective_subgoal = sg_dawn_of_a_new_era
}
}
}

sg_more_than_politics = {
category = sgcat_thriving_culture
is_repeatable = no

unlocking_subgoals_all = {
sg_go_on_scientifical_expedition
}

trigger = {
}

on_start = {
add_journal_entry = {
type = je_objective_more_than_politics
objective_subgoal = sg_more_than_politics
}
}
}

sg_assemble_dinosaur_skeleton = {
category = sgcat_thriving_culture
is_repeatable = no

unlocking_subgoals_all = {
sg_go_on_scientifical_expedition
}

trigger = {
}

on_start = {
add_journal_entry = {
type = je_objective_assemble_dinosaur_skeleton
objective_subgoal = sg_assemble_dinosaur_skeleton
}
}
}

######LATE OBJECTIVES######

sg_relevant_culture = {
category = sgcat_thriving_culture
is_repeatable = no

unlocking_subgoals_all = {
sg_more_than_politics
sg_dawn_of_a_new_era
}

unlocking_subgoals_any = {
sg_a_great_step_forward
sg_major_discovery
}

trigger = {
}

on_start = {
add_journal_entry = {
type = je_objective_relevant_culture
objective_subgoal = sg_relevant_culture
}
}
}

sg_cradle_of_culture = {
category = sgcat_thriving_culture
is_repeatable = no

unlocking_subgoals_all = {
sg_more_than_politics
sg_dawn_of_a_new_era
}

unlocking_subgoals_any = {
sg_a_great_step_forward
sg_major_discovery
}

trigger = {
}

on_start = {
add_journal_entry = {
type = je_objective_cradle_of_culture
objective_subgoal = sg_cradle_of_culture
}
}
}

######FINAL OBJECTIVES######

sg_thriving_culture = {
category = sgcat_thriving_culture
is_repeatable = no

unlocking_subgoals_all = {
sg_relevant_culture
sg_cradle_of_culture
}

trigger = {
}

on_start = {
add_journal_entry = {
type = je_objective_thriving_culture
objective_subgoal = sg_thriving_culture
}
}
}
42 changes: 25 additions & 17 deletions common/objectives/mr_objectives.txt
Original file line number Diff line number Diff line change
@@ -1,28 +1,36 @@
objective_morgenroete = {
background = "gfx/interface/icons/objectives/morgenroete_illu.dds"
icon = "gfx/interface/icons/objectives/morgenroete_icon.dds"
#########################
# MORGENRÖTE OBJECTIVES #
#########################

#by Marco Dandolo

#########################

objective_thriving_culture = {
background = "gfx/interface/icons/objectives/thriving_culture_illu.dds"
icon = "gfx/interface/icons/objectives/thriving_culture_icon.dds"

recommended_tags = { AUS BEL SAR SWI }

objective_subgoals = {
#sg_expand_goods_production #rework
sg_promote_an_academic #have a character with an academic trait
sg_a_great_step_forward #Be the first nation to discover Theory of Evolution, Early Archaeology, Steel-framed buildings or Modern Astronomy
sg_major_discovery #Discover a major artifact, discover a new planet or discover Challenger Deep

#sg_refining_goods #rework, make X number in single, state loc for status
#sg_specialized_goods #rework, make X number in single state, state loc for status
#sg_expanding_the_market #rework, add subjects and customs union
sg_go_on_scientifical_expedition #do an archaeological, paleontological, botanical or pacific expedition
sg_dawn_of_a_new_era #Gather Specimen, Fossils, Astronomical Objects, Artifacts or Musical Tradition
sg_more_than_politics #build an observatory and an opera house; build museum or zoo
sg_assemble_dinosaur_skeleton #Paleontology, Paleontologist, Dinosaur Skeleton

#sg_specialized_inputs #missing: LOC
#sg_exporting_profits #missing: LOC
#sg_utilizing_our_strength #missing: LOC
#sg_raise_exports_value #missing: LOC
#sg_lower_production_costs #missing: LOC
sg_relevant_culture #Large Zoo, Large Collection, Astronomical Congress or regionally important music culture
sg_cradle_of_culture #Gain cradle of Impressionism, Expressionism or Art Nouveau

#sg_strong_market #Keep
sg_thriving_culture #End challenge
}

#final_subgoal = sg_strong_market
final_subgoal = sg_thriving_culture

#on_start = {
# start_tutorial_lesson = { tutorial_lesson = economic_dominance }
#}
on_start = {
start_tutorial_lesson = { tutorial_lesson = thriving_culture }
}
}

0 comments on commit 9093bb9

Please sign in to comment.