Package parpg :: Module dialogueactions
[hide private]
[frames] | no frames]

Module dialogueactions

source code

Provides classes used to implement dialogue logic and allow dialogues to have external effects on the game state.

Classes [hide private]
  DialogueAction
Abstract base class for subclasses that represent dialogue actions embedded within a DialogueSection or DialogueResponse.
  MeetAction
DialogueAction that adds an NPC to the list of NPCs known by the player.
  InventoryAction
Abstract base class for DialogueActions used to manipulate the NPC's and the player's inventory.
  TakeStuffAction
InventoryAction used to move items from the NPC's inventory to the player's inventory.
  GiveStuffAction
InventoryAction used to move items from the player's inventory to the NPC's inventory.
  QuestAction
Abstract base class for quest-related DialogueActions.
  StartQuestAction
QuestAction used to activate a quest.
  CompleteQuestAction
QuestAction used to mark a quest as successfully finished/completed.
  FailQuestAction
QuestAction used to fail an active quest.
  RestartQuestAction
QuestAction used to restart an active quest.
  QuestVariableAction
Base class for QuestActions that modify quest variables.
  IncreaseQuestVariableAction
QuestVariableAction used to increase the value of a quest variable by a set amount.
  DecreaseQuestVariableAction
QuestVariableAction used to decrease the value of a quest variable by a set amount.
  SetQuestVariableAction
QuestVariableAction used to set the value of a quest variable.
Variables [hide private]
  logger = logging.getLogger('dialogueaction')
  __package__ = 'parpg'