Skip to content

Commit

Permalink
Started adding Carte Dufour JE
Browse files Browse the repository at this point in the history
  • Loading branch information
LordR19 committed Dec 17, 2023
1 parent d6a4049 commit 2eaf3fc
Show file tree
Hide file tree
Showing 6 changed files with 72 additions and 3 deletions.
9 changes: 9 additions & 0 deletions common/history/global/mr_global.txt
Original file line number Diff line number Diff line change
Expand Up @@ -678,6 +678,15 @@ GLOBAL = {
######DUFOUR######

c:SWI = {
#Adds the Journal Entry for the Carte Dufour
add_journal_entry = {
type = je_dufour_carte_dufour
}
change_variable = {
name = dufour_carte_dufour_progress_var
add = 53
}

#Swiss Culture set up
add_primary_culture = cu:ticinese
add_primary_culture = cu:rumantsch
Expand Down
57 changes: 57 additions & 0 deletions common/journal_entries/dufour_journal_entries.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
##########################
# DUFOUR JOURNAL ENTRIES #
##########################

#by Marco Dandolo and Lord R

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

######Carte Dufour######

je_dufour_carte_dufour = {

icon = "gfx/interface/icons/event_icons/event_map.dds"

group = je_group_dufour_confoederatio_helvetica

immediate = {
set_variable = {
name = dufour_carte_dufour_progress_var
value = 0
}
}

on_monthly_pulse = {
effect = {
change_variable = {
name = dufour_carte_dufour_progress_var
add = 1
}
}
}

complete = {
scope:journal_entry = {
is_goal_complete = yes
}
}

on_complete = {
trigger_event = { id = swiss_flavor_events.3 popup = yes }
}

current_value = {
value = root.var:dufour_carte_dufour_progress_var
}

goal_add_value = {
value = 300
}

weight = 100

progressbar = yes

should_be_pinned_by_default = yes

}
2 changes: 1 addition & 1 deletion common/journal_entries/gaudi_journal_entries.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4329,7 +4329,7 @@ je_gaudi_construction_sector_project = {
}

je_gaudi_topographic_map_project = {
icon = "gfx/interface/icons/event_icons/event_navigation.dds"
icon = "gfx/interface/icons/event_icons/event_map.dds"

scripted_button = gaudi_stop_engineering_project_button

Expand Down
4 changes: 3 additions & 1 deletion common/journal_entry_groups/mr_journal_groups.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,6 @@ je_group_pius_religion = {}

je_group_manzoni_literature = {}

je_group_klimt_painting = {}
je_group_klimt_painting = {}

je_group_dufour_confoederatio_helvetica = {}
2 changes: 1 addition & 1 deletion events/gaudi_events.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13683,7 +13683,7 @@ gaudi.1161 = {

on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"

icon = "gfx/interface/icons/event_icons/event_navigation.dds"
icon = "gfx/interface/icons/event_icons/event_map.dds"

trigger = {
}
Expand Down
1 change: 1 addition & 0 deletions localization/english/1_update_l_english.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@

dufour_ig_landowners_patricians_loc: "Patricians"

je_group_dufour_confoederatio_helvetica: "Morgenröte: Confoederatio Helvetica"
je_dufour_carte_dufour: "Topographic Map of Switzerland"

### Manzoni ###
Expand Down

0 comments on commit 2eaf3fc

Please sign in to comment.