Package parpg :: Package objects :: Module action
[hide private]
[frames] | no frames]

Module action

source code

Classes [hide private]
  NoSuchQuestException
NoQuestException is used when there is no active quest with the id
  Action
Base Action class, to define the structure
  ChangeMapAction
A change map scheduled
  OpenAction
Open a container
  OpenBoxAction
Open a box.
  UnlockBoxAction
Unlocks a box.
  LockBoxAction
Locks a box.
  ExamineAction
Examine an object.
  ExamineItemAction
Examine an item.
  ReadAction
Read a text.
  TalkAction
An action to represent starting a dialogue
  UseAction
Action for carryable items.
  PickUpAction
Action for picking up items from a map
  DropItemAction
Action for dropping an items on a map
  DropItemFromContainerAction
Action for dropping an items from the Inventory to a map
  BrewBeerAction
Action for brewing beer in a pot
Variables [hide private]
  logger = logging.getLogger('action')
  ACTIONS = {"ChangeMap": ChangeMapAction, "Open": OpenAction, "...
Variables Details [hide private]

ACTIONS

Value:
{"ChangeMap": ChangeMapAction, "Open": OpenAction, "OpenBox": OpenBoxA\
ction, "Unlock": UnlockBoxAction, "Lock": LockBoxAction, "ExamineItem"\
: ExamineItemAction, "Examine": ExamineAction, "Look": ExamineItemActi\
on, "Read": ReadAction, "Talk": TalkAction, "Use": UseAction, "PickUp"\
: PickUpAction, "DropFromInventory": DropItemFromContainerAction, "Bre\
wBeer": BrewBeerAction}