Class VoiceOfKerensky

java.lang.Object
mekhq.campaign.randomEvents.VoiceOfKerensky

public class VoiceOfKerensky extends Object
Easter egg event: The Voice of Kerensky.

On September 9, 2786, General Aleksandr Kerensky transmitted a broadband microwave radio message from the Pentagon Worlds. Unlike HPG transmissions, this broadcast travels at the speed of light (1 light-year per year). The signal expands as a spherical wavefront from the Pentagon Worlds.

This event triggers when the player's current system falls within 30.0 light-years of the expanding wavefront on September 9th, the anniversary of the original broadcast.

Since:
0.50.07
  • Constructor Details

    • VoiceOfKerensky

      public VoiceOfKerensky()
  • Method Details

    • shouldTrigger

      public static boolean shouldTrigger(LocalDate today, @Nullable PlanetarySystem currentSystem)
      Checks whether the Voice of Kerensky event should trigger on the given date for the given campaign location.

      The event triggers when all of the following conditions are met:

      • Today is September 9th (the anniversary of the broadcast)
      • The campaign year is after the broadcast year (2786)
      • The player's current system is within the detection band of the wavefront
      Parameters:
      today - the current campaign date
      currentSystem - the player's current planetary system, or null if unavailable
      Returns:
      true if the event should trigger
    • trigger

      public static void trigger(Campaign campaign)
      Displays the Voice of Kerensky easter egg dialog.

      Shows an immersive dialog where the senior command administrator reports picking up Kerensky's ancient broadcast. The dialog includes the decoded transmission text and an out-of-character explanation of the easter egg.

      Parameters:
      campaign - the current campaign