mpf.core.scriptlet

Contains the parent class for Scriptlets.

class mpf.core.scriptlet.Scriptlet(machine, name)

Baseclass for scriptlet which are simple scripts in a machine.

Initialise scriptlet.

on_load()

Automatically called when this Scriptlet loads.

It’s the intention that the Scriptlet writer will overwrite this method in the Scriptlet.