Skip to content

Commit

Permalink
Updated triggers for ne pms
Browse files Browse the repository at this point in the history
  • Loading branch information
LordR19 committed Dec 28, 2023
1 parent 40f699c commit ee626cd
Show file tree
Hide file tree
Showing 6 changed files with 97 additions and 20 deletions.
25 changes: 24 additions & 1 deletion common/buildings/elgar_buildings.txt
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,27 @@ building_tooling_workshops = {
required_construction = construction_cost_high

ai_value = 2000 # Tools are very important
}
}


building_arts_academy = {
building_group = bg_arts

city_type = city

levels_per_mesh = 5

unlocking_technologies = {
romanticism
}

production_method_groups = {
pmg_base_building_arts_academy
pmg_ownership_building_arts_academy
pmg_arts_academy_focus
}

texture = "gfx/interface/icons/building_icons/building_arts_academy.dds"

required_construction = construction_cost_medium
}
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,12 @@ artists_artistic_progress_conservatory_tt_type = {
text = {
trigger = {
has_variable = artists_promote_composer_active_var
any_scope_state = {
is_production_method_active = {
building_type = building_arts_academy
production_method = pm_artists_arts_academy_conservatory
}
}
}
localization_key = artists_artistic_progress_conservatory_tt_loc
}
Expand All @@ -522,6 +528,12 @@ artists_artistic_progress_literary_salon_tt_type = {
text = {
trigger = {
has_variable = artists_promote_writer_active_var
any_scope_state = {
is_production_method_active = {
building_type = building_arts_academy
production_method = pm_artists_arts_academy_salon
}
}
}
localization_key = artists_artistic_progress_literary_salon_tt_loc
}
Expand All @@ -538,6 +550,12 @@ artists_artistic_progress_arts_studio_tt_type = {
text = {
trigger = {
has_variable = artists_promote_painter_active_var
any_scope_state = {
is_production_method_active = {
building_type = building_arts_academy
production_method = pm_artists_arts_academy_studio
}
}
}
localization_key = artists_artistic_progress_arts_studio_tt_loc
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ pmg_arts_academy_focus = {
ai_selection = most_productive

production_methods = {
pm_dubois_arts_academy_standard
pm_dubois_arts_academy_conservatory
pm_dubois_arts_academy_salon
pm_dubois_arts_academy_studio
pm_artists_arts_academy_standard
pm_artists_arts_academy_conservatory
pm_artists_arts_academy_salon
pm_artists_arts_academy_studio
}
}
24 changes: 12 additions & 12 deletions common/production_methods/elgar_production_methods.txt
Original file line number Diff line number Diff line change
Expand Up @@ -380,56 +380,56 @@ pm_elgar_radio_stations = {

#TODO change effects, etc.

pm_dubois_arts_academy_standard = {
texture = "gfx/interface/icons/production_method_icons/dubois_university_standard_pm.dds"
pm_artists_arts_academy_standard = {
texture = "gfx/interface/icons/production_method_icons/elgar_aa_no_specialization_pm.dds"
is_default = yes

unlocking_production_methods = {
pm_dubois_arts_academy_standard
pm_artists_arts_academy_standard
}
}

pm_dubois_arts_academy_conservatory = {
texture = "gfx/interface/icons/production_method_icons/elgar_conservatory_pm.dds"
pm_artists_arts_academy_conservatory = {
texture = "gfx/interface/icons/production_method_icons/elgar_aa_conservatory_pm.dds"

unlocking_technologies = {
lepsius_antiquarianism_tech
}

unlocking_production_methods = {
pm_dubois_arts_academy_standard
pm_artists_arts_academy_standard
}

timed_modifiers = {
pm_dubois_academic_confusion_modifier
}
}

pm_dubois_arts_academy_salon = {
texture = "gfx/interface/icons/production_method_icons/dubois_university_natural_history_pm.dds"
pm_artists_arts_academy_salon = {
texture = "gfx/interface/icons/production_method_icons/elgar_aa_literary_salon_pm.dds"

unlocking_technologies = {
dubois_theory_of_evolution_tech
}

unlocking_production_methods = {
pm_dubois_arts_academy_standard
pm_artists_arts_academy_standard
}

timed_modifiers = {
pm_dubois_academic_confusion_modifier
}
}

pm_dubois_arts_academy_studio = {
texture = "gfx/interface/icons/production_method_icons/dubois_university_natural_technology_pm.dds"
pm_artists_arts_academy_studio = {
texture = "gfx/interface/icons/production_method_icons/elgar_aa_art_studio_pm.dds"

unlocking_technologies = {
atmospheric_engine
}

unlocking_production_methods = {
pm_dubois_arts_academy_standard
pm_artists_arts_academy_standard
}

timed_modifiers = {
Expand Down
36 changes: 36 additions & 0 deletions common/scripted_effects/artists_scripted_effects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,12 @@ artists_monthly_artistic_progress_effect = {
if = { #Promoting Composer
limit = {
has_variable = artists_promote_composer_active_var
any_scope_state = {
is_production_method_active = {
building_type = building_arts_academy
production_method = pm_artists_arts_academy_conservatory
}
}
}
change_variable = {
name = artists_estimated_monthly_artistic_progress_var
Expand All @@ -258,6 +264,12 @@ artists_monthly_artistic_progress_effect = {
if = { #Promoting Writer
limit = {
has_variable = artists_promote_writer_active_var
any_scope_state = {
is_production_method_active = {
building_type = building_arts_academy
production_method = pm_artists_arts_academy_salon
}
}
}
change_variable = {
name = artists_estimated_monthly_artistic_progress_var
Expand All @@ -267,6 +279,12 @@ artists_monthly_artistic_progress_effect = {
if = { #Promoting Painter
limit = {
has_variable = artists_promote_painter_active_var
any_scope_state = {
is_production_method_active = {
building_type = building_arts_academy
production_method = pm_artists_arts_academy_studio
}
}
}
change_variable = {
name = artists_estimated_monthly_artistic_progress_var
Expand Down Expand Up @@ -535,6 +553,12 @@ artists_monthly_artistic_progress_GUI_effect = {
if = { #Promoting Composer
limit = {
has_variable = artists_promote_composer_active_var
any_scope_state = {
is_production_method_active = {
building_type = building_arts_academy
production_method = pm_artists_arts_academy_conservatory
}
}
}
change_variable = {
name = artists_estimated_monthly_artistic_progress_var
Expand All @@ -544,6 +568,12 @@ artists_monthly_artistic_progress_GUI_effect = {
if = { #Promoting Writer
limit = {
has_variable = artists_promote_writer_active_var
any_scope_state = {
is_production_method_active = {
building_type = building_arts_academy
production_method = pm_artists_arts_academy_salon
}
}
}
change_variable = {
name = artists_estimated_monthly_artistic_progress_var
Expand All @@ -553,6 +583,12 @@ artists_monthly_artistic_progress_GUI_effect = {
if = { #Promoting Painter
limit = {
has_variable = artists_promote_painter_active_var
any_scope_state = {
is_production_method_active = {
building_type = building_arts_academy
production_method = pm_artists_arts_academy_studio
}
}
}
change_variable = {
name = artists_estimated_monthly_artistic_progress_var
Expand Down
6 changes: 3 additions & 3 deletions common/scripted_guis/MR_promote_sguis.txt
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ mr_artists_promote_composer_sgui = {
any_scope_state = {
is_production_method_active = {
building_type = building_arts_academy
# production_method = pm_dubois_university_mathematics #TODO add right PM
production_method = pm_artists_arts_academy_conservatory
}
}
}
Expand Down Expand Up @@ -269,7 +269,7 @@ mr_artists_promote_writer_sgui = {
any_scope_state = {
is_production_method_active = {
building_type = building_arts_academy
# production_method = pm_dubois_university_mathematics #TODO add right PM
production_method = pm_artists_arts_academy_salon
}
}
}
Expand Down Expand Up @@ -303,7 +303,7 @@ mr_artists_promote_painter_sgui = {
any_scope_state = {
is_production_method_active = {
building_type = building_arts_academy
# production_method = pm_dubois_university_mathematics #TODO add right PM
production_method = pm_artists_arts_academy_studio
}
}
}
Expand Down

0 comments on commit ee626cd

Please sign in to comment.