Earn points by completing tasks: search the Dead Man's Chests, activate levers&open Treasures, chop certain objects, collect scattered treasures, spend tools. Completed tasks bring you points. The token at the top of the event window means points.

You can find the task list in the second tab next to the star tab.
More points mean more gifts!