Skip to content

Commit

Permalink
Merge pull request #77 from hmlendea/hoi4
Browse files Browse the repository at this point in the history
Make HOI4 events fire less frequently
  • Loading branch information
hmlendea authored Jul 6, 2024
2 parents aae401e + f77a628 commit a2466df
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ namespace MoreCulturalNamesBuilder.Service.ModBuilders
{
public sealed class HOI4ModBuilder : ModBuilder
{
const int MeanTimeToHappenInDays = 30;
const string EventsFileNameFormat = "873_mcn_{0}.txt";

readonly ILocalisationFetcher localisationFetcher;
Expand Down Expand Up @@ -190,7 +191,7 @@ string GenerateStateEventForCountry(GameId stateGameId, string countryTag)
$" picture = GFX_report_event_german_reichstag_gathering" + Environment.NewLine +
$" hidden = yes" + Environment.NewLine +
$" trigger = {{ {countryTag} = {{ owns_state = {stateGameId.Id} }} }}" + Environment.NewLine +
$" mean_time_to_happen = {{ days = 3 }}" + Environment.NewLine +
$" mean_time_to_happen = {{ days = {MeanTimeToHappenInDays} }}" + Environment.NewLine +
$" immediate = {{" + Environment.NewLine +
$" hidden_effect = {{" + Environment.NewLine;

Expand Down

0 comments on commit a2466df

Please sign in to comment.