Trap creation events are run on the module, not the caller. This makes the module the source of all effects coming from traps (and thus not bestowing on them anything unhelpful-- like a DM Avatar's alignment).