Class PerformBatchall

java.lang.Object
mekhq.campaign.universe.factionStanding.PerformBatchall

public class PerformBatchall extends Object
Handles the process of issuing Batchalls to the player when facing a Clan opponent.

This class manages the display of dialogue options, tracks player responses, and presents appropriate narrative follow-ups based on player input and faction standing.

The main logic randomly selects variations of the Batchall narrative and handles both acceptance and refusal workflows, including confirmation and follow-up dialogs.

Since:
0.50.07
  • Constructor Details

    • PerformBatchall

      public PerformBatchall(Campaign campaign, Person clanOpponent, String enemyFactionCode)
      Constructs a new PerformBatchall handler for the specified campaign and Clan opponent.

      Initializes the dialog flow, beginning with the Batchall challenge and tracking the player's response.

      Parameters:
      campaign - The current campaign context.
      clanOpponent - The opponent issuing the Batchall challenge.
      enemyFactionCode - The internal code of the opponent's faction.
      Since:
      0.50.07
  • Method Details

    • isBatchallAccepted

      public boolean isBatchallAccepted()
      Returns whether the player accepted the Batchall challenge.
      Returns:
      true if the player accepted the Batchall; false otherwise.
      Since:
      0.50.07