Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Made the HOI4 events fire less frequently #77

Merged
merged 1 commit into from
Jul 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading