tuxemon.event.conditions.dialog_open module
- class tuxemon.event.conditions.dialog_open.DialogOpenCondition[source]
Bases:
EventCondition
Check to see if a dialog window is open.
Script usage
is dialog_open
- name: ClassVar[str] = 'dialog_open'
- test(session, condition)[source]
Check to see if a dialog window is open.
- Parameters:
session (Session) – The session object
condition (MapCondition) – The map condition object.
- Returns:
Whether a dialog window is open or not.
- Return type:
bool