tuxemon.event.actions.tuxepedia_print module

final class tuxemon.event.actions.tuxepedia_print.TuxepediaPrintAction(monster_slug=None)[source]

Bases: EventAction

Print the current value of Tuxepedia to the console.

If no monster is specified, print out values of all Tuxepedia.

Script usage

tuxepedia_print <monster_slug>
Script parameters:

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


monster_slug (str | None) –

monster_slug: str | None = None
name: ClassVar[str] = 'tuxepedia_print'

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: