tuxemon.event.actions.clear_tuxepedia module

final class tuxemon.event.actions.clear_tuxepedia.ClearTuxepediaAction(monster_key)[source]

Bases: EventAction

Clear the key and value in the Tuxepedia dictionary.

Script usage

clear_tuxepedia <monster_slug>
Script parameters:

monster_slug – Monster slug name (e.g. “rockitten”).


monster_key (str) –

monster_key: str
name: ClassVar[str] = 'clear_tuxepedia'

Called only once, when the action is started.

For all actions, you will need to override this method.

For actions that only need to run one frame you can simply put all the code here. If the action will need to run over several frames, you can init your action here, then override the update method.

Return type: