nwnx.effects: Add function for nwnx_effects logging all effects.
objects.effects: Fix scope mistakes.