Package mekhq.campaign.randomEvents
Class VoiceOfKerensky
java.lang.Object
mekhq.campaign.randomEvents.VoiceOfKerensky
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanshouldTrigger(LocalDate today, PlanetarySystem currentSystem) Checks whether the Voice of Kerensky event should trigger on the given date for the given campaign location.static voidDisplays the Voice of Kerensky easter egg dialog.
-
Constructor Details
-
VoiceOfKerensky
public VoiceOfKerensky()
-
-
Method Details
-
shouldTrigger
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 datecurrentSystem- the player's current planetary system, ornullif unavailable- Returns:
trueif the event should trigger
-
trigger
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
-