tuxemon.event.actions.money_print module

final class tuxemon.event.actions.money_print.MoneyPrintAction(slug=None)[source]

Bases: EventAction

Print the current value of money dictionary to the console.

If no entity is specified, print out values of all money dictionary.

Script usage

money_print
money_print <slug>
Script parameters:

slug: Slug name (e.g. player or NPC, etc.).

Parameters:

slug (str | None) –

name: ClassVar[str] = 'money_print'
slug: str | None = None
start()[source]

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:

None